Exemple #1
0
        public void VerifyHomeLinkLoadHomePage()
        {
            string expectedResult = "Home - Ultimate QA";

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

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