What is an other way of "Wait" statement in QTP
I dont want to use wait("Some number").
Can any one tell this please..........

Answer Posted / deepak

You can also use Do Until

E.g- There is a particular button in the next page which is
about to come then you can write like this:

Do Until Browser("...").Page("...").WebButton("...").Exist
Wait(1)
Loop

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Whats the realtime QTP testing process

1991


supose i hv to acsess some functionlaties of a test in 1 machin , some part other machin how can acsess?

1360


QTP script is not working on other's machine..

1537


Hi Guys, I want to place all of my values which i am getting it from a loop in to a global shee. For that i had written the script like this For i = 1 to ECOs-1 ECO = List(i).GetROProperty("innertext") DataTable.AddSheet("ECOList") DataTable.GetSheet("ECOList").AddParameter "ECOList",ECO AbortECO = DataTable.GetSheet("ECOList").GetParameter ("ECOList").Value msgbox AbortECO DataTable.GetSheet("ECOList").SetNextRow Using the above script, whenever the loop iterates it is creating new column "ECOLIST" in the sheet called "ECOLIST". It means, the values are displaying in the column wise even though i added the script " DataTable.GetSheet("ECOList").SetNextRow" . The cursor is not moving to the next line. Anybody help me out how to pass the values from script to the excel(Global/Local) sheet. Pls let me know @ nbabu11@gmail.com if you are not clear about the question.

1392


Explain measuring transaction.

586






I need Major Help with a Script I recorded in QTP 9.5. I am recording scripts for a Web-based application(s) I have all the URLs for each application in Excel spreadhsheet so that QTP can pull that particular application from the spreadsheet and run it. The problem is QTP isn't recognizing one particular URL so when I hit run in QTP to run this script it opens the internet Explorer but isn't open the URL I have in the Excel spreadsheet. I've retyped the URL and still QTP won't open this Particular one for some reason. The site its self is working fine but for whatever reason QTP won't open it. How do I resolve this? I have a deadline of next Friday the 7th to complete this task so please help me in any way you can. Thanks in advance

1715


How often were they executed?

2039


What are the things(properties, and other details) will be recorded while recording an object using normal recording?

1493


What is checkpoints for qtp?

536


Hi friends did any budy attend accenture system test for qtp? if any budy pls drop questions.not only accenture any other mnc company which you attended system test(QTP)?it may helpful to others also

1869


How to suppress warnings from the test results page?

603


how to i add the values using the check points property?( i.e valid data(for valid data it's giving the footer message:value is added) and for invalid data: special chars, spaces,Duplicates and null values (in my page when ever we enter special chars, spaces and null values, it's giving the proper warning message and for Duplicates it's giving the footer message:"value already exists)?

1422


How can I check if a environment variable exist or not?

541


Difference between copy to action and call to action?

594


PLEASE TELL ME WHEN DO YOU USE THE OBJECT SPY AT RUN TIME

5956