public void InsertReportingSteps() { if (ExtentReportReq) { object TestResult = Report.ConfigSteps(scenariocontext); bool pass = bool.Parse(TData["ScreenShotsWithPassTestCases"]); bool fail = bool.Parse(TData["ScreenShotsWithFailTestCases"]); string Spath = commonUtility.TakeScreenshot(_driver, path); Report.InsertStepsInReport(scenariocontext, TestResult, Spath, scenario, pass, fail); } }