How to capture unexpected error messages/warnings
Asked by
Anshu
Is there any way to capture the message box or warning contents that would appear - when a test case fails.
For example if my testcase is to save a file by name test.abc , and that file already exists , i get an error message , which is handled by try ..except - so as to continue the test execution and return the pass/fail status.
But how do i capture the text(log) of error message - which can help to identify the failure cause ?
Thanks
Anshu
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 Anshu for more information if necessary.
To post a message you must log in.