public void TestInit()
        {
            Driver = new ChromeDriver();
            Driver.Manage().Window.Maximize();
            Driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(20);

            GotoPage   = new GotoPage(Driver);
            BuyProduct = new BuyProduct(Driver);
        }
Exemple #2
0
        public void GotoPAge()

        {
            GotoPage.GoToPage();
            GotoPage.ClickingIcon();
            GotoPage.FilterClick();
            Thread.Sleep(700);
            GotoPage.FilterClick1();
            Thread.Sleep(800);
            GotoPage.FilterClick2();
            Thread.Sleep(800);
            GotoPage.FilterClick3();
            var isFindtrue = GotoPage.IsFindtrue();

            Assert.IsTrue(isFindtrue);
        }