--- 24 Jul 07:34:28 920 - TestCaseID:: verifySortingInAgentPage
--- 24 Jul 07:34:34 732 - 5 - Driver::initialize::Get - com.imm.ereceipt.support.WebDriverFactory.get(WebDriverFactory.java:565)
verify Sorting In Agent Page
Steps:
--- 24 Jul 07:34:39 942 - 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=01983cdb-899a-78b4-b0a1-b328e2de04a0&response_mode=fragment&client_info=1&nonce=01983cdb-899c-7c83-b59c-ec6b2ec21187&state=eyjpzci6ijaxotgzy2riltg5owitnzcxzi04yzdjlwfjymy0zge4zgnimsisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=4it2xyvmrifxd7kq_c7auppilyzfnbjcp5ymy-7qm5k&code_challenge_method=s256&sso_reload=true
--- 24 Jul 07:34:39 944 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 24 Jul 07:34:40 417 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (97f255327fabfde811d7ef56b84a6c0b)] -> xpath: //input[@id='i0116']]
Successfully navigated to 'eReceipts FI Admin' Page
--- 24 Jul 07:34:40 818 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (97f255327fabfde811d7ef56b84a6c0b)] -> xpath: //input[@id='i0116']]
--- 24 Jul 07:34:41 200 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (97f255327fabfde811d7ef56b84a6c0b)] -> id: idSIButton9]
Text field 'User ID', Password' and button 'Login, 'Cancel' are displayed in the 'Login' page
--- 24 Jul 07:34:41 892 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (97f255327fabfde811d7ef56b84a6c0b)] -> xpath: //input[@id='i0116']]
--- 24 Jul 07:34:42 584 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (97f255327fabfde811d7ef56b84a6c0b)] -> xpath: //input[@id='i0116']]
--- 24 Jul 07:34:46 446 - 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=01983cdb-899a-78b4-b0a1-b328e2de04a0&response_mode=fragment&client_info=1&nonce=01983cdb-899c-7c83-b59c-ec6b2ec21187&state=eyjpzci6ijaxotgzy2riltg5owitnzcxzi04yzdjlwfjymy0zge4zgnimsisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=4it2xyvmrifxd7kq_c7auppilyzfnbjcp5ymy-7qm5k&code_challenge_method=s256&sso_reload=true
--- 24 Jul 07:34:46 447 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 24 Jul 07:34:50 300 - 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=01983cdb-899a-78b4-b0a1-b328e2de04a0&response_mode=fragment&client_info=1&nonce=01983cdb-899c-7c83-b59c-ec6b2ec21187&state=eyjpzci6ijaxotgzy2riltg5owitnzcxzi04yzdjlwfjymy0zge4zgnimsisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=4it2xyvmrifxd7kq_c7auppilyzfnbjcp5ymy-7qm5k&code_challenge_method=s256&sso_reload=true
--- 24 Jul 07:34:50 301 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 24 Jul 07:34:51 700 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (97f255327fabfde811d7ef56b84a6c0b)] -> xpath: //input[@id='i0118']]
--- 24 Jul 07:34:52 209 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (97f255327fabfde811d7ef56b84a6c0b)] -> xpath: //input[@id='i0118']]
--- 24 Jul 07:34:55 834 - 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=01983cdb-899a-78b4-b0a1-b328e2de04a0&response_mode=fragment&client_info=1&nonce=01983cdb-899c-7c83-b59c-ec6b2ec21187&state=eyjpzci6ijaxotgzy2riltg5owitnzcxzi04yzdjlwfjymy0zge4zgnimsisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=4it2xyvmrifxd7kq_c7auppilyzfnbjcp5ymy-7qm5k&code_challenge_method=s256&sso_reload=true
--- 24 Jul 07:34:55 836 - 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:35:00 678 - Page URL:: https://login.microsoftonline.com/common/login
--- 24 Jul 07:35:00 678 - 4 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 24 Jul 07:35:09 793 - Page URL:: http://localhost:4201/admin
--- 24 Jul 07:35:09 795 - 5 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 24 Jul 07:35:13 116 - Page URL:: http://localhost:4201/admin
--- 24 Jul 07:35:13 117 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 24 Jul 07:35:13 463 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (97f255327fabfde811d7ef56b84a6c0b)] -> xpath: //b[text()='Admin Dashboard']]
--- 24 Jul 07:35:16 662 - Page URL:: http://localhost:4201/admin
--- 24 Jul 07:35:16 663 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 24 Jul 07:35:16 960 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (97f255327fabfde811d7ef56b84a6c0b)] -> xpath: //b[contains(text(),'Dashboard')]]
Successfully navigated to the 'Control Panel' page [ScreenShot] --- 24 Jul 07:35:17 489 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (97f255327fabfde811d7ef56b84a6c0b)] -> id: immAdministration]
--- 24 Jul 07:35:20 036 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (97f255327fabfde811d7ef56b84a6c0b)] -> id: immAdministration]
--- 24 Jul 07:35:20 715 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (97f255327fabfde811d7ef56b84a6c0b)] -> id: immMenuAgents]
Clicked 'Search' button
--- 24 Jul 07:35:33 813 - Page URL:: http://localhost:4201/agents
--- 24 Jul 07:35:33 815 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 24 Jul 07:35:33 978 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (97f255327fabfde811d7ef56b84a6c0b)] -> css selector: tbody>tr[id*='immOpenUpdateDeleteAgentDialog']]
--- 24 Jul 07:35:43 540 - Page URL:: http://localhost:4201/agents
--- 24 Jul 07:35:43 541 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 24 Jul 07:35:48 293 - Page URL:: http://localhost:4201/agents
--- 24 Jul 07:35:48 294 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
Clicking the next page
--- 24 Jul 07:35:49 535 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (97f255327fabfde811d7ef56b84a6c0b)] -> 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:35:49 930 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (97f255327fabfde811d7ef56b84a6c0b)] -> 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
Unable to execute request for an existing session: java.net.ConnectException: Connection refused: getsockopt: localhost/[0:0:0:0:0:0:0:1]:29184