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
give me an example where u used good judgement and logic in solving a problem
Hi any body pls help me for QTP 11.0 software free demo version. i have to practice. Kindly send the link.or where i have to download.
Which environments does qtp support?
Can anyone help.i need total excelsheet operations,shortcuts in testing environment from starting onwards....
1. What is the difference between Keyword and function in the keyword driven framework? 2. How do you associate Keywords to the script ?
How will you check that your test cases covered all the requirements?
before launching qtp, we need to close all the open browsers u dont know what are all the browsers either it might be ie,mozilla etc and u dont know how many brosers are open.... u need to close all these before launching qtp.. can anyone plz temme d solution...
How you create new action in qtp?
What is qtpro? What is a quick test professional?
What is a programmatic description?
How can I import environment from a file on disk?
How does quicktest professional (qtp) identifies the object in the application?
How to find the length of the string in qtp?
i am looking job in perfomance testing using Loadrunner any one help me a project plz......?(Chandana) chs_29@rediffmail.com
How to use setroproperty?