Google News
logo
QTP/UFT - Interview Questions
How to add Synchronization points in QTP?
Synchronization point is the time interface between Tool and Application under test. Synchronization point is a feature to specify the delay time between two steps of the test script.
 
For example, clicking on a link may load the page is 1 second, sometimes 5 seconds or even it may take 10 seconds to load it completely. It depends on various factors such as the application-server response time, network bandwidth, and client system capabilities.
 
If the time is varying then the script will fail, unless the tester handles these time differences intelligently.
 
There are 4 ways through which we can add synchronisation points in QTP
 
* Wait statement :  This statement will pause the execution for x seconds until object comes up
 
* Wait property : This method will wait until property of object takes particular value
 
* Exist statement : This statement will wait until object becomes available
 
* Sync method : The code will wait until browser page is completely loaded. For web application testing this method is used.
Advertisement