The time in milliseconds that blocking WinDriver actions wait between retry attempts to satisfy the match criteria.

int RetryInterval; //(set/get)


Methods such as FindControl, FindTopWindow and WaitForTopWindowCount that wait for a match criteria, retry the match at an interval set by this value until the match is satisfied or the operation timeout value is exceeded.

The default value is 100 milliseconds.

Lower values increase the accuracy of timers waiting for blocking calls but at the expense of increased CPU load.


int OrigRetryInterval = RetryInterval;

RetryInterval = 500; // reduce poll rate to minimize CPU load

WaitForTopWindowCount("My Application", 2); // wait until two "My Application" windows

RetryInterval = OrigRetryInterval;


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

Eggplant icon | Documentation Home | User Forums | Support | Copyright © 2022 Eggplant