What is the difference between wait and synchronization point?

Answers were Sorted based on User's Feedback



What is the difference between wait and synchronization point?..

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

What is the difference between wait and synchronization point?..

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

What is the difference between wait and synchronization point?..

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

Post New Answer

More QTP Interview Questions

Hi friends did any budy attend accenture system test for qtp? if any budy pls drop questions.not only accenture any other mnc company which you attended system test(QTP)?it may helpful to others also

0 Answers  


How to Import the data from MS-Access in QTP?

1 Answers  


what is description object?

0 Answers  


Whether qtp 9.0 supports Test director8.0

0 Answers   TCS,


What is QuickTest Automation Object Model? Where we can use AOM?

1 Answers  


how to write testcases for web based insurance,from the script by using qtp.

1 Answers  


wt is the xtension of the QTP result view file?

4 Answers  


How to send QTP scripts to our colleagues?

1 Answers   Virtusa,


Dear Friends, I having total 3+year experience in manual testing including automation testing QTP, if i am attending any interview what kind of question will i get? please help me out

0 Answers  


what is mean by soi in object identification

1 Answers  


Explain about Table and DB Checkpoints?

1 Answers   Crea,


Explain about the Test Fusion Report of QTP ?

1 Answers   Ordain Solutions,


Categories