示例#1
0
 public void CustomersPageTestScenario()
 {
     CustomersPage.NavigateTo();
     Common.AssertDocumentStateComplete();
     Common.VerifyURLTextContainsSrt("customers");
     Common.AssertPageHeaderTextIsDisplayed("Customers");
     Common.AssertPageFooterIsDisplayed("Copyright © 2019 Progress Software Corporation and/or its subsidiaries or affiliates.\r\nAll Rights Reserved.");
 }
        public void FiltrationTestsScenario()
        {
            CustomersPage.NavigateTo();
            Common.AssertDocumentStateComplete();
            Common.VerifyURLTextContainsSrt("customers");
            Common.AssertPageHeaderTextIsDisplayed("Customers");
            Common.AssertPageFooterIsDisplayed("Copyright © 2019 Progress Software Corporation and/or its subsidiaries or affiliates.\r\nAll Rights Reserved.");

            FiltrationAsserts.AssertFilterIsDisplayed();
            FiltrationAsserts.AssertFilterCriteriaArePresented("INDUSTRY", "PRODUCT", "SOLUTION");
            FiltrationBase.ClickOnSelectIndustry();
            FiltrationBase.SelectIndustry("Education");
            FiltrationAsserts.AssertThatSelectedOptionIsMarked("Education");
            FiltrationAsserts.AssertThatDisplayedResultsAreBasedOnSelectedIndustry("Education");
        }