Insert waitForExistence Command page

Use to set a wait state for an object during playback to check for its existence. The waitForExistence command is useful when waiting for an object right after your application starts, or after other actions that may take a long time.

The selected object is listed at the top of the page. To set a wait state for it, either use the default or set your own time. Maximum Wait Time is the maximum number of seconds Rational® Functional Tester waits for the object to appear in your application during playback. Check Interval is the number of seconds between times that Rational® Functional Tester checks for the object during the wait period.

When Use the Defaults is selected, Rational® Functional Tester checks for the existence of the object in your application every 2 seconds, for up to 120 seconds. To set your own time, clear the default field and provide your own values for Maximum Wait Time and Check Interval. When you click Finish, the wait-for object is written into your script, and will occur on future playbacks. For more information, see Setting a Wait State for an Object.