public void ThenIShoudBeAbleToAddNewCustomerWithValidData()
        {
            //object for customer page
            CustomerPage custObj = new CustomerPage();

            //create new Customer
            custObj.AddCustomer(driver);
        }
        public void GivenIHaveSelectedCustomerPage()
        {
            //object for customer page
            CustomerPage custObj = new CustomerPage();

            //create new Customer
            custObj.AddCustomer(driver);
        }
Exemple #3
0
        public void AddCustomerTest()
        {
            //page object for HomePage
            HomePage homeobj = new HomePage();

            //navigate to CustomerPage
            homeobj.NavigateToCustomer(driver);
            //Create page object for CustomerPage
            CustomerPage custobj = new CustomerPage();

            //Create new Add Customer Test Case
            custobj.AddCustomer(driver);
        }
Exemple #4
0
        public void AddNewCustomer()
        {
            //Create page object for HOME PAGE
            HomePage homeObj = new HomePage();

            homeObj.NavigatetoCustomer(driver);

            //object for customer page
            CustomerPage custObj = new CustomerPage();

            //create new Customer
            custObj.AddCustomer(driver);
        }