예제 #1
0
        public void Test()
        {
            MainPage    m_page   = new MainPage(driver);
            ProductPage pr_page  = new ProductPage(driver);
            Checkout    checkout = new Checkout(driver);

            for (int i = 0; i < 3; i++)
            {
                m_page.ChooseFirstProduct();
                pr_page.AddProduct();
            }

            checkout.GoToBin();
            for (int i = 0; i < 3; i++)
            {
                checkout.DeleteFirstProduct();
            }

            SupportFunctions.CheckCorrectness(driver);
        }
예제 #2
0
 public void end()
 {
     SupportFunctions.EndDriver(driver);
 }