Synchronozation types in QTP

Answer Posted / santosh

1.increasing the default time
2.Object Property:
The specific property of an object can be considered as a condition to request the QTP wait for some time until the property is seen on the object.

3.Exist method:
this method is used for requesting the qtp to wait for some time until for specific window exist.
EX:
if(window("flight reservation").exist(10)) then
...............
...............code
...............
else
msgbox("flight reservation window doesn't appeared").
end if.
4.wait statement
ex:wait(10)...direct setting the time in seconds.
5.sync method:
browser(browser name).sync()
This is used for only web applications.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

This is a question thats generally asked in every QTP interview. What were the problems that you faced during automation and how did you resolve them?

1473


How to do call a output parameter from one action to another action??/

1876


How to run a test using quicktest professional?

532


What are the key points to create a framework in QTP for oracle forms?

1815


hi i am working with vbwindow on qtp.first i am openning qtp whenever open qtp my application not open that time generated error like "Runtime error 0" and fatal error:automation error how to solve this problem pls tell me

1882






If we put all properties in mandatory and assistive list of Normal Identification, Do we still need Smart?

579


What is recovery scenario manager? When you go for recovery scenario manager? Tell me one scenario were your used recovery scenario in your project?

582


How to Upgrade or support firefox 2.0 version on QTP 9.0? I have installed QTP 9.0 and installed firefox 2.0. But in REcord and Run Settings, it shows firefox 1.5 in Web tab for browser selection.

1791


Explain the types of object repositorys in qtp?

579


Hi Friends, I worked with 8.2 not with 9.2. Please help me in this prob. I created one script and recorded some think and save as Test 1 then I opened process--open the object repository manager. Switch to file->save->give some name->save as Objectrepo1.tsr file. (This is the global repository file.) Then I went to object repository->tools-> associate repository ->click + icon ->open the previously saved Objectrepo1.tsr file. This is the global repository Now I created one more script and save as Test 2. In this script I am calling script with the Help of "Call of existing action" and I executed but QTP is not able to execute B’cos it is QTP is not able to read the Object Repository of Test 1. Please let me know why? Once I made Script 1 as a shared Obj. Repository so it would not give any Problem. Right?

1489


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

1495


What is the qtp testing process?

603


How many types of parameters are available in quicktest professional?

528


UFT 12.02 which ALM version will support

985


How to create Reusable and Multiple Actions?

1714