-
Notifications
You must be signed in to change notification settings - Fork 226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Timeout value has no effect on path locator strategy #1125
Comments
That's correct and thank you for the report! Tech detailsWhile the Potential solution: Improve the |
I seem to have a similar, if not same, issue with Control Window, with this code: Unit test Control window with Timeout
Control window name:willneverbefound timeout=2.1
Here, after 2.1 seconds (plus maybe some small grace period), I would expect the ControlWindow to produce either a WindowControlError or some kind of time out error. Instead, the test waits the whole defined Timeout time (which is my case is 1 minute). |
There's a small caveat in this keyword as it tries with two different types of controls, where the same provided timeout is waited twice (for every type of control tried). So from the logs, it looks like a global of ~30s is set and two such waits produces the total of 1 minute. Still, this not explains why the temporarily provided 2.1s timeout isn't respected. Maybe @mikahanninen can throw a detailed look into it. |
I am using RPA.Windows library for WPF app automation.
We have a case where the page elements loading takes more than 30 secs. So I tried to get the element using by passing timeout value as 60. But looks like the element search happened for only 13 milliseconds, which i can see in report log.
Below is the keyword and report screenshot. This issue occurs only when path locator is used
Get Element ${element} timeout=${time_out}
The text was updated successfully, but these errors were encountered: