public void ThenIShouldBeAbleToCreateCustomerRecordWithValidInformation() { // create object for CustomerPage CustomersPage custObj = new CustomersPage(); // create new customer test custObj.AddCustome(driver); // quit driver driver.Quit(); }
public void AddNewCustonerTest() { // page object for Home page HomePage homeObj = new HomePage(); homeObj.NavigateToCustomer(driver); // create object for CustomerPage CustomersPage custObj = new CustomersPage(); // create new customer test custObj.AddCustome(driver); }