ReportLevel.Failure vs Report.Failure
Posted: Tue Jan 15, 2013 4:29 pm
Hello,
i just noticed, that if you use Report.Failure(), then you see that your Testcase has failed:
"The module has failed because one or more actions have failed. "
i just noticed, that if you use Report.Failure(), then you see that your Testcase has failed:
"The module has failed because one or more actions have failed. "
if(condition == true) { Report.Failure("Failed Test"); }but if you use Report.Logdata(ReportLevel) you dont see that message and you dont even see if the Test has failed in the green circle at the report Log. You have to expand the Test to see that there is an error
if(condition == true) { Report.Logdata(reportlevel.Failure"Failed Test"); }regards Wyll