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
When do go for loop condition in test?
how to write the descriptive programming in QTP for remove the object value and substitute, with a variable then call the validation from excel
Can any one explain me what is the procedure to connect the remote desk by using QTP 9.2 ?
i need qtp tutorial. pls send it to sridhar.k151@g mail.com
Which advantages helping QTP to hold the position of "Market Leader" for such a long period?
Presently i am working on QTP 8.2 Version,i want to know features in 9.2 version, because i have not sufficient time to put the effort on the 9.2 version
when a test case is written how u test using qtp
Please help me by providing the License key for QTP 9.2, at guru_aarya@yahoo.co.in Best Regards Gururaj.B
How does qtp identify gui object?
what frame work you are following?
What is file database?
Can launch two instances of qtp on the same machine?
How you can replace string in qtp?
hi to all, i need a code.. in flight application 1.i need to login first then i need to insert 3 new orders... 2.i have to log out 3.i have to login again with different user 4.need to insert 2 new orders 5.then need to log out 6.then again login with different user 7.3 new orders create and log out 8.but we hv to do this using data table and actions please help me
How to attach a file to TD?