Page 1 of 1

ReportLevel.Failure vs Report.Failure

Posted: Tue Jan 15, 2013 4:29 pm
by wyll
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. "
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

Re: ReportLevel.Failure vs Report.Failure

Posted: Wed Jan 16, 2013 5:13 pm
by Support Team
Hello,

'Report.Failure()' should be used to report a failure within a test case.
A failed action within a module causes a test case to fail.
The counter for failed tests is incremented.

'Report.LogData()' could be used to log a data message.
Currently, the failure counter is not incremented.
This is a remainder from an earlier version that will be fixed in one of our next releases.

Regards,
Markus (T)