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


Please Help Members By Posting Answers For Below Questions

How to analyzing the checpoint results?

514


what is the diff b/w assistive and mandatary rules of object repository in QTP???

1599


Hello Everyone, Please provide me the practical example of business component concept of QTP.Like how to create business component,how to connect the quality center etc.... Thanks in advance, Gaytri

1399


i am a begnner so am learning Error handling :tried using Recovery manager didnt work i want to be able to handle errors , e.g. if while running the test the folwoing does not show up then how can i use the If then else and goto next step in the test, as in many scenarios it does not show up Browser("The Shopping Channel -").Page("The Shopping Channel -_8").Image("easy pay").Click

1455


what is the frame work in J-meter?

1593






what is the difference between modular framework & datadriven framework

1589


hi frinds i need help .i have 4 + yrs exp in testing and nearly 2 yrs exp in QTP and QC .currently iam working north fast 2 yrs iam looking for job in south is there any openings plz letme know my mail id is pbre1980@gmail.com

1559


An action has both shared and local OR associated with it and both have the same object in them. In the test which one will be considered?

567


What are the Test design techniques you uses in ur project?

1479


what is error and fault in terms of software quality?

1501


Is it possible to split an action? How?

652


What is the difference between the design-time and run-time data tables?

552


How to delete an object from the object repository?

589


How you can find length of array in qtp?

539


write the vb script for call to new action in qtp?

1853