Esempio n. 1
0
        public void VerifyHomeLinkLoadHomePage()
        {
            string expectedResult = "Home - Ultimate QA";

            HomeLink.Click();
            string actualResult = Driver.Title;

            Assert.AreEqual(expectedResult, actualResult);
        }
Esempio n. 2
0
 public void ClickOnHomeLink()
 {
     if (HomeLink.Displayed)
     {
         HomeLink.Click();
     }
     else
     {
         throw new Exception("Element is not found or not clickable");
     }
 }
Esempio n. 3
0
 protected void NavigateToHomePage()
 {
     HomeLink.Click();
 }