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
How will you report the bug and explain the defect tracking sheet you handled?
Key word driven framework
I want to test my vb.net solution file using qtp. Does Qtp test only .exe file?
.have you ever written compiled module? if yes , tell me about some of the function that you wrote.
How to call a test from another test?
we add library file used in test via settings or through "ExecuteFile" command. when we implement framework do we make common library file and load the same for all the test cases execution?
when to start the automation?
www.icici.com ,after this.. home page wll came, in this page what r the items we r going to test for manual and what are items we r going to test for QTP... explian clearly with example
Hi All, I need code for how to execute qtp scripts from excell sheet
i can done the project with QTP in that time i can say how many members in my team size?
how can we compare descriptive programing with a regular expression
Hi All, How to Compare two strings character by character in QTP
How to Get the Run-time value of an object under that web app under Test to the local data table sheet of that Action?
What are the ways you can synchronize?
The hybrid framework can be implemented for any application. Is it true?