--- 24 Jul 07:31:32 657 - TestCaseID:: verifySortingInAgentPage
--- 24 Jul 07:31:38 648 - 6 - Driver::initialize::Get - com.imm.ereceipt.support.WebDriverFactory.get(WebDriverFactory.java:565)
verify Sorting In Agent Page
Steps:
--- 24 Jul 07:31:44 165 - Page URL:: https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=0bd02bf2-da97-49c7-baaf-31af92be3553&scope=https%3a%2f%2fimmapps.onmicrosoft.com%2fapiserver%2fall%20openid%20profile%20offline_access&redirect_uri=http%3a%2f%2flocalhost%3a4201&client-request-id=01983cd8-da20-7a7c-9db3-054fb09d1bdf&response_mode=fragment&client_info=1&nonce=01983cd8-da22-7ed8-8c04-c7c33aa85b5e&state=eyjpzci6ijaxotgzy2q4lwrhmjetnzzmni04njzkltq5yzu3ytm5mdvkziisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=hwbvh52la7ehpmhglenfflhphckndb4wxlj1rf3vcoo&code_challenge_method=s256&sso_reload=true
--- 24 Jul 07:31:44 167 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 24 Jul 07:31:44 608 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (1551be6855d9e8ea7949415fc0f3bd97)] -> xpath: //input[@id='i0116']]
Successfully navigated to 'eReceipts FI Admin' Page
--- 24 Jul 07:31:45 290 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (1551be6855d9e8ea7949415fc0f3bd97)] -> xpath: //input[@id='i0116']]
--- 24 Jul 07:31:45 959 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (1551be6855d9e8ea7949415fc0f3bd97)] -> id: idSIButton9]
Text field 'User ID', Password' and button 'Login, 'Cancel' are displayed in the 'Login' page
--- 24 Jul 07:31:46 496 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (1551be6855d9e8ea7949415fc0f3bd97)] -> xpath: //input[@id='i0116']]
--- 24 Jul 07:31:46 817 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (1551be6855d9e8ea7949415fc0f3bd97)] -> xpath: //input[@id='i0116']]
--- 24 Jul 07:31:50 677 - Page URL:: https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=0bd02bf2-da97-49c7-baaf-31af92be3553&scope=https%3a%2f%2fimmapps.onmicrosoft.com%2fapiserver%2fall%20openid%20profile%20offline_access&redirect_uri=http%3a%2f%2flocalhost%3a4201&client-request-id=01983cd8-da20-7a7c-9db3-054fb09d1bdf&response_mode=fragment&client_info=1&nonce=01983cd8-da22-7ed8-8c04-c7c33aa85b5e&state=eyjpzci6ijaxotgzy2q4lwrhmjetnzzmni04njzkltq5yzu3ytm5mdvkziisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=hwbvh52la7ehpmhglenfflhphckndb4wxlj1rf3vcoo&code_challenge_method=s256&sso_reload=true
--- 24 Jul 07:31:50 677 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 24 Jul 07:31:54 315 - Page URL:: https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=0bd02bf2-da97-49c7-baaf-31af92be3553&scope=https%3a%2f%2fimmapps.onmicrosoft.com%2fapiserver%2fall%20openid%20profile%20offline_access&redirect_uri=http%3a%2f%2flocalhost%3a4201&client-request-id=01983cd8-da20-7a7c-9db3-054fb09d1bdf&response_mode=fragment&client_info=1&nonce=01983cd8-da22-7ed8-8c04-c7c33aa85b5e&state=eyjpzci6ijaxotgzy2q4lwrhmjetnzzmni04njzkltq5yzu3ytm5mdvkziisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=hwbvh52la7ehpmhglenfflhphckndb4wxlj1rf3vcoo&code_challenge_method=s256&sso_reload=true
--- 24 Jul 07:31:54 315 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 24 Jul 07:31:56 892 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (1551be6855d9e8ea7949415fc0f3bd97)] -> xpath: //input[@id='i0118']]
--- 24 Jul 07:31:57 228 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (1551be6855d9e8ea7949415fc0f3bd97)] -> xpath: //input[@id='i0118']]
--- 24 Jul 07:32:00 882 - Page URL:: https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=0bd02bf2-da97-49c7-baaf-31af92be3553&scope=https%3a%2f%2fimmapps.onmicrosoft.com%2fapiserver%2fall%20openid%20profile%20offline_access&redirect_uri=http%3a%2f%2flocalhost%3a4201&client-request-id=01983cd8-da20-7a7c-9db3-054fb09d1bdf&response_mode=fragment&client_info=1&nonce=01983cd8-da22-7ed8-8c04-c7c33aa85b5e&state=eyjpzci6ijaxotgzy2q4lwrhmjetnzzmni04njzkltq5yzu3ytm5mdvkziisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=hwbvh52la7ehpmhglenfflhphckndb4wxlj1rf3vcoo&code_challenge_method=s256&sso_reload=true
--- 24 Jul 07:32:00 883 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
logged with the Username:fiAdmin@Qaxpauto1.onmicrosoft.com
--- 24 Jul 07:32:05 843 - Page URL:: https://login.microsoftonline.com/common/login
--- 24 Jul 07:32:05 844 - 4 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 24 Jul 07:32:15 184 - Page URL:: http://localhost:4201/admin
--- 24 Jul 07:32:15 185 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 24 Jul 07:32:18 488 - Page URL:: http://localhost:4201/admin
--- 24 Jul 07:32:18 489 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 24 Jul 07:32:18 843 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (1551be6855d9e8ea7949415fc0f3bd97)] -> xpath: //b[text()='Admin Dashboard']]
--- 24 Jul 07:32:22 051 - Page URL:: http://localhost:4201/admin
--- 24 Jul 07:32:22 052 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 24 Jul 07:32:22 376 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (1551be6855d9e8ea7949415fc0f3bd97)] -> xpath: //b[contains(text(),'Dashboard')]]
Successfully navigated to the 'Control Panel' page [ScreenShot] --- 24 Jul 07:32:22 848 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (1551be6855d9e8ea7949415fc0f3bd97)] -> id: immAdministration]
--- 24 Jul 07:32:25 523 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (1551be6855d9e8ea7949415fc0f3bd97)] -> id: immAdministration]
--- 24 Jul 07:32:26 271 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (1551be6855d9e8ea7949415fc0f3bd97)] -> id: immMenuAgents]
Clicked 'Search' button
--- 24 Jul 07:32:39 415 - Page URL:: http://localhost:4201/agents
--- 24 Jul 07:32:39 416 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 24 Jul 07:32:39 560 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (1551be6855d9e8ea7949415fc0f3bd97)] -> css selector: tbody>tr[id*='immOpenUpdateDeleteAgentDialog']]
--- 24 Jul 07:32:48 727 - Page URL:: http://localhost:4201/agents
--- 24 Jul 07:32:48 728 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 24 Jul 07:32:52 988 - Page URL:: http://localhost:4201/agents
--- 24 Jul 07:32:52 990 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
Clicking the next page
--- 24 Jul 07:32:54 347 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (1551be6855d9e8ea7949415fc0f3bd97)] -> css selector: div.mat-mdc-paginator-range-actions button[class*='mat-mdc-paginator-navigation-next mdc-icon-button mat-mdc-icon-button']]
--- 24 Jul 07:32:54 752 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (1551be6855d9e8ea7949415fc0f3bd97)] -> css selector: div.mat-mdc-paginator-range-actions button[class*='mat-mdc-paginator-navigation-next mdc-icon-button mat-mdc-icon-button']]
Total records displayed : 2
Timed out after 5 seconds. Unable to locate the element [ScreenShot]