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 Cross browser testing? Does UFT support it?
What is the use of "New Property" in "Add properties" of testobject properties in object repository. How can i use "New properties" while writing scripts if i have assign some values to the testobject properties Can anyone help me? plz
How to test fly out menu in qtp?
How to use setroproperty?
How u will do versioning in QTP?
How to give a call to another action from one action?
you are recording on "WINDOW 1", say it has a link if you click on that, that leads you to "WINDOW 2". If you do any manipulations on "WINDOW 2" that are automatically updated in to "WINDOW 1". But "WINDOW 1" is currently invisible. But the updations in "WINDOW 1" must also be recorded as a script in QTP. The best Example is if you update your resume in JOB STREET portal it actually happens in other window, but the previous window is automatically updated. Now does QTP help you in this types of situations? Any body can answer this question. please..... Siva
how can i call function (which has link with excell sheet at a remote location) within another function
How to handle the exceptions using recovery secnario manager in quicktest professional?
How to run a test using quicktest professional (qtp)?
How will you report the bug and explain the defect tracking sheet you handled?
what you mean by artifact,milestone...
Explain the benefits of quick test pro(qtp)?
Your roles and responsibilities and daily tasks? (As automation tester)
Explain about business process component? types and usage?