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 / kishore

for i = 1 to 100
Dialog("xyz").winbutton("ok").click
a = dialog("xyz").winedit("name").getvisibletext(" ")
if a<>100 then
steps
else
exitrun
dialog("Login").WinButton("OK").CheckProperty(OK , disabled)

next

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I open a EXCEL file from QTP Resultviewer with reporter.ReportEvent function call. Example: Test files for details click "here". And clicking "Here" in the resultviewer will open a local EXCEL FILE.

1796


If the objects hierarchy is changing from build to build, then how you will handle that condition?

601


How to use setroproperty?

558


What is the difference between shared and local object repository?

605


How do you test the text displayed in the header portion of times of india epaper. Hot news(banner) are scrolling in the top of the page, how do you test using QTP?

1493






What are the views available in quicktest professional?

547


Hybrid framework supports Descriptive programming. Is it true?

634


Why do we use "Text checkpoint" If we can make use of it in "standard checkpoint" ?

1468


what is the diffrence bw qtp architectute and qtp framework?

1531


we use a file extension .properties why is it used and where do we use it plz help me out with detailed explanation and navigation of how to use on the QTP 8.2?

1621


Which recording modes need more memory?

569


Explain the Different types of QTP test assets and their extensions?

592


any body plz send health care domain project to me with explanation any two modules on that project. mail_id: ranjith_99reddy@yahoo.co.in

3428


in data driven testing for performing operations which method is easy from manual test data,keyword view,or from database.and why?

1343


Hi, is it possible for recording shortcut key during record session? The application on which I am working is web based application. This application has several shortcut key associated with menu option. I have succesfully recorded all menu option but unable to record shortcut key.

1379