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 |
There are some links on the page,count and click those links and check the text on the page displayed on clicking the link.write script for this scenario.
How the exception handling can be done using quicktest professional?
Can we check environment variable value without existing of environment variable
What is diff betwee datatable.importsheet "path" and datatable.import
What is the keyword view and expert view in qtp?
Is it possible for QTP to capture the objects in word document.If so please give me the code.Thank you.
Hi, i have a string like "INDIA". I need to display this string vertically in Msgbox?
how we connect oracle or sql data server database to qtp.
How can you find Local Host Name by Using QTP?
If i entered 2 columns and 4 rows inputs in DDT Like Mango fruit, Banana Fruit, Brinjal Veget, Carrot Veget.. . My Q is How to get the 2nd column value for corresponding 1 column input in 3rd row ie, ( i need to get "veget" in messge box @ run time
Can I import a excel sheet in Action1 datatable? How?
WHAT IS A TEST STRATEGY & WHAT IS THE DIFFERENCE BETWEEN TEST STRATEGY & TEST PLAN?
21 Answers ABM, AZTEC, CTS, Infosys, Nihilent, Orange,