public void TCAdmin16_VerifyFilterByUserId() { enterUserId = TestData.GetData("TCAdmin16_EnterUserId"); userIdText = TestData.GetData("TCAdmin16_UserIdTextValue"); EmailText = TestData.GetData("TCAdmin16_EmailTextValue"); AccountIdText = TestData.GetData("TCAdmin16_AccountIdTextValue"); AdminFunctions objAdminFunctions = new AdminFunctions(TestProgressLogger); AdminCommonFunctions objAdminCommonFunctions = new AdminCommonFunctions(TestProgressLogger); AdminUsersPage objAdminUsersPage = new AdminUsersPage(TestProgressLogger); try { TestProgressLogger.StartTest(); //Login as admin -> Click on "Users" menu button -> Users Tab objAdminUsersPage.SelectAdminUserTab(); //Click on "ViewAll" button objAdminUsersPage.ClickOnViewAllButton(); //Verify if entered value in userId textfield loads the values in userTable dynamically and load the page Assert.True(objAdminUsersPage.VerifyUserIdResultsLoad(enterUserId, userIdText)); } catch (NoSuchElementException ex) { TestProgressLogger.TakeScreenshot(); TestProgressLogger.LogCheckPoint(ex.Message + ex.StackTrace); TestProgressLogger.LogError(String.Format(LogMessage.VerifyFilteredByFailed, userIdText), ex); throw ex; } catch (Exception e) { TestProgressLogger.TakeScreenshot(); TestProgressLogger.LogCheckPoint(e.Message + e.StackTrace); TestProgressLogger.LogError(String.Format(LogMessage.VerifyFilteredByFailed, userIdText), e); throw e; } finally { objAdminCommonFunctions.UserMenuBtn(); objAdminFunctions.AdminLogOut(); TestProgressLogger.EndTest(); } }