What is Synchronization Point?

Synchronization Point or Synchronization Time instructs the QTP to wait until some object state changes(Enable,disable,etc..) or some specified time(20 sec,30 sec,etc…) before executing next step in Test script.

OR

Synchronization is used to instruct QuickTest to wait for the Application process to complete before proceeding to the next step in the test.

OR

If you do not want QuickTest to perform a step or CHECKPOINT until an object in your application achieves a certain status, you should insert a synchronization point to instruct QuickTest to pause the test until the object property achieves the value you specify (or until a specified timeout is exceeded).

For example, you use a visual cue to determine when the application under test has completed its processing. Similarly, QuickTest uses synchronization to wait for a cue before moving on to the next step in the test.

Some Visual Cues: Some of the visual cues to use in a synchronization step include:

  • A progress bar reaches 100% completion.
  • A status message appears.
  • A button becomes enabled.
  • A window opens and is ready for data entry.
  • A pop-up message appears in response to an operation.

What is default Synchronization time in QTP?

The default synchronization time in QTP is 20 sec.You can this in File—>Settings—>Run tab you can see the text “Object Synchronization Timeout 20 Sec”.For Web Add-in synchronization time is 60 sec,You can see this by selecting web add-in in add-in manager and go to File—>Settings—>Web tab you can see “Browser navigation timeout 60 Sec”.

Changing this default timings is called setting Synchronization time for object or web.Setting Synchronization point depends on your need is very important to avoid the errors or test fails in real time projects.