To incorporate the Failed screen shots inside robot result
Hi,
Thanks for ur time;
Can we incorporate the Failed screen shots inside robot result.
Intention is if no match is found then it will be handled as an exception i.e. 1st it will take a screen shot and will throw an error and exit - this error message should get incorporated inside robot result too.
My code is:
def sikFind(arg):
try:
except FindFailed:
theImage = robot.createScr
ImageIO.
#######
Now if I put exit(1) at the last line of my code it definetly comes out but this message is not incorporated inside robot result - infact no result file gets created.
If 'try/except' is not used - then no screen shot is taken in the result
Note: Taking screen shot has been refferd from "https:/
Regards
Subha
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- subhabrata pal
- Solved:
- Last query:
- Last reply: