What is the difference between wait statement and synchonisation points.

Showing Answers 1 - 5 of 5 Answers

Balureddy

  • Nov 30th, 2005
 

wait:-Blindly wait what ever time we mention.

Synchron:It wont wait the execution complets goes to next function.

  Was this answer useful?  Yes

Venkat

  • Dec 1st, 2005
 

Wait:  This statement makes Win Runner wait specified number of milliseconds and immediately goes to the next statement.   But in regular practice it is not useful.   We have to consider various factors while preparing scripts like Server Response time, Network Speed...etc.,

Synchronization Point: The main use of this is we can make Win Runner explicitly wait till an object's property equals to some expected value.  There are different types of SPs available in WR but SP Object property is best out of them.

 

  Was this answer useful?  Yes

Racha

  • Dec 2nd, 2005
 

Wait : WinRunner waits upto specified time in the wait function, and it does not checks whether the process in the project was compleate or not and goes to next statement in the Test Script. where asSynchronization means : In this WinRunner will waits until the process in the project was compleated. But there is a problem when the project is went into a deadlock situation for that this Synchronization speacies the Maximmum time to wait for that process to complate at worest case.

  Was this answer useful?  Yes

shanthi

  • Dec 8th, 2005
 

wait:This function blindly waits for a particular time as mentioned in the function irrespective of the application status.

Synchronisation:Winrunner waits for a time interval of mlli seconds to

  Was this answer useful?  Yes

wait - simply waits the specified number of seconds. It is not milli seconds.

Ex. wait(10);

When WR executes this statement, it simply sleeps 10 seconds, and executes the next statement after 10 sec.

Here the point is, WR waits the specified number of seconds, not milli seconds.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions