[Fact] //Admin_33 public void VerifyAccountBalances() { try { string accountId; string toastMessage; string product; string accountProvider; string fiatCurrency; product = TestData.GetData("TCAdmin31_Product"); accountProvider = TestData.GetData("TCAdmin31_AccountProvider"); fiatCurrency = TestData.GetData("TCAdmin31_FiatCurrency"); accountId = TestData.GetData("TCAdmin31_AccountID"); AdminFunctions adminfunctions = new AdminFunctions(TestProgressLogger); AdminCommonFunctions admincommonfunctions = new AdminCommonFunctions(TestProgressLogger); AdminAccountsPage adminAccountPage = new AdminAccountsPage(TestProgressLogger); // Login in admin adminfunctions.AdminLogIn(TestProgressLogger, Const.ADMIN1); // Preconditions: Submit Ledger Entry for an account and product combination // Navigate on Accounts page. admincommonfunctions.SelectAccountsMenu(); admincommonfunctions.ClickOnAccountBalancesTab(); adminAccountPage.VerifyAccountBalancesPagination(); // Verify that filter by product functionality is working adminAccountPage.VerifyFilterByProduct("USD"); // // Logout from admin. admincommonfunctions.UserMenuBtn(); adminfunctions.AdminLogOut(); } catch (NoSuchElementException ex) { TestProgressLogger.TakeScreenshot(); TestProgressLogger.LogCheckPoint(ex.Message + ex.StackTrace); TestProgressLogger.LogError(LogMessage.VerifyShowDepositKeysTestFailed, ex); throw; } catch (Exception e) { TestProgressLogger.TakeScreenshot(); TestProgressLogger.LogCheckPoint(e.Message + e.StackTrace); TestProgressLogger.LogError(LogMessage.VerifyShowDepositKeysTestFailed, e); throw e; } finally { TestProgressLogger.EndTest(); } }