How to continue the process of specific variable when image is not found.
Asked by
Lara
Hi Raiman,
Good day!
I need your help. I just want to ask on how I can continue the process of variable M if it's not found. The expected output should be like this, "If variable M cannot be find, it will record as FAILED and if variable M is found, it will record the getScore and PASSED".
Here is the code that I used:
Settings.
Settings.UserLogs = True
Settings.
Settings.
Debug.setUserLo
m = find("148833674
d = m.getScore()
Debug.user("Image Percentage")
Debug.user(str(d))
if d>0.99:
Debug.
else:
Debug.
I'm looking forward for your help, Thanks in advance Sir :)
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:
To post a message you must log in.