Synchronization :
Synchronization refers to adding a step in the script that instructs Quick Test to wait for a particular object before proceeding to the next step during playback
1) Wait ( Sytntax : Wait(n))
-> QTP wait 'n' number of millisec for proceeding next step.\
2) Exist ( Syntax : Object.Exist )
-> Its verify the perticular object exist in application or not.
-> Return the boolean value (True or False)
3) Sync : ( Syntax : Browser. Sync)
-> This key word used for only in Browser.
-> QTP instructs to wait still Browser launch get completed.
4) Step for insert Synchronization Point in QTP :
-> Run the Record session.( QTP should Recording mode )
-> Click Insert -> Synchronizatio n point.
-> select object which you want to insert synchronization point.
-> Show object
-> click "OK"
-> Select "PROPERT NAME" and "PROPERTY VALUE"
-> Enter Milli Second
-> Click "OK"
-> Stop Recording mode.
5) Browser Navigation Time out :
-> QTP wait for specific time for web page load get completed
-> File -> Settings -> Web -> Browser Navigator
6) object Navigation Time out :
-> QTP wait for specific time still object load get completd.
-> File -> Settings -> Run -> object Synchronization time out.
No comments:
Post a Comment