Micro Focus QTP (UFT) Forums
Object Synchronization - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: Object Synchronization (/Thread-Object-Synchronization)



Object Synchronization - as_srini - 11-10-2011

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


RE: Object Synchronization - ravi.gajul - 11-10-2011

Insert synchronization point on the object that you are referring to...And sync point can be used in record mode only.


RE: Object Synchronization - nistalaramesh - 11-12-2011

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.