Insert Synchronization Point:

1.    Start a recording session.
2.  In QuickTest, select Insert à Synchronization Point. The pointer changes to a pointing hand
3. Click the object in your application for which you want to insert a synchronization point.
  1. Select the Object from the Tree List for which you want to insert Synchronization Point and click on OK button. Add Synchronization Point window comes up,
  1. The Property name list contains the identification properties associated with the object. Select the property name you want to use for the synchronization point.
  2. Enter the property value for which QuickTest should wait before continuing to the next step in the test.
  3. Enter the synchronization point timeout (in milliseconds) after which QuickTest should continue to the next step, even if the specified property value was not achieved.
  4. Click on OK button. The below step will get add,
Browser("Welcome: Mercury Tours").Page("Flight Confirmation: Mercury").
WebElement("Flight Confirmation #").WaitProperty "visible", true, 10000

No comments:

Post a Comment