Synchronization point in QTP--wait

In this post i would like to draw attentionof all the test engineers regarding the use of Sync and wait. well What is synchronization point?
synchronization points enable you to solve anticipated timing problems between the test and your application. For example , if you create a test that opens a database application you can put a synchronization point that cause the test to wait until the database records are loaded.
now what does wait syntax do?
The answare is ...It stops the test for certain time limits.
Syntax :

 wait(time in seconds)
So sync is more dynamic than wait.Is not it?
so in a line it can be said..synchronization point will wait for certain process to complete but the wait method will stop the test for specified time limit only.

Synchronization point in QTP--wait Synchronization point in QTP--wait Reviewed by Animesh Chatterjee on March 12, 2009 Rating: 5

No comments:

Powered by Blogger.