Interview Questions

What do you verify with the sync point for object/window property and what command it generates, explain syntax?

Mercury WinRunner FAQ


(Continued from previous question...)

What do you verify with the sync point for object/window property and what command it generates, explain syntax?

  • Synchronization compensates for inconsistencies in the performance of your application during a test run. By inserting a synchronization point in your test script, you can instruct WinRunner to suspend the test run and wait for a cue before continuing the test.
  • You can a synchronization point that instructs WinRunner to wait for a specified object or window to appear. For example, you can tell WinRunner to wait for a window to open before performing an operation within that window, or you may want WinRunner to wait for an object to appear in order to perform an operation on that object.
  • You use the obj_exists function to create an object synchronization point, and you use the win_exists function to create a window synchronization point. These functions have the following syntax:
    obj_exists ( object [, time ] ); win_exists ( window [, time ] );

(Continued on next question...)

Other Interview Questions