Hi,
has anyone had this issue when looping Find Element step to find if an application is opened or not?
I’m trying to test if VNC is opened before continuing the process; entering the credentials and so on. Using a DoWhile loop I’m testing with FindElementStep.
Sometimes I’m getting the following error in the logs and the process ends in error:
“Error ocurred in step [“DoWhile”, “Loop Until VNC Opens”,”9350ccef-e332-2a3b-bf0d-cca35fd04b1e”]. Error: Robotiq.Steps.Common.ProcessLevelErrorHandlingException: One or more errors occurred. (s >= 0) (s >= 0) (s >= 0) (s >= 0) (s >= 0) —> System.AggregateException: One or more errors occurred. (s >= 0) (s >= 0) (s >= 0) (s >= 0) (s >= 0) —> OpenCvSharp.OpenCVException: s >= 0 at OpenCvSharp.NativeMethods.”
Any ideas?
Thanks
- Roko asked 11 months ago
- You must login to post comments
Hello,
I’ve found the same issue happening occasionaly.
It seems to be happening because the process you’re trying to start (in your case VNC) is taking it’s time starting and/or the looping of FindElementSteps is too frequent.
What helped me is placing a pause between the Open Window Process Step and starting the loop with the Find Element Step. Also place a short pause into the loops iteration to stagger the Find Element Step executions.
Hope this helps!
- Lac answered 11 months ago
- You must login to post comments
Please login first to submit.