one ok button and one text box is there.when i click on ok
button in that text box one no. will display from 1 to 100
randomley.if that is not 100 when we click on ok button
again ,again another text box ll created with another no.
we will continue this till the text box created and
displays 100.and when its 100 ok button should disabled.
remember thet no will display not seriely ,it displays
randomley,and each time new text box will created.
Answer Posted / swarup
Hey try this...
Its going to work
Dim a, Max
max = InputBox ("Enter Maximum limint of Number")
For i= 1 to max
Dialog("Text:=DialogWindow").Activate
Dialog ("Text:= Dialog Window").WinButton("Text:= OK").Click
a= Dialog("Text:= DialogWindow").WinEdit("Attached Text:=
TextField:").GetVisibleText
If a <> 100 Then
Next
else
Dialog ("Text:= Dialog Window").WinButton("Text:= OK").
checkproperty (Object (OK) disabled)
Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
what is keyword driven testing in qtp?n how is it useful?
Explain different types of action in qtp?
Define object spy ?
What do you mean by iteration?
What is the use of text output value in quicktest professional?
How to record a qtp script ?
Have you done batch testing in qtp? If yes how you are doing?
What ate the Technologies supported by QTP?
How will internal and external links be validated and updated? how often?
How many types of actions are there in quicktest professional (qtp)?
Explain the views in the QTP GUI?
Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.
Hi friends I need to know about jubula automation tool. Is anybody know in bangalore where jubula tanning class is going on do let me know. Its urgent for me to learn that tool please help.
How you debug your script?
How can you send user defined messages to test report?