예제 #1
0
        public void RegisterANewUser()
        {
            //string homePageURL = "https://*****:*****@gmail.com", "Passw0rd!")
                .IsHomePage(),
                "user not properly registered"
            );
        }
예제 #2
0
        public void NavigateToHomePage()
        {
            BrowserWindow _browserWindow = BrowserWindow.FromProcess(proc);

            HomePage siteHome = new HomePage(_browserWindow);

            siteHome.GoToHomePage();

            Assert.AreEqual(homePageURL, _browserWindow.Uri.ToString());

            //Assert.IsTrue(
            //siteHome.SelectCategory("Alternative")
            //    .SelectProduct("Carry On")
            //    .AddItemToCart()
            //    .Checkout()
            //    .IsCurrentPageValid(),
            //    "buying and album did not return to logon page"
            //);
        }