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

explain how to write vb script in qtp?when will you write own script?

0 Answers   FirstApex,


what type automation is fofollowed in the project?

1 Answers   Satyam,


i'm using QTP 8.2. A person using QTP 9.0 sends me a QTP TestScript, same when i try to open , an error comes "unexpected file format". Why?? and how to resolve the problem??

2 Answers  


How do you capture tooltip using QTP?

0 Answers  


how can we know the program is testing by multiple test data in data driven frame work?

1 Answers   CTS,


There is a table with 4 columns and 10 rows, how to write the script to display the first column records using qtp? can anybody help me with script?

6 Answers   Oracle,


how to choose the framework in qtp ? 2)when we go for the descriptive programming ?

2 Answers   Syntel,


Explain how you can replace string in qtp?

0 Answers  


How to capture screen shots when an error occurs?

5 Answers   EDS,


in a web page How to check and display a particular word from a paragraph?

0 Answers  


1.In VB Script 100 lines Script. How can check the Syntax errors? 2. Write a VB Script for X = India/Srilanka/Australia/England/South Africa.I need the Output Country wise? [ 1st Msgbox India , 2nd Msgbox Srilanka] ---- 3. How can Choose these test cases to be automated?

5 Answers   HP,


we have 10 more actions in our test and we are using exit action command to come out from the action if any error s occured.In action 1 if any error occurs control is moving to second action but if we get error in second action exitaction is throwing general run error. Please give a idea to overcome .

1 Answers   TCS,


Categories