public void Reports_DateFilterWorks_WS_1231() { if (!DataParser.ReturnExecution("WS_1231")) { Assert.Ignore(); } else { _file = "Resources\\" + client + "\\TestsData\\WS_1231.xml"; string startDate = ReportFilterData.GetStartDate(_file), finishDate = ReportFilterData.GetFinishDate(_file); ReportsPage reportpage = InitialPage.Go().Logon().ClickLogin().NavigateToReports(); reportpage.ClickFilter().EnterStartDate(startDate).EnterFinishDate(finishDate).ClickSubmit(); Assert.AreEqual(startDate, reportpage.GetDate(0), "Start Date is not the same"); Assert.AreEqual(finishDate, reportpage.GetDate(1), "Start Date is not the same"); } }