public void Test002_EditSecurityRole() { Trace.WriteLine(BasePage.RunningTestKeyWord + "'Edit the Security Role'"); ManageRolesPage manageRolesPage = new ManageRolesPage(_driver); manageRolesPage.OpenUsingControlPanel(_baseUrl); manageRolesPage.AddDescriptionToSecurityRole(_roleName, _roleDescription); Trace.WriteLine(BasePage.TraceLevelPage + "ASSERT the Security description is present in the list"); Assert.That(_roleDescription, Is.EqualTo(manageRolesPage.FindElement(By.XPath("//tr[td[text() = '" + _roleName + "']]/td[4]")).Text), "The role description is not added correctly"); }