Explain synchronization types in QTP

Answers were Sorted based on User's Feedback



Explain synchronization types in QTP..

Answer / ravi

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

Explain synchronization types in QTP..

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

Post New Answer

More QTP Interview Questions

How many types of Automation frameworks are there in UFT? Describe them.

0 Answers  


What are the technologies supported by qtp?

0 Answers  


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

0 Answers  


what is difference betweein qtp 9.0 and 9.2

1 Answers  


Explain different types of checkpoints?

0 Answers  


How do you learn the object in QTP?

2 Answers  


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

0 Answers   FIS,


your doing one project testing then how u know itis wheather web based application or windows based application?

2 Answers  


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...!!!

0 Answers  


How to do Laod testing for web based Application?

1 Answers  


explain all the check point in QTP?

1 Answers   BirlaSoft,


What is the difference between byref and byval in qtp?

0 Answers  


Categories