public void ThenISeeEnglishPressReleasesPdflink() { QuarterlyResultsPage quarterlyResultsPage = new QuarterlyResultsPage(); string pdfLink = FindElement(quarterlyResultsPage.PressReleasesEnglishPdfLocator).GetAttribute("href"); Assert.IsTrue(pdfLink.ToLower().Contains(".pdf")); }
public void ThenISeeTheAllQuarterlyResultsTable() { QuarterlyResultsPage quarterlyResultsPage = new QuarterlyResultsPage(); Assert.IsTrue(FindElementInMaxTenSec(quarterlyResultsPage.AllQuarterlyResultsTableLocator).Displayed); }
public void WhenIClickAllQuarterlyResults() { QuarterlyResultsPage quarterlyResultsPage = new QuarterlyResultsPage(); FindElement(quarterlyResultsPage.AllQuarterlyResultsTabLocator).Click(); }
public void ThenISeeEnglishPressReleasesHtmllink() { QuarterlyResultsPage quarterlyResultsPage = new QuarterlyResultsPage(); string htmlLink = FindElement(quarterlyResultsPage.PressReleasesEnglishHtmlLocator).GetAttribute("href"); Assert.IsTrue(htmlLink.Length > 6); }
public void ThenISeeRHSColumn() { QuarterlyResultsPage quarterlyResultsPage = new QuarterlyResultsPage(); Assert.IsTrue(FindElement(quarterlyResultsPage.RhsColumnLocator).Displayed); }
public void ThenISeeLhsNavigation() { QuarterlyResultsPage quarterlyResultsPage = new QuarterlyResultsPage(); Assert.IsTrue(FindElement(quarterlyResultsPage.LhsNavigationLocator).Displayed); }
public void ThenISeeYoutubeVideoOnThePage() { QuarterlyResultsPage quarterlyResultsPage = new QuarterlyResultsPage(); Assert.IsTrue(FindElement(quarterlyResultsPage.YouTubePlayerLocator).Displayed); }