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 |
what is the Descriptive Progarmming? how it is help to testers in QTP?
How can i open a file in Textpad and replace a string with another using QTP
What is the difference between a Test and a Business Component? Is it necessary to use Business Component while testing an application in the real time?
I have 5 no.of Action in my Test. Out off which i should make 3rd action as my start-up action. How should i make it?
Can abody explain me Send keys concept
How will you test a keyboard?
what are the Tools for version control?
What is the limitation to XML Checkpoints?
How did you achieve reusability via QTP?
How to get line numbers in your editor in expert view?
How is recording done when a application is over lapping the QTP application it gives a message object not recorded
why was automation used in the project?