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
PLEASE TELL ME WHEN DO YOU USE THE OBJECT SPY AT RUN TIME
Explain the checkpoint in qtp?
how can we test the Triggers, Cursors, Indexes while doing Database testing in DTP??
What is file database?
What is quick test pro? What is a quick test professional?
Where is the resultset of a sqlquery (which is fired by rsobj.open sqlquery,xxxx,xxxx) stored ?
how to find that a file has been completely downloaded or not? I told that "download Complete" pop up. but he told the tool doesn't recognize the pop up
How do you send email with attachment from outlook using qtp ?
What is Distributed testing? How does UFT support it?
How to test the login page in different ways in automation testing and i need code?
Can we create user defined functions in qtp?
what is the diff b/w assistive and mandatary rules of object repository in QTP???
I have some real time based question.. 1.what are the challenges you have faced in your current project. 2.what are the bugs you found in your current project. 3.what are the strategies you follow to convert manual test cases into automation test cases. 4.how QTP identify two different browsers. 5. When you create a function library and share object repository what are the problems you have faced 6. How to solve the tool tip problem 7.what are the interesting bug you have found in your current project. 8.what is your daily work as a automation test engg. 9. how to create a weekly status report. 10. how many test cases you write,review and execute per day. 11.what are the uses of SQL in automation. 12.How to retrieve the data in html through vb script. 13.If application is very slow how to test the application in qtp.
What environment does qtp run in?
What is the difference between analog and low level recording?