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 |
qtp script for recording and running the application.need script for short cut keys like f3,f4 etc.how to write script for recording?
How to export QTP results to an ".xls" file?
when you press a link it displays "the page cannot be displayed" then as a tester how you will find the problem,what type of problem must be it?
how many maximum number of virtual users we can create?
What all challenges you have faced during automation and how you have resolved it?
Without integrating QC/Testdirector with QTP, is it possible to keep track of the defects?If yes how? How to export QTP results to an excel sheet?
Where can I find and view run-time data table?
anybody give me the real time example for descriptive programming of web application
Hi, Has anybody attended IBM interview on 17th APR 2010,and got offer letter? I had given interview and selected also but still did not recieve offer letter.
I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format, if possible, kinldy mail PDF file to my mail-ID: ramakrishna908@gmail.com Regards, krishna.
In my QTP script I have a word in notepad that ends in a question mark, for example... "father?" As part of my script I want to delete the question mark. How do you delete a character in notepad?
How will you test a keyboard?