Explain synchronization types in QTP

Answer Posted / ravi

If the test engineer does not want to perform a step until
the object reaches a particular status, then the test
engineer can use the synchronization concept.

There are three ways in which synchronization can be
specified.
1. Wait function.
Ex: Wait(2000) - QTP will wait for 2000 msec

2. WaitProperty.
Ex: Window("Windowname").WinObject
("Objectname").waitproperty("enabled", true, 2000)
Here QTP will wait a maximum of 2000 msec. If the enabled
property becomes true before 2000 msec, then QTP will move
to the next step.

3. Increasing Timeout.
Goto Test Settings -> Run ->ObjectSynchronizationTimeout.
Specify the time you want the QTP to wait for.

Is This Answer Correct ?    10 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I hav installed QTP8.2, im working on webapplication, while running the script giving error msg like "QTPro.exe generated errors and will be closed by windows. You will restart the program. An error log is being created". Pls anybody what is the problem, what i have to do for this? Thanks...

1717


I want to know what are QTP functons and what are VB script functions. What is the difference between them.When we have to use these functions.

1303


Hi Every body please explain me in steps to use checkpoints and object Repositories in QTP for Flight Reservation application please tell me the steps for this its urgent pls thanx for urs answers

1578


in a web page hoe to check the dynamic links that rechabging with out using regular expressions

1781


What are the features of quick test pro(qtp)?

536






Hi Friends... By using QTP , can we test .net products...and that product supports different languages.. thanx in advance..

4140


Hi could some one explan what is the use of the function Defination generator, And how to use the function defination generator.. Explan with the example..

1349


I want to grow as a Automation Engineer,Kindly help me in clearing my interview that what interviewer looks for as a Automation Engineer. I am having three years of experience in testing.

1624


explain keyword driven framework with banking domain?

1561


How many types of parameters are available in quicktest professional?

522


How to check which add-ins are associated with a test in qtp?

582


Hi this is chandra if any one have Navigation of LAB QTP, I want Navigation of those tools, if any one have the and know the Navigation each and every part of the QTP, plz send me my mail naruboinac@yahoo. com,naruboinas@ gmail.com

1444


Suppose you are using shared objects repository in your test and you want to split your present action? At that time shared object repository is single or it’s also splits?

648


Define object spy ?

559


What is a recovery scenario?

571