O'Reilly logo

Designing and Implementing Test Automation Frameworks with QTP by Ashish Bhargava

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Synchronization

QTP and AUT join or handshake at a certain point to match up their speeds for the event to occur in order to accomplish a certain sequence of action.

Speed mismatch, delays, the wait for property to change, change of object, and occurrence of an event causes mismatch in the speed of execution of scripts, and AUT causes synchronization issues, for example, script has to wait until the page is loaded. The default object synchronization is 20 seconds but we can change it by navigating to File | Test Settings | Run | Object synchronization timeout.

Change the Object synchronization timeout from 20 seconds to 2 seconds as shown in the following screenshot:

Now that we have changed the Object synchronization timeout value, we will run the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required