Synchronization Points:

When we run QTP test, by default, QTP will take 1 sec for executing every statement in the script. But our application may not always respond with the same speed. In case, application is taking more time for loading, our script may fail. To handle this kind of situation, Synchronization Points come into picture.

          You can handle these anticipated timing problems by synchronizing your test to ensure that QuickTest waits until your application is ready before performing a certain step. We can synchronize in any of the below ways.

Ø  Wait Statement
Ø  For a progress bar to reach 100%
Ø  For a status message to appear
Ø  For a button exists
Ø  For a button to become enabled
Ø  For a window or pop-up message to open
Ø  Through Insert à Synchronization Point.
Ø  Through File à Settings Modification
Ø  Through Scripting.
Ø  While Inserting Check Points

No comments:

Post a Comment