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
How to save your test using quicktest professional?
How to export quicktest professional (qtp) results to an .xls file?
How are actions and functions different in QTP?
What is the quicktest professional testing process?
What is quicktest professional window?
Can any one say what exact diff between test->parameters, action properties-> parameters. after defining the parameters in test->settings, how can we access those parameters.(i know how to use action prop parameters)
What is the descriptive programming?
Please provide specific examples of advanced/creative usage of QTP, including how impact & benefits for your project
Hello, Is there any way to send the test results in html format (or any other) by email using outlook after the test run ends? thank you in advance
Hi Friends... By using QTP , can we test .net products...and that product supports different languages.. thanx in advance..
How to automate a script in mainframes environment? I have the terminal emulator Add in. Describe in detail.
Could you please any one give code for the following ? Scenario : Suppose a excel file contains 10 records and earch have 5 fields. how can i input this excel file for datadrive wizard ? Please explain
What is the Difference between test object and run time object?
I want to configure the OR and library files to a particular QTP test during run time. Note: OR and Library files are located in Quality Center. Is it possible in QTP? Anybody having code?
What is the Difference between copy to action and call to action?