public void RegisterNewUser()
        {
            LoadStartPage();
            ClickLoginButton();
            PireanLoginPage pireanloginpage = new PireanLoginPage(Driver);

            pireanloginpage.CreateAccountLink.Click();
        }
예제 #2
0
        public void LoginPirean()
        {
            LoadStartPage();
            PireanLoginPage LoginPage = new PireanLoginPage(Driver);

            LoginPage.UsernameBox.SendKeys(username);
            LoginPage.PasswordBox.SendKeys(password);
            LoginPage.LoginButton.Click();
        }
        public void LoginPirean()
        {
            LoadStartPage();
            ClickLoginButton();
            PireanLoginPage LoginPage = new PireanLoginPage(Driver);

            LoginPage.UsernameBox.Clear();
            LoginPage.UsernameBox.SendKeys(username);
            LoginPage.PasswordBox.Clear();
            LoginPage.PasswordBox.SendKeys(password);
            LoginPage.LoginButton.Click();
            ServiceLandingPage servicelandingpage = new ServiceLandingPage(Driver);

            servicelandingpage.Driver.FindElement(By.LinkText("Log out"));
        }