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

Explain what the difference between Shared Repository and Per_Action Repository

2 Answers  


why we are using environment variables instead of global variables?

1 Answers   TCS,


Hi, I Need code to click the webbutton inside of webtable. I need to click a particular 'Edit' webbutton inside of webtable. For Example... Having 5 Rows and 10 Columns. 'Edit' webbutton are placed in 10th Column. I need to click the 3rd row 'Edit' button with unique value. Browser("....").Page("...").Frame("...").WebButton("btn_Edit ") I Tried with below code: Set objButton = Browser("...").Page("...").Frame("...").WebTable("...").Chil dItem(3,10, Webbutton,0).Click - Not working this code :( Anyone can help me to sort out this simple issue ???

1 Answers  


can anyone please send me qtp framework material please its urgent

1 Answers  


How do you create regression test packs?

0 Answers  






Why we have to import data from excel sheet to data table?becoz v can directly use test data directly from xl know. can u all pls explain me clearly

1 Answers  


Can any one tell me.......How the test engg's start testing in the compy environment.....real time tester PLSSSS help me i need in depth information regarding this...

0 Answers  


A web page title might be xxxx@xyz.com or xxxy@xxx.co or xyz@abc.in.Using what mandatory properties can be the page identified.Give the regular expression for that.

3 Answers   Virtusa,


How to call .vbs functions in QTP? plz Explain indetail

4 Answers   Wipro,


How u perform exception handling in QTp,what is other name for ths?

2 Answers  


What is the file extension of the code file & object repository file in QTP?

2 Answers  


What do you to script when objects are removed from application?

0 Answers  


Categories