I have a problem with setupping Test Report.
Environment:
C#
mstest
using Microsoft.VisualStudio.TestTools.UnitTesting
I'm doing following:
Code: Select all
[TestMethod]
public void CodedUITestMethod1()
{
TestReport.Setup(ReportLevel.Debug, "report.rxlog", true);
TestReport.BeginTestSuite("Testsuite");
TestReport.BeginTestCase("Testcase");
TestReport.BeginTestModule("Testmodule");
Report.Info("Something to log");
var calc = new Calculations();
calc.ClickOk();
TestReport.EndTestModule();
TestReport.EndTestCase();
TestReport.SaveReport();
}
But my report.rxlog shows test as passed. What i'm doing wrong? Is it possible to configure it correctly?