public void InnerTearDown() { WishListEmptyPage wishListEmptyPage = wishListMessagePage .RemoveLastItemFromWishList(productToCart); wishListEmptyPage.OpenCartButton() .RemoveProduct(productToCart); AccountLogoutPage accountLogoutPage = wishListEmptyPage .Logout(); }
public void SetUp() { drive = new Driver(); drive.SetUpChromeDriver(); startPage = new StartPage(); loginPage = new LoginPage(); user = new User1(); homePage = new HomePage(); accountPage = new AccountPage(); accountLogoutPage = new AccountLogoutPage(); }
public void CheckValidRegistering(IUser user) { SuccessfullyRegisterPage SucRegPage = LoadApplication().GotoRegisterPage().successfullyRegisterUser(user); // Check Assert.IsTrue(SucRegPage.GetExpectedSuccessMessage().Equals(SucRegPage.Expected_Success_Message)); //Step AccountLogoutPage accountLogoutPage = SucRegPage.LogOut(); //Check // Assert.IsTrue(AccountLogoutPage.GetActualAccountLogoutMessage() // .Equals(accountLogoutPage.Expected_Account_Message)); // DataBaseUtils db = new DataBaseUtils(); Thread.Sleep(5000); }
public void InnerTearDown() { AccountLogoutPage accountLogoutPage = wishListMessageEmptyPage .Logout(); }
public void InnerTearDown() { wishListPage.RemoveLastItemFromWishList(productToAdd); AccountLogoutPage accountLogoutPage = wishListPage .Logout(); }