1)What is the Difference Between WaitTo & Sync?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
How can we disable popup blocker? (I think it means when we get a pop up messge(its error) how we wil disable that one with out interrupting normal process)
What is RTM (require ment tracebulity marix) fromate?
how to reverse a string with out using string or predefined function,ex:string is " i love india". the output should be like this "i evol aidni"
10 Answers Aspire, MNC, Omega,
What is test object model in QTP ?
What are the various automation frameworks available in qtp?
Is QTP a compiler or interpreter..? can you we execute a QTP Script file in a another system which does not have QTP installed..??
What is object repository in qtp?
how to identify the user defind varibles? plz tell me
What is the difference between "call to action" and "call an existing action"
9 Answers Accenture, Yana Software,
How many types of recording facility are available in quicktest professional (qtp)?
what is the Command used to start the QTp from Run.
Write code for ,We have a web table with rows and columns like EmpID EName Action 1 ABC Edit Delete 2 XYZ Edit Delete 3 PQR Edit Delete In the above Table the last column has two links we have to click first link based up on EmpID =2