public void ClickButtonUsingID2() { SimElemPage.FindElementBy(ByType.Id, id_locator); Assert.IsTrue(SimElemPage.IsDisplayed, "UltimateQA button success page was not visible."); Assert.AreEqual("Button success - Ultimate QA", Driver.Title); }
public void ClickLink3() { SimElemPage.FindElementBy(ByType.LinkText, link_text_locator); Assert.IsTrue(SimElemPage.IsDisplayed, "UltimateQA button success page was not visible."); Assert.AreEqual("Link success - Ultimate QA", Driver.Title); }
public void ClickLink4() { SimElemPage.FindElementBy(ByType.PartialLinkText, partial_link_text_locator); Assert.IsTrue(SimElemPage.IsVisible, "UltimateQA button success page was not visible."); Assert.AreEqual("Link success - Ultimate QA", Driver.Title); }