166. How Do You Set Or Insert A Local Synchronization Point In QTP?
Date Posted: 06/27/2012
Ans: To insert a local synchronization point follow the below mentioned steps:
1) Start a recording session.
2) Display the screen or page in your application that contains the object for which you want to insert a synchronization point.
3) In Quick Test, select Insert > Synchronization Point. The pointer changes to a pointing hand.
4) click the object in your application for which you want to insert a synchronization point.
Note: It does not matter what property values the object has at the time that you insert the synchronization point.
5) The Property name list contains the identification properties associated with the object. Select the property name you want to use for the synchronization point.
6) Enter the property value for which Quick Test should wait before continuing to the next step in the test.
7) 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.
8) Click OK. A Wait Property step is added to your test.
Because the Wait Property step is a method of the selected object, it is displayed in the Keyword View with the icon for the selected object
|