Synchronization methods?

Answer Posted / deven

Three methods are available in QTP for Synchronization

WaitProperty – method is used to instruct QTP to wait the
execution process until it
matches with the object property value based on the
specified time.
E.g. Browser("Welcome: Mercury
Tours ").WaitProperty "name","Welcome: Mercury Tours", 5000
name - property name
Welcome: Mercury Tours - property value
5000 - number of milli seconds to wait
Wait – method is used to instruct the QTP to wait the
execution process based on
the specified time only but not on any condition
E.g. Wait 5 (or) Wait(5) ‘5 Seconds
Exist – method is used to instruct QTP to wait the
execution process based on the
specified time and returns Boolean value as per the object
existence
E.g. var_Exist = Browser(“Welcome: Mercury Tours”).Exist
(5) ‘5 seconds

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between Recording time object identification and Run time (Execution) time.

1009


can u please explain what is the exact difference between qtp8.2 and 9.0

1681


With what extension you can save the list of tests in a file to run in test batch runner?

571


What is qtpro? What is quick test pro? What is a quick test professional?

597


Please Don't mind .i want in detail the real time process i.e in each document what it contains.

1441






what is command for executing files?

1518


Which advantages helping QTP to hold the position of "Market Leader" for such a long period?

1391


I am a newbie to QTP / Automation testing. I want to develop a script that creates a data file automatically with proper headings using VBScript in QTP.

1587


hi guys, pls tell me for testing institution training hub, hitech city is best or not?

1325


How to get the particular property value?

614


How many tabs are available to view your test in a test pane and what are they?

567


How are actions and functions different in QTP?

660


What is the difference between run time object and test object in QTP?

569


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?

655


How to break the object spy ?

666