Esempio n. 1
0
        public void OpenNewWindowsByClickOnLinkInChrome()
        {
            AdminLoginPage         adminLoginPage         = new AdminLoginPage(driver, wait);
            AdminCountiresPage     adminCoutriesPage      = new AdminCountiresPage();
            AdminAddNewCountryPage adminAddNewCountryPage = new AdminAddNewCountryPage();

            adminLoginPage.Open();
            adminLoginPage.Login("admin", "admin");
            adminCoutriesPage.Open(driver, wait);
            adminCoutriesPage.AddNewCountry(driver, wait);
            adminAddNewCountryPage.ClickAllExternalLinks(driver, wait);
        }
Esempio n. 2
0
        public void VerifySortingCountriesInChrome()
        {
            //general = new GeneralPage();
            AdminLoginPage     adminLoginPage     = new AdminLoginPage(driver, wait);
            AdminCountiresPage adminCountriesPage = new AdminCountiresPage();

            //general.GoToPage(driver, "http://localhost/litecart/admin/", wait, "My Store");
            adminLoginPage.Open();
            adminLoginPage.Login("admin", "admin");
            adminCountriesPage.Open(driver, wait);
            //general.GoToPage(driver, "http://localhost/litecart/admin/?app=countries&doc=countries", wait, "Countries");
            adminCountriesPage.VerifySortingCountries(driver, wait);
        }