--- 05 Sep 16:28:42 259 - TestCaseID:: verifyBranchWorkstationSettingsInAdmin
--- 05 Sep 16:28:47 600 - 5 - Driver::initialize::Get - com.imm.ereceipt.support.WebDriverFactory.get(WebDriverFactory.java:565)
verify Branch Workstation Settings Admin Portal
Steps:
--- 05 Sep 16:28:52 753 - 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=01991b91-47bb-7cde-be51-923d7613373b&response_mode=fragment&client_info=1&nonce=01991b91-47bd-79ee-8fe6-c79dc3d22b9c&state=eyjpzci6ijaxotkxyjkxltq3ymmtnzljos1hotdjlta4ywuwzgfjyjnlzcisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=pmedu_fzmjowj7rgrjcql-twsig8gpiirfeeezo3-bc&code_challenge_method=s256&sso_reload=true
--- 05 Sep 16:28:52 758 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 16:28:52 916 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (aaa8cc84bbef9e263a2ec120863e9869)] -> xpath: //input[@id='i0116']]
Successfully navigated to 'eReceipts FI Admin' Page
--- 05 Sep 16:28:53 031 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (aaa8cc84bbef9e263a2ec120863e9869)] -> xpath: //input[@id='i0116']]
--- 05 Sep 16:28:53 130 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (aaa8cc84bbef9e263a2ec120863e9869)] -> id: idSIButton9]
Text field 'User ID', Password' and button 'Login, 'Cancel' are displayed in the 'Login' page
--- 05 Sep 16:28:53 245 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (aaa8cc84bbef9e263a2ec120863e9869)] -> xpath: //input[@id='i0116']]
--- 05 Sep 16:28:53 340 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (aaa8cc84bbef9e263a2ec120863e9869)] -> xpath: //input[@id='i0116']]
--- 05 Sep 16:28:57 228 - 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=01991b91-47bb-7cde-be51-923d7613373b&response_mode=fragment&client_info=1&nonce=01991b91-47bd-79ee-8fe6-c79dc3d22b9c&state=eyjpzci6ijaxotkxyjkxltq3ymmtnzljos1hotdjlta4ywuwzgfjyjnlzcisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=pmedu_fzmjowj7rgrjcql-twsig8gpiirfeeezo3-bc&code_challenge_method=s256&sso_reload=true
--- 05 Sep 16:28:57 243 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 16:29:00 730 - 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=01991b91-47bb-7cde-be51-923d7613373b&response_mode=fragment&client_info=1&nonce=01991b91-47bd-79ee-8fe6-c79dc3d22b9c&state=eyjpzci6ijaxotkxyjkxltq3ymmtnzljos1hotdjlta4ywuwzgfjyjnlzcisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=pmedu_fzmjowj7rgrjcql-twsig8gpiirfeeezo3-bc&code_challenge_method=s256&sso_reload=true
--- 05 Sep 16:29:00 732 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 16:29:04 679 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (aaa8cc84bbef9e263a2ec120863e9869)] -> xpath: //input[@id='i0118']]
--- 05 Sep 16:29:04 765 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (aaa8cc84bbef9e263a2ec120863e9869)] -> xpath: //input[@id='i0118']]
--- 05 Sep 16:29:08 307 - 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=01991b91-47bb-7cde-be51-923d7613373b&response_mode=fragment&client_info=1&nonce=01991b91-47bd-79ee-8fe6-c79dc3d22b9c&state=eyjpzci6ijaxotkxyjkxltq3ymmtnzljos1hotdjlta4ywuwzgfjyjnlzcisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=pmedu_fzmjowj7rgrjcql-twsig8gpiirfeeezo3-bc&code_challenge_method=s256&sso_reload=true
--- 05 Sep 16:29:08 308 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
logged with the Username:fiAdmin@Qaxpauto1.onmicrosoft.com
--- 05 Sep 16:29:13 566 - Page URL:: https://login.microsoftonline.com/common/login
--- 05 Sep 16:29:13 567 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 16:29:22 462 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 05 Sep 16:29:22 463 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 16:29:25 820 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 05 Sep 16:29:25 821 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 16:29:25 925 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (aaa8cc84bbef9e263a2ec120863e9869)] -> xpath: //*[@id='immFIAdminHeader' and normalize-space()='Admin Dashboard']]
--- 05 Sep 16:29:29 083 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 05 Sep 16:29:29 084 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 16:29:29 172 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (aaa8cc84bbef9e263a2ec120863e9869)] -> xpath: //b[contains(text(),'Dashboard')]]
Successfully navigated to the 'Control Panel' page [ScreenShot] --- 05 Sep 16:29:29 461 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (aaa8cc84bbef9e263a2ec120863e9869)] -> id: immAdministration]
--- 05 Sep 16:29:31 614 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (aaa8cc84bbef9e263a2ec120863e9869)] -> id: immAdministration]
--- 05 Sep 16:29:31 909 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (aaa8cc84bbef9e263a2ec120863e9869)] -> id: immMenuBandW]
--- 05 Sep 16:29:37 947 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 05 Sep 16:29:37 948 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 16:29:42 718 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 05 Sep 16:29:42 719 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 16:29:42 813 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (aaa8cc84bbef9e263a2ec120863e9869)] -> id: imm_searchBr_GlobalControl]
--- 05 Sep 16:29:42 900 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (aaa8cc84bbef9e263a2ec120863e9869)] -> id: imm_searchBr_GlobalControl]
--- 05 Sep 16:29:43 571 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (aaa8cc84bbef9e263a2ec120863e9869)] -> id: immAllBranchesControl_SetSelectAllBrOption_CheckBox]
--- 05 Sep 16:29:43 686 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (aaa8cc84bbef9e263a2ec120863e9869)] -> id: immAllBranchesControl_SetSelectAllBrOption_CheckBox]
Expected: select the list matching pattern in 'Branches' page
Actual(Passed): Successfully selected list in 'Branches' page[ScreenShot] --- 05 Sep 16:29:47 558 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 05 Sep 16:29:47 559 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 16:29:48 083 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (aaa8cc84bbef9e263a2ec120863e9869)] -> css selector: button[id*='immBranch_TabSettings_']]
--- 05 Sep 16:29:48 188 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (aaa8cc84bbef9e263a2ec120863e9869)] -> css selector: button[id*='immBranch_TabSettings_']]
--- 05 Sep 16:29:50 723 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (aaa8cc84bbef9e263a2ec120863e9869)] -> xpath: //span[text()='Host Specific']/ancestor::mat-expansion-panel-header]
--- 05 Sep 16:29:50 840 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (aaa8cc84bbef9e263a2ec120863e9869)] -> xpath: //span[text()='Others']/ancestor::mat-expansion-panel-header]
--- 05 Sep 16:29:50 946 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (aaa8cc84bbef9e263a2ec120863e9869)] -> xpath: //span[text()='Receipt']/ancestor::mat-expansion-panel-header]
--- 05 Sep 16:29:51 053 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (aaa8cc84bbef9e263a2ec120863e9869)] -> xpath: //span[text()='Report']/ancestor::mat-expansion-panel-header]
--- 05 Sep 16:29:51 162 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (aaa8cc84bbef9e263a2ec120863e9869)] -> xpath: //span[text()='Suppress']/ancestor::mat-expansion-panel-header]
Expected: verify the settings of Branch name in 'Branches' page
Actual(Passed): Successfully verified the settings of Branch name in 'Branches' page[ScreenShot] --- 05 Sep 16:30:00 900 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 05 Sep 16:30:00 902 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 16:30:07 046 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (aaa8cc84bbef9e263a2ec120863e9869)] -> id: immIsEditMode]
--- 05 Sep 16:30:15 994 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 05 Sep 16:30:15 995 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 16:30:21 131 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (aaa8cc84bbef9e263a2ec120863e9869)] -> xpath: //div[@role='tab']//span[normalize-space()='Workstation']]
Expected: click on Workstation tab
Actual(Passed): Sucessfully clicked on Workstation tab[ScreenShot]