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 |
When you are running a batch test of 5 scripts and in 2nd script appln crashed, what hpns then?
Discuss quicktest professional (qtp) environment?
Per-Action Vs Shared repository?
Hello Everybody, How to maintain the page state in QTP. My scenario is: 1. I opened a notepad file. 2. Entered some text in the notepad file. 3.And changed the font type and color of the notepad file. And saved that. 4.Now next time when I will open the notepad it is showing the changed font type and color, rather than the default values. Please provide the code. Thanks, Gaytri
can any one tell me what is syntax error in line msgexist=Browser("title:=Gmail: Email.*").Page( "title:=Gmail: Email .*").WebElement(innertext=&msg).exist 'code ************** Call login("lal="," " ) wait(5) Call errormsg("Invalid email address. [?]" ) Function errormsg(msg) msgexist=Browser("title:=Gmail: Email.*").Page( "title:=Gmail: Email .*").WebElement(innertext=&msg).exist if msgexist then Reporter.ReportEvent micPass,"enter valid username or pwd ",msg else Reporter.ReportEvent micFail, "entered valid uname and pwd",msg end if End Function
request to add whatsapp grp for test engineer
What is use of Global Sync Timeouts in QTP9.2?
How QTP recognizes Objects in AUT?
What is the difference between Dim And Redim
4 Answers Hotel Jobs, IBM, Microsoft,
what are the limitations of automation testing?
how to test background color and dynamic images during runtime
what is the use of descriptive programming in QTP ? when we need to use DP? can we test the application completely with out useing DP?? please explan with example