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 / abc
for i=1 to 100
Dialog("aaa").WinButton("OK").Click
a=Dialog("aaa").WinEdit("Name").Winbutton
("OK").getroproperty("visible")
If a.Exist then
Reporter.reportevent 1,"WinButton","WinButton Exist"
Else
Reporter.reportevent 0,"WinButton","WinButton does not
Exist"
End If
Next
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
Hi, I'm a beginner in QTP and planning of a certification in QTP, but have no idea about it :P. Could anyone please tell me what certifications that a QTP- beginner can take? What is the fees and the syllabus for the certification? Please reply soon. Thanks Vidhya
What does mean by Scope of Automation?n How we defined it?
terminal services client
Explain xml checkpoints.
What are the features and benefits of quick test pro (qtp 8.0)?
If the objects hierarchy is changing from build to build, then how you will handle that condition?
How to save your test using quicktest professional (qtp)?
What are the views available in qtp?
What is qtpro? What is a quick test professional?
what difference between runtime object and text object and what property they have. whether they have same properties or different properties.
In qtp, how you can use xpath to identify objects?
Explain sub procedure of vbscript.
how will you load the test cases in ddt?
what are the limitations of smart identification in qtp 9.0
how to test Web application using QTP software