Beispiel #1
0
 public void Init()
 {
     _driver  = new ChromeDriver();
     HomePage = new HomePageObjects(_driver);
     Products = new ProductPageObjects(_driver);
     HomePage.goToPage();
 }
Beispiel #2
0
 public void GetProfile()
 {
     HomePage.goToPage();
     HomePage.OpenProfile();
     Assert.AreEqual("Hej!", HomePage.GetLoyaltyHeader());
     Assert.AreEqual("Sign in", HomePage.SignInText());
     HomePage.CloseProfile();
 }
Beispiel #3
0
        public void Init()
        {
            _driver   = new ChromeDriver();
            HomePage  = new HomePageObjects(_driver);
            LoginPage = new LoginPageObjects(_driver);

            username = "******";
            password = "******";
            member   = "Interview Test";

            HomePage.goToPage();
            HomePage.OpenProfile();
            HomePage.SignIn();
        }