ianlop
2 years agoOccasional Contributor
Alternatives to Check method logging error
Hello,
I would like to use the regions check property on an if statement, but noticed that if the check property returns false it halts the test automatically after logging the error. I do not want to modify my playback options to not stop a test on Log Error. Instead, I just want the same functionality that the check does but to return a true or false depending on the check. Not an error log.
I have stored an image and a mask on what I want to focus on, but the image to compare that to is gathered at run time.
Any suggestions?
Code (in python):