public void TestBackButtonInFindCustomer() { LoginPage loginPage = new LoginPage(driver); MenuPage menuPage = loginPage.EnterLoginDetails(new UserLogin()); CustomerSearchPage customerSearchPage = menuPage.ClickCustomerSearch(); customerSearchPage.SelectBackButton(); customerSearchPage.SelectCallButton(); }
public void FindCustomerByLastName() { LoginPage loginPage = new LoginPage(driver); MenuPage menuPage = loginPage.EnterLoginDetails(new UserLogin()); CustomerSearchPage customerSearchPage = menuPage.ClickCustomerSearch(); customerSearchPage.EnterCustomerSearchDetails(new SearchforCustomer() { LastName = "Ali" }); }
public void FindCustomerClearSearch() { LoginPage loginPage = new LoginPage(driver); MenuPage menuPage = loginPage.EnterLoginDetails(new UserLogin()); CustomerSearchPage customerSearchPage = menuPage.ClickCustomerSearch(); customerSearchPage.EnterCustomerSearchDetails(new SearchforCustomer() { Title = "Mrs" }); customerSearchPage.ClickClearButton(); }
public void FindCustomerByTitle() { LoginPage loginPage = new LoginPage(driver); MenuPage menuPage = loginPage.EnterLoginDetails(new UserLogin()); CustomerSearchPage customerSearchPage = menuPage.ClickCustomerSearch(); // var search = new SearchforCustomer() { Title = "Mrs", FirstName = "Kate"}; customerSearchPage.EnterCustomerSearchDetails(new SearchforCustomer() { Title = "Mrs" }); }