Beispiel #1
0
 public void TestAdd()
 {
     startPage    = Service.UI.Service.LoginPassword(logpass, driver);
     productsPage = Service.UI.Service.AddProduct(pr, driver);
     Assert.AreEqual(pr.prodname, productsPage.Check());
 }
Beispiel #2
0
 public void TestOut()
 {
     startPage  = Service.UI.Service.LoginPassword(logpass, driver);
     logoutPage = Service.UI.Service.LogOut(driver);
     Assert.AreEqual("Login", logoutPage.Check());
 }
Beispiel #3
0
 public void TestLog()
 {
     startPage = Service.UI.Service.LoginPassword(logpass, driver);
     Assert.AreEqual("Home page", startPage.Check());
 }