[request] FindBest(); return if image is not found on Disk or on Screen
enhancement tracked on GitHub: https:/
-------
we use findBest() to pass mulitple images. now there may be instance where image may not be present on disk( like missed to checked in)
or there may be a case findbest did not find it on screen
is there a way to know these with findbest?
one of the way is we check in each of the image path before calling findBest.
is there any better approach?
sample code
def searchImage(
logInfo(
logInfo("Search Path: "+str(getImageP
logInfo("Image Names: " + str(name))
ctrl=
if(ctrl==None):
logInfo("No Object Found")
else:
return ctrl
logInfo("No Image Match. Check if image is present in repo and on screen")
return None
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- RaiMan
- Solved:
- Last query:
- Last reply: