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
For QTP Test Engineer, What is his contribution to the Project? Means, As as automation test engineer what is his role in the current project?
Difference between test object and run time object?
What is quicktest professional?
Write a script to verify font style and color of a windows object using descriptive programming
How can i check items sorted or not in a weblist ? Give me the script for this...
How to use actions in qtp ?
Hi, I am working on microsoft infopath forms..It is standalone form..(not dotnet or web.) . I am not able to indentify any objects in it.. I am currently using active accessibility in the macro for the same but its execution is too slow.. Kindly help in case you have better solution.
what is Property......End Property loop? how to write sript for it in QTP
what is the diffrence bw qtp architectute and qtp framework?
how to find that tools work well with ur existing system?
What is the parameterization?
What is qtpro? What is a quick test professional?
What is the difference between call to existing action and copy of an action?
How to use Environment parameterization? Explain with an example.
can anyone tell me what to say in interview when interviewer asks about "tell me about your framework in your project"?