public void NumberOfLinksOnToAdminPageCEPackage() { Trace.WriteLine(BasePage.RunningTestKeyWord + "'Number Of Links on Admin Page'"); var adminPage = new AdminPage(_driver); adminPage.OpenUsingUrl(_baseUrl); Trace.WriteLine(BasePage.TraceLevelPage + "ASSERT the number of links on Admin page: " + AdminPage.NumberOfLinks); Assert.That(adminPage.FindElements(By.XPath(AdminBasePage.FeaturesList)).Count, Is.EqualTo(AdminPage.NumberOfLinks), "The number of links on Admin page is not correct"); }