Пример #1
0
        public void ThenIShoudBeAbleToAddNewCustomerWithValidData()
        {
            //object for customer page
            CustomerPage custObj = new CustomerPage();

            //create new Customer
            custObj.AddCustomer(driver);
        }
Пример #2
0
        public void GivenIHaveSelectedCustomerPage()
        {
            //object for customer page
            CustomerPage custObj = new CustomerPage();

            //create new Customer
            custObj.AddCustomer(driver);
        }
Пример #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);
        }
Пример #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);
        }