Interview Questions   Tutorials   Discussions   Programs   Videos   

WinRunner - What is synchronization? what is the purpose of wait() function? what is the difference between wait() and other synchronization functions in win runner?




314
views
asked mar August 9, 2014 03:21 AM  

What is synchronization? what is the purpose of wait() function? what is the difference between wait() and other synchronization functions in win runner?


           

1 Answers



 
answered By shyam   0  
    When tool speed is different from application speed then we go for synchronization to sync both the application and tools to match
    wait functions is used to make the win runner to wait till the time it inserts or captures full image there are three synchronization
 wait for window
 wait for object property
 wait for bitmap 
    When you use wait, the execution waits only for the specified time. You must know the maximum wait time needed (for any operation) and then to proceed with the execution of the remaining script.When you use synchronization, you do not need to have the advanced knowledge of the wait time (e.g for a database query to fetch record/update record). You can simply trap the message after this execution and use the synchronization point to wait till the message appear. 
flag   
   add comment

Your answer

Join with account you already have

FF

Preview


Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!

Alert