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 October 11, 2019, at 11:19:01 AM.

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