Пример #1
0
        public void ScrollToQuickNavigation()
        {
            var blogPage = new BlogPage(driver);

            blogPage.NavigateTo();
            blogPage.GoToBlog();
            blogPage.ScrollDown();
            Assert.IsTrue(blogPage.QuickNavigation.Text.Contains("QUICK NAVIGATION"));
        }
Пример #2
0
        public void ValidateTestCaseCodeLink()
        {
            var blogPage = new BlogPage(driver);

            blogPage.NavigateTo();
            blogPage.GoToBlog();
            blogPage.ScrollDown();
            blogPage.ClickFourthLink();

            Assert.IsTrue(blogPage.TestCaseCodeHeader.Text.Contains("Test Case"));
        }
Пример #3
0
        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"));
        }
Пример #4
0
        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"));
        }
Пример #5
0
        public void ValidateBenchmarkResultsLink()
        {
            var blogPage = new BlogPage(driver);

            blogPage.NavigateTo();
            blogPage.GoToBlog();
            blogPage.ScrollDown();
            blogPage.ClickSeventhLink();

            Assert.IsTrue(blogPage.BenchmarkResultsHeader.Text.Contains("Benchmark Results"));
        }
Пример #6
0
        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"));
        }
Пример #7
0
        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
             */
        }