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 |
what is run-time object in qtp? explain with example?
When QTP object wait time is 10 seconds, and in test script wait time is 5 seconds and in function library wait time is 2 seconds how much time does the wait occur? or which is given priority.
HOW TO CONVERT MANUAL TEST CASES IN TO AUTOMATION TEST SCRIPTS EXPLAIN THE PROCESS?
We developed 100 descriptive programms and put in running, in the midle if any descriptive program is stucked with some error? what will happend weather it will execute the remaining prg's or it will terriminate ?
what is purpose of automation?
I want to check in the data table(Globalsheet) column exist or not through script .If column not exist only proceeded to next step Pls tell me how to proceeded?
in qtp how i can retrive from a browser how many links are there.means total no of links used in a browser
If an application name is changing frequently i.e while recording it has name “Window1” and then while running its “Windows2” in this case how does QTP handle?
What is parameterization? What is syncronization pt.?
3 Answers Semantic Space, SRM,
I want to scroll down in MSPAINT (captured a screen already). So that I can read the data in it through the step Window(paint).GetVisibleText for my validation. Anyone know the scripting for this?
how to compare two excell sheets by using vbscript??
how i will connect oracle or microsoft acess database through manually written Script