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
What is difference between Recording time object identification and Run time (Execution) time.
can u please explain what is the exact difference between qtp8.2 and 9.0
With what extension you can save the list of tests in a file to run in test batch runner?
What is qtpro? What is quick test pro? What is a quick test professional?
Please Don't mind .i want in detail the real time process i.e in each document what it contains.
what is command for executing files?
Which advantages helping QTP to hold the position of "Market Leader" for such a long period?
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.
hi guys, pls tell me for testing institution training hub, hitech city is best or not?
How to get the particular property value?
How many tabs are available to view your test in a test pane and what are they?
How are actions and functions different in QTP?
What is the difference between run time object and test object in QTP?
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?
How to break the object spy ?