public void GivenIHaveLoggedInToApplication()
        {
            CommonMethods.LaunchBrowser(Base.BrowserName);
            LoginPO loObj = new LoginPO();

            loObj.Login();
        }
示例#2
0
        public void StartTest()
        {   //Initialising extent report
            htmlReports = new ExtentHtmlReporter(ReportPath + "ExecutionReport" + DateTime.Now.ToString("_dd-mm-yyyy_mss") + ".html");
            extent      = new ExtentReports();
            htmlReports.Configuration().Theme = Theme.Standard;
            htmlReports.LoadConfig(KeysResource.ExtentReportConfig);
            extent.AttachReporter(htmlReports);
            test = extent.CreateTest("Keys-Property Tests");
            //Login
            CommonMethods.LaunchBrowser(BrowserName);
            LoginPO LO = new LoginPO();

            LO.Login();
        }