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 / swarup
Hey try this...
Its going to work
Dim a, Max
max = InputBox ("Enter Maximum limint of Number")
For i= 1 to max
Dialog("Text:=DialogWindow").Activate
Dialog ("Text:= Dialog Window").WinButton("Text:= OK").Click
a= Dialog("Text:= DialogWindow").WinEdit("Attached Text:=
TextField:").GetVisibleText
If a <> 100 Then
Next
else
Dialog ("Text:= Dialog Window").WinButton("Text:= OK").
checkproperty (Object (OK) disabled)
Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
What is the recovery scenario in qtp?
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
How many types of recording facility are available in quicktest professional?
Explain quicktest professional (qtp) testing process?
What is recovery scenario in qtp?
What are the different types of functions available in qtp and explain ?
Shall we add Local Repository to shared object repository,if yes,how we add
Hi,All How to create a link in excel sheet using qtp
What are the steps involved in the recovery scenario wizard?
How will you check a web application for broken links using qtp?
What is the default add-ins in qtp?
.have you ever written compiled module? if yes , tell me about some of the function that you wrote.
What are the trigger events in qtp?
Have you used xml check point in your project? How?
How does you test a weblink which is changing dynamically?