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

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?

1752


Difference between test object and run time object?

596


What is quicktest professional?

564


Write a script to verify font style and color of a windows object using descriptive programming

839


How can i check items sorted or not in a weblist ? Give me the script for this...

1582






How to use actions in qtp ?

591


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.

2411


what is Property......End Property loop? how to write sript for it in QTP

1900


what is the diffrence bw qtp architectute and qtp framework?

1546


how to find that tools work well with ur existing system?

1362


What is the parameterization?

585


What is qtpro? What is a quick test professional?

589


What is the difference between call to existing action and copy of an action?

607


How to use Environment parameterization? Explain with an example.

1485


can anyone tell me what to say in interview when interviewer asks about "tell me about your framework in your project"?

1409