RetryInterval

The default retry time in millisecond for methods that wait for a match. The default value is 100 milliseconds.

int RetryInterval;

Remarks

Methods that wait for a match criteria for completion, will retry at this interval, will raise an exception (Facilita.Exception.TimeoutException) when this time expires.

This applied to the methods FindTopWindow, FindControl and all Wait.. methods such as WaitForScreenMatch.

Example

int currentRetryInterval = RetryInterval; // save the current value

RetryInterval = 500; // set to 0.5 second

Control MyControl = FindTopWindow("My Application Title");

 

RetryInterval = currentRetryIntervalt; // restore value

 

This topic was last updated on January 13, 2022, at 02:42:23 PM.

Eggplant icon Eggplantsoftware.com | Documentation Home | User Forums | Support | Copyright © 2022 Eggplant