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 |
How many types of Automation frameworks are there in UFT? Describe them.
What are the technologies supported by qtp?
in qtp if we record a object and we record the object using virtual wizard then by which way the object is recognized that means recorded
what is difference betweein qtp 9.0 and 9.2
Explain different types of checkpoints?
How do you learn the object in QTP?
requirement is for combo box your expected value is str= "Denver.Frankfurt.London.Los Angeles.Paris.Portland.San Francisco.Seattle.Sydney.Zurich" you must get the text in combo box and need to compare them how
your doing one project testing then how u know itis wheather web based application or windows based application?
I want to capture data(using keyword) from msdos application using QTP?... Below is little work i could do on it... /* Set app=CreateObject("Wscript.shell") SystemUtil.run ("C:\Users\Agent\Desktop\pumpsim\PUMPSIM.EXE") Window(“PUMPSIM.EXE”).Activate wait(3) app.sendkeys "N" */ Thanks in advance...!!!
How to do Laod testing for web based Application?
explain all the check point in QTP?
What is the difference between byref and byval in qtp?