Explain synchronization types in QTP
Answers were Sorted based on User's Feedback
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 |
Answer / jagjeet
SYNCHRONIZATION IS THE JAVA PROGRAMMING LANGUAGE MECHANISM,
WHICH ENABLES YOU TO CONTROL THE THREADS THAT SHARE THE
SAME RESOURCES.
| Is This Answer Correct ? | 0 Yes | 8 No |
Use of Multiple Actions in QTP?
Any one please tell me how to create framework in QTP (in detail). Is there any website for reference?
How to use debug tools?
Can we put more than one action in a single script???? yes or no.....
What is contained in the object repository?
What is the advantage of associating a procedure with a test object?
I want two test two agents login for the flight website. Here is the scenario: I want to go through 1-3 rows for one user login and other user login I want to go though 3-5 rows. How would you set this up in qtp. Thank You
how you will do cookie testing using QTP?
What is Object Spy?
I am not finding pages and links in object spy on web testing. I am only getting window and winobject. where is the problem? thanks
By default Action1 runs first in QTP. Is it possible to start the run with Action2?
What do you mean by iteration?