public void amazon_LoginValidation() { homePage.ClickIdentficate(); // homePage.ClickIdentficarse(); signInPage.SignIn("*****@*****.**"); signInPage.ClickContinue(); }
public void amazon_LoginValidation() { String email = ""; string pass = ""; String product = "Samsung Galaxy S9 64GB"; String AlienProduct = "Alienware AW2521HFL"; homePage.ClickIdentficate(); signInPage.TypeEmail(email); signInPage.ClickContinue(); signInPage.TypePassword(pass); signInPage.ClickSigninButton(); homePage.SearchProduct(product); resultsPage.GetFisrPrice(); resultsPage.ClickSamsung(); resultsPage.GetDetailPrice(); resultsPage.ValidatePrices(); resultsPage.AddToCart(); resultsPage.ClickCarritoButton(); cartPage.GetPrice(); cartPage.ValidatePrices(); cartPage.ValidateItems(); cartPage.SearchNewItem(AlienProduct); cartPage.AddToCart(); cartPage.ValidateNewItems(); }
public void LoadSignInPage() { using (IWebDriver driver = new ChromeDriver()) { var signInPage = new SignInPage(driver); signInPage.NavigateTo(); Thread.Sleep(3000); signInPage.EnterEmail("*****@*****.**"); signInPage.ClickContinue(); Thread.Sleep(3000); signInPage.InputPassword(AppConfigReader.Password); Thread.Sleep(3000); signInPage.ClickSignIn(); Thread.Sleep(3000); } }