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
How can I open a EXCEL file from QTP Resultviewer with reporter.ReportEvent function call. Example: Test files for details click "here". And clicking "Here" in the resultviewer will open a local EXCEL FILE.
How to handle the exceptions using recovery secnario manager in quicktest professional?
what is the structure for the data driven framework
when will you do debug your script? and explain that process?
Hi All, How to Compare two strings character by character in QTP
If I change the object name in one action will it be updated in all the actions? Or not?
Mention the different actions types of qtp.
If a button named "CLICK" is recorded in low level recording mode , what will be the values stored for "name" property of that button in object repository ?
How we can import data from database?
We stored into the objects OR and then write the scripting
How to run a test using quicktest professional (qtp)?
Do you know how to connect database? Can you tell me the procedures?
Brief the process of testing with UFT?
How is the Bitmap checkpoint different from Image checkpoint?
What are the types of object repository?