What is the difference between wait and synchronization point?
Answer Posted / sonal.pagare
Wait (20)
waits for 20 seconds. It’s mandatory to wait for 20 seconds.
At same place if you’re giving synchronization point and
mention 20 seconds to wait and that wait is not mandatory.
When ever the given condition becomes true below 20 seconds
then QTP immediately goes to the next step without wait for
20 seconds.
'Writing own synchronization Point
Timeout=100
For Time=1 to Timeout
Propval=window("Flight
Reservation").WinButton("Delete Order").GetROProperty("enabled")
If Propval=true Then
Exit for
else
wait(1)
End If
Next
Sync method is only available for Web.
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
What is the difference between a Function and Action in QTP?
how to acess a test in RSA?
How to use setroproperty?
when will you do debug your script? and explain that process?
How many types of recording modes are there?
Shall we add Local Repository to shared object repository,if yes,how we add
write script for bitmap image?
What are the types of environment variables in qtp?
How do you compare the structure of 2 tables in database and check whether they are similar using qtp.
Client is able to provide budget..he want you to choose the automation tool for the web application? which one you will select ? QTP or Selenium ? what are the reasons?
how to prepared for first for the first interview?
What is action? How many types of actions are there in qtp?
why text area checkpoints cannot used for web applications
what is run action?
How many types of recording modes in qtp? Which will be used when?