Esempio n. 1
0
        public static void Inititalize()
        {
            Commondriver.Driver = new ChromeDriver();
            Commondriver.Driver.Manage().Window.Maximize();

            if (Resources.Login == "true")
            {
                Signin loginobj = new Signin();
                loginobj.LoginSteps();
            }
            else
            {
                Signup obj = new Signup();
                obj.Register();
            }
            extent = new ExtentReports(Reportpath, false, DisplayOrder.NewestFirst);
            extent.LoadConfig(Resources.ReportXMLPath);
        }