Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

When you are running a batch test of 5 scripts and in 2nd script appln crashed, what hpns then?

4 Answers   BirlaSoft,


Discuss quicktest professional (qtp) environment?

0 Answers  


Per-Action Vs Shared repository?

5 Answers  


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

5 Answers  


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

5 Answers  


request to add whatsapp grp for test engineer

1 Answers  


What is use of Global Sync Timeouts in QTP9.2?

2 Answers  


How QTP recognizes Objects in AUT?

1 Answers   Crea,


What is the difference between Dim And Redim

4 Answers   Hotel Jobs, IBM, Microsoft,


what are the limitations of automation testing?

2 Answers   TCS,


how to test background color and dynamic images during runtime

4 Answers   CTS,


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

2 Answers  


Categories