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

Can we access the java methods in qtp. Because my requirement is to access the swt(for eclipse an it is java code) methods in qtp is it possible?

1519


How is UFT 11.5 version different from UFT 12.0?

603


Describe function procedure in vbscript.

549


Is it possible to call from one action to another action in qtp?

555


what is meant by function library?Public and private functions in function library? if private functions are applicable for only for the particular test means then y we have to add those to function library?

1371






How to automate a script in mainframes environment? I have the terminal emulator Add in. Describe in detail.

1683


How to suppress warnings from the test results page?

597


What is keyword view?

560


What is the recovery scenario in qtp?

566


Some time when i wanna learn the object i face issue like i am not able learn the object in proper manner... eg:for text bo on web page it should learn as webedit but some times it reads as winobject:internetexpoler-server, because of this i have to uninstall the qtp and re-install it again when i do this it reads the object perfectly.....plz suggest the soln

1389


Hi Guys, I want to place all of my values which i am getting it from a loop in to a global shee. For that i had written the script like this For i = 1 to ECOs-1 ECO = List(i).GetROProperty("innertext") DataTable.AddSheet("ECOList") DataTable.GetSheet("ECOList").AddParameter "ECOList",ECO AbortECO = DataTable.GetSheet("ECOList").GetParameter ("ECOList").Value msgbox AbortECO DataTable.GetSheet("ECOList").SetNextRow Using the above script, whenever the loop iterates it is creating new column "ECOLIST" in the sheet called "ECOLIST". It means, the values are displaying in the column wise even though i added the script " DataTable.GetSheet("ECOList").SetNextRow" . The cursor is not moving to the next line. Anybody help me out how to pass the values from script to the excel(Global/Local) sheet. Pls let me know @ nbabu11@gmail.com if you are not clear about the question.

1384


What do you mean by checkpoints in qtp?

556


Explain about business process component? types and usage?

1557


How to add synchronisation points in qtp?

576


How to execute a winrunner script in quicktest professional?

552