Micro Focus QTP (UFT) Forums

Full Version: Object Synchronization
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How to control object synchronization using programatically.

I don't want to change the QTP settings of all my machines where my scripts are running. Instead in my script I do want to include sync timeout. By default it is 20 seconds.

Can you please guide me the code how to do this.

Thx
Srini
Insert synchronization point on the object that you are referring to...And sync point can be used in record mode only.
Add key ==> App.Test.Settings.Run.ObjectSyncTimeOut = 50000 in your Environment setup file and change the time what ever u want
Create an environment setup file from QTP It is just a VBS file. Run this vbs file before running any script.