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 Help Members By Posting Answers For Below Questions

what could go wrong with test automation?

1507


What are the types of data tables in qtp?

587


What are output values and why they are used ?

627


What is the difference in the global and action sheet in qtp?

571


Hi, I got error message as "object does not support this property or method: "Test.Actions" when i execute the following line of script on QTP 9.0 Dim qtApp, qtRep Set qtApp = CreateObject("QuickTest.Application") Set qtRep = qtApp.Test.Actions("Action1").ObjectRepositories Can anyone tell me where i am wrong.

1518






In QTP TEST DIRECTOR COMBINATION WHAT IS THE PURPOSE OF TEST DIRECTOR? In Somebody says to store test cases and design test cases.?ok fine , but In test director 5.0 , QTp not launching. what u do?

1494


What should we say if interviewer asks "What is ur project architecture?".......Can any one help me with clear information.?????????

1723


how to compare two bitmaps( 1. clients requirement & 2. Designed by dev) in qtp 8.2 wann clear steps

1677


How many types of recording modes in the qtp?

598


Can launch two instances of qtp on the same machine?

583


I want to know can we integrate visual source safe tool with QTP and QC for our version controlling process? WE know QTP and QC 10.0 version is having the version control inbuilt in it but I want to know the merits and demerits of the inbuilt version control tool and the visual source safe tool using QTP and QC.

2471


Hi, can explain the draw back of manual testing.plz send me the answer to my mail id deepthip1985@gmail.com

1419


How to build scripts that access data from external sources?

1614


what is test scheduleling?

2017


what is the diff between manual test plan document and automation test plan doc.can u explain indetail.

1645