--- 09 Mar 13:28:15 815 - TestCaseID:: verifySearchCriteriaInAgentPage
--- 09 Mar 13:28:37 287 - 23 - Driver::initialize::Get - com.imm.ereceipt.support.WebDriverFactory.get(WebDriverFactory.java:557)
***** verify Search Criteria In Agent Page with ID *****
--- 09 Mar 13:28:45 677 - Page URL:: https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=b1f00368-6c8e-4851-b2e7-1ec984ebf081&scope=https%3a%2f%2fimmapps.onmicrosoft.com%2fapiserver%2fall%20openid%20profile%20offline_access&redirect_uri=https%3a%2f%2fer-fiadminportal-demo.azurewebsites.net&client-request-id=cfed75b5-4d1e-4a73-a1cd-8f61063a0a6f&response_mode=fragment&response_type=code&x-client-sku=msal.js.browser&x-client-ver=2.39.0&client_info=1&code_challenge=5x2uvbjm6lb6xrvpkudpgyyckj2yxefz7kadhdlmsvw&code_challenge_method=s256&nonce=767ef07d-fab1-4a89-ae25-4068edcfcb76&state=eyjpzci6ijnmntu5mza3lwe5owutndqxzi05nde0lwzjmgezzwy4n2jhniisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&sso_reload=true
--- 09 Mar 13:28:45 678 - 5 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 09 Mar 13:28:46 099 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (14abf8e2926a918472ae7a8638256b9f)] -> xpath: //input[@id='i0116']]
Successfully navigated to 'eReceipts FI Admin' Page
--- 09 Mar 13:28:46 232 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (14abf8e2926a918472ae7a8638256b9f)] -> xpath: //input[@id='i0116']]
--- 09 Mar 13:28:46 502 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (14abf8e2926a918472ae7a8638256b9f)] -> id: idSIButton9]
Text field 'User ID', Password' and button 'Login, 'Cancel' are displayed in the 'Login' page
--- 09 Mar 13:28:46 606 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (14abf8e2926a918472ae7a8638256b9f)] -> xpath: //input[@id='i0116']]
--- 09 Mar 13:28:46 768 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (14abf8e2926a918472ae7a8638256b9f)] -> xpath: //input[@id='i0116']]
--- 09 Mar 13:28:50 602 - Page URL:: https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=b1f00368-6c8e-4851-b2e7-1ec984ebf081&scope=https%3a%2f%2fimmapps.onmicrosoft.com%2fapiserver%2fall%20openid%20profile%20offline_access&redirect_uri=https%3a%2f%2fer-fiadminportal-demo.azurewebsites.net&client-request-id=cfed75b5-4d1e-4a73-a1cd-8f61063a0a6f&response_mode=fragment&response_type=code&x-client-sku=msal.js.browser&x-client-ver=2.39.0&client_info=1&code_challenge=5x2uvbjm6lb6xrvpkudpgyyckj2yxefz7kadhdlmsvw&code_challenge_method=s256&nonce=767ef07d-fab1-4a89-ae25-4068edcfcb76&state=eyjpzci6ijnmntu5mza3lwe5owutndqxzi05nde0lwzjmgezzwy4n2jhniisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&sso_reload=true
--- 09 Mar 13:28:50 602 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 09 Mar 13:28:54 809 - Page URL:: https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=b1f00368-6c8e-4851-b2e7-1ec984ebf081&scope=https%3a%2f%2fimmapps.onmicrosoft.com%2fapiserver%2fall%20openid%20profile%20offline_access&redirect_uri=https%3a%2f%2fer-fiadminportal-demo.azurewebsites.net&client-request-id=cfed75b5-4d1e-4a73-a1cd-8f61063a0a6f&response_mode=fragment&response_type=code&x-client-sku=msal.js.browser&x-client-ver=2.39.0&client_info=1&code_challenge=5x2uvbjm6lb6xrvpkudpgyyckj2yxefz7kadhdlmsvw&code_challenge_method=s256&nonce=767ef07d-fab1-4a89-ae25-4068edcfcb76&state=eyjpzci6ijnmntu5mza3lwe5owutndqxzi05nde0lwzjmgezzwy4n2jhniisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&sso_reload=true
--- 09 Mar 13:28:54 809 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 09 Mar 13:28:56 340 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (14abf8e2926a918472ae7a8638256b9f)] -> xpath: //input[@id='i0118']]
--- 09 Mar 13:28:56 580 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (14abf8e2926a918472ae7a8638256b9f)] -> xpath: //input[@id='i0118']]
--- 09 Mar 13:29:00 180 - Page URL:: https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=b1f00368-6c8e-4851-b2e7-1ec984ebf081&scope=https%3a%2f%2fimmapps.onmicrosoft.com%2fapiserver%2fall%20openid%20profile%20offline_access&redirect_uri=https%3a%2f%2fer-fiadminportal-demo.azurewebsites.net&client-request-id=cfed75b5-4d1e-4a73-a1cd-8f61063a0a6f&response_mode=fragment&response_type=code&x-client-sku=msal.js.browser&x-client-ver=2.39.0&client_info=1&code_challenge=5x2uvbjm6lb6xrvpkudpgyyckj2yxefz7kadhdlmsvw&code_challenge_method=s256&nonce=767ef07d-fab1-4a89-ae25-4068edcfcb76&state=eyjpzci6ijnmntu5mza3lwe5owutndqxzi05nde0lwzjmgezzwy4n2jhniisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&sso_reload=true
--- 09 Mar 13:29:00 181 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
logged with the Username:fiAdmin@Qaxpauto.onmicrosoft.com
--- 09 Mar 13:29:06 212 - Page URL:: https://login.microsoftonline.com/common/login
--- 09 Mar 13:29:06 213 - 4 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 09 Mar 13:29:16 204 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 09 Mar 13:29:16 204 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 09 Mar 13:29:19 878 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 09 Mar 13:29:19 878 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 09 Mar 13:29:20 077 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (14abf8e2926a918472ae7a8638256b9f)] -> xpath: //b[text()='Admin Dashboard']]
--- 09 Mar 13:29:23 724 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 09 Mar 13:29:23 728 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 09 Mar 13:29:23 912 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (14abf8e2926a918472ae7a8638256b9f)] -> xpath: //mat-toolbar/div/button[2]/span]
Successfully navigated to the 'Control Panel' page [ScreenShot] --- 09 Mar 13:29:24 261 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (14abf8e2926a918472ae7a8638256b9f)] -> xpath: //mat-toolbar/div/button[2]/span]
--- 09 Mar 13:29:26 447 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (14abf8e2926a918472ae7a8638256b9f)] -> xpath: //mat-toolbar/div/button[2]/span]
--- 09 Mar 13:29:27 159 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (14abf8e2926a918472ae7a8638256b9f)] -> id: immMenuAgents]
Clicked 'Apply' button
--- 09 Mar 13:29:50 005 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (14abf8e2926a918472ae7a8638256b9f)] -> css selector: tbody>tr[id*='immOpenUpdateDeleteAgentDialog']]
--- 09 Mar 13:29:53 205 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/agents
--- 09 Mar 13:29:53 205 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 09 Mar 13:29:53 258 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (14abf8e2926a918472ae7a8638256b9f)] -> css selector: tbody>tr[id*='immOpenUpdateDeleteAgentDialog']]
--- 09 Mar 13:30:02 006 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/agents
--- 09 Mar 13:30:02 007 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
Total records displayed : 1
Expected: Records displayed should only belong to 'Archive Agent' Agent
Actual(Passed): Records displayed are belong to 'Archive Agent' Agent[ScreenShot]
Test Passed.