Code: Select all
TestReport.StartTestSuite("TestSuite");
TestReport.StartTestCase("TestCase");
Report.Screenshot();
TestReport.EndTestCase();
TestReport.EndTestSuite();
Code: Select all
TestReport.StartTestSuite("TestSuite");
TestReport.StartTestCase("TestCase");
Report.Screenshot();
TestReport.EndTestCase();
TestReport.EndTestSuite();
Sorry but this is not possible out of the box.taralex wrote:The screenshot is saved with the report, but I don't see it on the report. Now if I do Report.Screenshot within a TestModule, then it shows up ok. Is it a requirement that screenshots need to be only inside a TestModule?