Sunday 24 March 2013

What is default object synchronization timeout in QTP

In QTP, object synchronization is required to ensure that objects are available before you perform any operation on them. In QTP default synchronization timeout is 20 seconds.

Example -

Suppose you have to click on a search button and after that application will display search results. In this scenario, you don't know how long it will take for application to populate the results.

So we must include synchronization in QTP script to ensure that we wait for enough amount of time so that we will have all result records available on the application.

To handle this situation, You can include below statement to wait for fixed amount of time.

wait 10   ' wait for 20 seconds.
 Even if you don't mention this statement, QTP will wait for default synchronization time of 20 seconds.

No comments:

Post a Comment

Please Leave your reply. We value your feedback and inputs

Best QTP Books

Everything About QTP

Hello Friends,
You can find QTP study material, Multiple choice questions (mcq), QTP question bank, QTP question papers, QTP notes, QTP questionnaire, scenario based QTP interview questions, QTP tutorial and QTP training on this site.

If you are a fresher or experienced QTP professional with (1/2/3/4) years of experience, this blog is just for you.