public void TC010_VerifySortingFromFieldOptions(String Bname) { TestFixtureSetUp(Bname, "TC010-Verify Sorting from Field options."); try { loginPage.navigateToLoginPage().verifyLoginPageScreenInDetail(); loginPage.loginUsingValidEmailIdAndPassword(); homePage.verifyHomePage().clickUserMenuAndSelectAccountFromList("QA Testing - Promo"); homePage.clickSiteNavigationMenuIconAndSelectOptionFromListOnPage("Dashboard"); promoDashboard.verifyPromoDashboardScreen().clickButtonOnViewActionSection("Field Options"); promoDashboard.verifyFieldsOptionsSectionOnDashboardScreen(); string fieldName = promoDashboard.clickOnSortingIconForFieldOnFieldsSection("Descending"); promoDashboard.verifySortedFieldsRecordsOnSection(fieldName, "Descending"); } catch (Exception e) { Logging.LogStop(this.driver, test, e, MethodBase.GetCurrentMethod(), Bname + "_TestSuite004_PromoFieldOptions_TC010"); throw; } driver.Quit(); }