What is the difference between wait and synchronization point?
Answers were Sorted based on User's Feedback
Answer / sonal.pagare
Wait (20)
waits for 20 seconds. It’s mandatory to wait for 20 seconds.
At same place if you’re giving synchronization point and
mention 20 seconds to wait and that wait is not mandatory.
When ever the given condition becomes true below 20 seconds
then QTP immediately goes to the next step without wait for
20 seconds.
'Writing own synchronization Point
Timeout=100
For Time=1 to Timeout
Propval=window("Flight
Reservation").WinButton("Delete Order").GetROProperty("enabled")
If Propval=true Then
Exit for
else
wait(1)
End If
Next
Sync method is only available for Web.
Is This Answer Correct ? | 7 Yes | 0 No |
Answer / uday
Wait is like a hardcore value. If you say wait(20), then QTP
waits 20 sec, even if the application is ready in 2 secs.
Where as synchronization point proceeds to execute next step
if the application\object is ready for the next statement.
Is This Answer Correct ? | 1 Yes | 1 No |
Answer / rohit pathak
Syn - In this as soon as object finds out it starts its
process automatically ,In this command it will take care of
timings.
Wait - In this If user defined to wait at least for 10
second, then either process will complete in 4 seconds, then
tool will wait for whole 10 seconds as it is mentioned in
scripts.
Is This Answer Correct ? | 0 Yes | 0 No |
QTP is used better in which type of application Web based application or desktop application
How can we automate Capthca on registration or any contest forms ? Is it possile to Automate Webpages with Falsh using QTP..?
WHAT IS THE FRAMEWORK & ARCHITECTURE OF YOUR PROJECT
What does SPLIT and JOIN commands do in Vbscript?
6 Answers Ordain Solutions, UBC,
Explain the types of object repositorys in qtp?
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s.
Tell some commonly used Excel VBA functions?
how will you check how many members visited the website www.infosys.com?
What types of testing comes under functional testing or in other word what will you test in functional testing?
hello, i was install Q.T.P.8.2 in windows xp version .when i am running my programs all the desktop icons are disappear why so. please guide me anybody how can i come out side this problem.
how to create flat file datasubmission in qtp
How many types of recording facility are available in quicktest professional?