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 smart identification techniqu?what r the different mechanisums used in it?
please any one can explain the keyword driven framework. with gmail example.
we have a link in a website or webtable How can we record link in that table or site? link is not static we don't know exact location of that link? how ? if u know pls give reply with script also?
6 Answers Cognizant, Covansys,
what is qtp automation frame work,what is the use of that frame work?
64 Answers Cap Gemini, IBM, iGate, TCS,
How do I lauch my test website using code from qtp in different environmet, uat and PPTE?
What is API
whenever a scenario is recorded ever, it creates a object repository automatically (‘per action’ /local ). we do not need to make them individually…then why we need a shared object repository. How it will be practically utilized ?? your input will be highly appreciated..
Can you import and export data from XLS and how?
Tell me the QTP Advantages and Disadvatages ?
what is a test strategy & what is the difference between test strategy & test plan?
how can i pass a "automation script" as a parameter in a function give me need full suggestion thank inadvance
How to face prjoect manager round what type of questions they will Ask ? (Chandana)
1 Answers Call Centre, Convergys, IBM,