i am not able to display the region after find failed
I have written logger class as mentioned on this link
https:/
when test case fails I am writing tat result to a file results.doc. My failed function looks like this
def failed(self, msg, *args, **kwargs):
if self.isEnabledF
if len(getLastFoun
# screenshot
self.
#addFoundIm
_lastFoundR
# collectAllLogs()
if len(args) != 0:
pass
print "TestCase Failed"
fout = open('Output\
fout.write("Find Failed : FAIL")
fout.write("\n")
getLastFoundR
raise common.
I am not getting the scrrenshot and the region for failure. my sikuli wrapper class is similar to this link:
http://
I need to write into the Result.doc when failure occurs and also need to take a screenshot of the whole screen when FIND Failure occurs.
thanks in advance
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask azhar for more information if necessary.