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

can u tell me the the cost of automation tool QTP ?

7 Answers   Ducont, Sonata,


What is Automation frame work.How we will prepare in real time.

9 Answers   AppLabs,


IF there are seven browsers with same name open. I want to close one particular browser thru QTP. how can i do this?

3 Answers   Polaris,


can i login a page by giving username and password and click on ok button through database parameterization.and if its yes then please write the code of that

2 Answers   Ness Technologies,


If u r using descriptive programming to identify the object where do u write the script for those objects? do u write it in the expertview? plz do answer its urgent thanks advance.

3 Answers  


what is Compile Module in QTP? what exactly it contains Functions or Actions?

1 Answers  


How u send bugs to dev'lpment team all at once or one by one or waht is the process?

2 Answers   kenexa,


Explain Different types of Checkpoints in Quick Test Professional?

2 Answers   Crea,


write script for bitmap image?

0 Answers   CA,


Can we add the function library directly from scripting in qtp instead of adding from resource tab?

5 Answers   IBM,


How to get the particular property value?

0 Answers  


Dim ExcelSheet Set ExcelSheet = CreateObject("Excel.Application") excelsheet.application.visible = true ExcelSheet.ActiveSheet.Cells(1,1).Value = "This is column A, row 1" ' Save the sheet. ExcelSheet.SaveAs "C:\DOCS\TEST.XLS" ' Close Excel with the Quit method on the Application object. ExcelSheet.Application.Quit after run this script i am getting error"The test cannot continue due to unrecoverable error"

3 Answers  


Categories