The computer vision activities in my process are taking a long time to complete. I’m using CV ElementExists and CV Click. In the worst case, these two activities take over 4 minutes to complete, even though the visual elements are on the screen within about 20 seconds.
Is this normal and, if not, how do I begin to investigate what’s causing it?
Thanks for any help
Edit: The CV activities are finding & clicking an icon within a VirtualBox VM - the typical UiElement activities don’t work for this, so CV is my last option.
CV activity being image based activity it is very obvious that it will take time
But we can reduce the time taken with few changes in properties like Timeout property
The default timing is 30 seconds which we can reduce to 10 or 20 to make the bot wait only till that timing and if not found it will give exception
But I would suggest to keep it in default and it’s not a problem in taking time unless it works fine as expected
If it really matters in tuning performance then we can try with HOT KEYS which is useful if it’s a Citrix or images based environment where we can access the elements by navigating with tab key or right left keys
Any chance that you are using LocalServer?
Do you have any other automations that is running at that moment with that ApiKey?
What is the resolution of the screen / app?
That sounds that it should work ok, much faster than 4 minutes.
Is it possible to install Fiddler and capture the calls (with https decryption enabled in Fiddler) and share the logs?
Also would it be possible to share the Workflow?