Reputation: 170
I need help.
I'm doing a UI automation, and it works properly.
However, it waits for all controls get done, but for example, the textbox I want to send keys is activated.
Because of that, my automation is very slow, and I couldn't find any helpful information in module documentation.
Thank you all
Upvotes: 0
Views: 1209
Reputation: 170
I find out the solution. If you have the same problem, you should always search for controls, with child_window function.
If you use the bracket notation, pywiauto will search all controls from root window, and depending the application, it takes a long time.
However, using child window, you can filter by control type, title and automation id
Upvotes: 1
Reputation: 10010
Global timings for every operation can be changed in module pywinauto.timings
:
But please be careful. Aggressive timings can make some actions unstable.
Upvotes: 0