Report error
Posted: Wed Sep 06, 2017 2:13 pm
I inserted some usercode and I would write an error into the reports during running Ranorex. So I wrote following into user code:
Report.Log(ReportLevel.Error, "User", "Widget wurde nicht vergroessert.X: "+objX_new +":"+objX, repo.WebDocumentWikoWebTESTER2.GsResizeHandleGsResizeHandleBoth2HeaderInfo, new RecordItemIndex(13));
That works OK, I get the bug into the report:
But the whole testcase shows a success, but I had the error during the test:
How can I get an eror for the whole test case? Does anybody knows some tipps?
Report.Log(ReportLevel.Error, "User", "Widget wurde nicht vergroessert.X: "+objX_new +":"+objX, repo.WebDocumentWikoWebTESTER2.GsResizeHandleGsResizeHandleBoth2HeaderInfo, new RecordItemIndex(13));
That works OK, I get the bug into the report:
But the whole testcase shows a success, but I had the error during the test:
How can I get an eror for the whole test case? Does anybody knows some tipps?