public void ScrollToQuickNavigation() { var blogPage = new BlogPage(driver); blogPage.NavigateTo(); blogPage.GoToBlog(); blogPage.ScrollDown(); Assert.IsTrue(blogPage.QuickNavigation.Text.Contains("QUICK NAVIGATION")); }
public void ValidateTestCaseCodeLink() { var blogPage = new BlogPage(driver); blogPage.NavigateTo(); blogPage.GoToBlog(); blogPage.ScrollDown(); blogPage.ClickFourthLink(); Assert.IsTrue(blogPage.TestCaseCodeHeader.Text.Contains("Test Case")); }
public void ValidateBenchmarkAgainstOtherBrowsersLink() { var blogPage = new BlogPage(driver); blogPage.NavigateTo(); blogPage.GoToBlog(); blogPage.ScrollDown(); blogPage.ClickThirdLink(); Assert.IsTrue(blogPage.BenchmarkAgainstOtherBrowsersHeader.Text.Contains("Benchmark against Other Browsers")); }
public void ValidateHeadlessExecutionFirefoxDriverLink() { var blogPage = new BlogPage(driver); blogPage.NavigateTo(); blogPage.GoToBlog(); blogPage.ScrollDown(); blogPage.ClickSecondLink(); Assert.IsTrue(blogPage.HeadlessExecutionFirefoxDriverHeader.Text.Contains("Headless Execution Firefox Driver")); }
public void ValidateBenchmarkResultsLink() { var blogPage = new BlogPage(driver); blogPage.NavigateTo(); blogPage.GoToBlog(); blogPage.ScrollDown(); blogPage.ClickSeventhLink(); Assert.IsTrue(blogPage.BenchmarkResultsHeader.Text.Contains("Benchmark Results")); }
public void ValidateBenchmarkExecutionTimeLink() { var blogPage = new BlogPage(driver); blogPage.NavigateTo(); blogPage.GoToBlog(); blogPage.ScrollDown(); blogPage.ClickFifthLink(); Assert.IsTrue(blogPage.BenchmarkExecutionTimeHeader.Text.Contains("Benchmark Execution Time")); }
public void Unosquare_BlogValidation() { // homepage.GoToServicesAndPracticeAreas(); blog.GoToBlog(); Assert.AreEqual("DIGITAL TRANSFORMATION BLOG", blog.CompareTitleBlog()); blog.SearchText("Quality Assurance"); blog.SearchClick(); Assert.AreEqual("QUALITY ASSURANCE QUESTIONS TO ASK IN AGILE SOFTWARE DEVELOPMENT", blog.CompareSearchResult()); /*Add a new Page object name Blog * Implement all neded to use Blog in the test class (Constructor, WebElements, etc) * Perform the following flow, Go to www.unosquare.com * Go to Blog - Vlidate using Asserts, this element is present DIGITAL TRANSFORMATION BLOG * Search for Quality Assurance, validate with Asserts that at least one result is displayed */ }