Professional Documents
Culture Documents
QTP Training Session3-Synchronisation
QTP Training Session3-Synchronisation
QTP Training Session3-Synchronisation
Session-3: Agenda
What is Synchronization point When to use Synchronization point How to insert a Synchronization point Types of Synchronization point statements File Types Q & A
Synchronization point instructs the quick test to pause the test until an object property achieves the specified value. It provides time for an object to process before moving on to the next step It enables you to solve anticipated timing problems between the test and your application
- For a progress bar to reach 100% - For a status message to appear - For a button to become enabled - For a window or pop-up message to open
Contd..
5. Select the property name and enter the property value in the Add Synchronization point dialog
Example
Ex: Synchronization point for an OK button
WaitProperty:
Wait (2)
Script - .mts (Modular Test Script) Object Repository - .tsr (Test Resource) Library File - .vbs (Visual Basic Script) Recovery Scenario File - .qrs (Quick Resource File)