1)What is the Difference Between WaitTo & Sync?

Answers were Sorted based on User's Feedback



1)What is the Difference Between WaitTo & Sync?..

Answer / rathnapriya

Wait is like forcing the qtp to wait for specified amount
of time,whereas sychronization is not forced wait.

If the webpage gets loaded before the specifed time,it
moves to next step in case of synchronization.

If the webpage wait time is 10 sec and the page loaded in 2
sec,it waits for the remaining 7 sec in case of wait
statement given.

Is This Answer Correct ?    7 Yes 2 No

1)What is the Difference Between WaitTo & Sync?..

Answer / trupti pothi

If you put wait statement in the script it will wait upto
that much means it will wait unnecessarily but in case of
synchronization as soon as he get the object it will moves
to next step,so instead of doing hard coding just put
synchronization pt their to save the time

Is This Answer Correct ?    3 Yes 0 No

1)What is the Difference Between WaitTo & Sync?..

Answer / srinivasuluth

wait to property is using tool is waiting specified amount
of time and condition is satisfied with in the time, other
wise test is fail

but sync is applicablw is onle for browser, have any
increase the time in sync go to the file menu-setting-web
here u can increase the time

If am wrong pls put a mail my mail id is:-vasuth2008@gmail.com

Is This Answer Correct ?    1 Yes 0 No

1)What is the Difference Between WaitTo & Sync?..

Answer / deven

Wait:-Wait statements instruct QuickTest to wait a
specified amount of time before proceeding to the next step.
syntax: Wait(10)
Here the QTP will wait for 10 sec and after that it will
proceed for the execution of the next step
Sync:
This method is only available for Web.
This method can be used to synchronize the test execution
with a new web page that has to appear in the browser. This
method is used when QTP is not sure how long it is going to
take to load page

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

We have opened three browser such as Facebook,Gmail,Amazon,I want to generate the script of Login of Amazon application, but while adding the object such as edit box(user id,password) in OR is not added.Could you please resolve my issue

1 Answers   IBM,


What is test fusion report?

2 Answers   CIL,


How do you perform testing on web based application using qtp 9.2?

1 Answers  


How to enter table check points?

2 Answers  


Explain types of descriptive programming?

0 Answers  






I have a library function , with that function 100 scripts are being called. The library function is changed(something is added) . how do i update all the scripts.

1 Answers   IBM,


How do you do batch testing in wr & is it possible to do in qtp, if so explain?

0 Answers  


how to identify the user defind varibles? plz tell me

1 Answers  


How to recognise the webelement and verifying that webelement is enabled?

0 Answers  


Print the Prime numbers in below format only up to 20(Need commas also) 1,2,3,5,7,9,11,13,17,19

0 Answers   Value Labs,


What does it mean when a check point is in red color? what do u do?

1 Answers  


What are the trigger events in qtp?

0 Answers  


Categories