Пример #1
0
        public void Test3_OpenAndCheck()
        {
            productediting = ProductService.GetProduct(Fortune_cookie, driver);

            Assert.True(productediting.GetProductName(Fortune_cookie));
            Assert.True(productediting.GetCategory(Fortune_cookie));
            Assert.True(productediting.GetSupplier(Fortune_cookie));
            Assert.True(productediting.GetUnitPrice(Fortune_cookie));
            Assert.True(productediting.GetQuantityPerUnit(Fortune_cookie));
            Assert.True(productediting.GetUnitsInStock(Fortune_cookie));
            Assert.True(productediting.GetUnitsOnOrder(Fortune_cookie));
            Assert.True(productediting.GetReorderLevel(Fortune_cookie));
        }
        public void Test3_OpenAndCheck()
        {
            mainpage       = new MainPage(driver);
            productediting = mainpage.GetFortuneCookie();

            Assert.True(productediting.GetProductName());
            Assert.True(productediting.GetCategory());
            Assert.True(productediting.GetSupplier());
            Assert.True(productediting.GetUnitPrice());
            Assert.True(productediting.GetQuantityPerUnit());
            Assert.True(productediting.GetUnitsInStock());
            Assert.True(productediting.GetUnitsOnOrder());
            Assert.True(productediting.GetReorderLevel());
        }