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
write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object..
How to Test the mainframe application?
Hi All, How to get repeated word in string . Thanks Balaji
Hello everyone! I am just writing a small test for a windows application. I have a problem with a text output value. The value i am trying to catch is presented in a scrollable textbox. When the text is too long, only a portion of it gets captured. Do you have any experience with this?
Which scripting language used by quicktest professional?
Explain the concept of object repository and how QTP recognizes objects?
Write the code for,In the page screen we have total 10 Links,out of these I have to click 9th link
What is accessibility check point?
What is the difference in testing a client-server application and a web application?
how do you parameterize search button from the website? the page is a single winobject and i have made a virtual object button of search button but search box can't be converted into a winedit and if we try to convert it into winedit the value we enter in a searchbox appears as numbers in the script so we arent able to parameterize.help!!!
Plz Explain AUTOMATION REFERENCE MODEL?
what is the difference between built-i function and In-built function?
Where you get the run time data table?
How to creating an output value using quicktest professional?
Explain xml checkpoints.