public void OmadaContactTest() { GoToMainURL(); TopMenu.ClickOnHeaderLogo(); TopMenu.ClickOnContact(); ContactPage.ClickOnUSWest(); string beforMove = Core.TakeScreenshotBase64(); ContactPage.moveMouseToGermanyMenu(); string afterMove = Core.TakeScreenshotBase64(); //check screen shot before and after move mouse on menu Assert.IsFalse(beforMove.Equals(afterMove)); }
public void OmadaArticlesTest() { GoToMainURL(); MainPage.CheckMainPageElements(); MainPage.CloseCookieBar(); MainPage.HeaderSearchText("gartner"); SearchResultsPage.CheckResultsCountGreaterThan(1); //NOTICE: I changed text to check, because previous text was not present in results SearchResultsPage.CheckTextInResults("Omada Recognized by Gartner for Critical Capabilities in IGA"); SearchResultsPage.ClickOnLinkResult("Gartner IAM Summit 2016 - London"); ArticlePage.CheckArticle("Gartner IAM Summit 2016 - London", "Omada is a sponser at the Gartner IAM Summit 2016 in London, UK."); //check article on news list TopMenu.ClickOnNewsAndEvents(); NewsAndEventsPage.ClickOnNews(); NewsListPage.checkIfNewsIsPresent("Gartner IAM Summit 2016 - London"); }