--- 11 Sep 16:32:18 042 - TestCaseID:: verifyeReceiptsRestartInBranchSettings
--- 11 Sep 16:32:23 595 - 5 - Driver::initialize::Get - com.imm.ereceipt.support.WebDriverFactory.get(WebDriverFactory.java:565)
verify eReceipts Restart text in Branch settings
Steps:
--- 11 Sep 16:32:28 774 - 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=01993a7a-ba8a-7d21-a0ee-505f3f167ce7&response_mode=fragment&client_info=1&nonce=01993a7a-ba8f-7c87-9660-a6848c97eb08&state=eyjpzci6ijaxotkzytdhlwjhogqtn2q3my04nmqxlthingzmmgu2nda2zcisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=y783900w3dlgundxmvpr9f_oaeii0puef_ltjj5ubrg&code_challenge_method=s256&sso_reload=true
--- 11 Sep 16:32:28 778 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 16:32:28 927 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3c4a98f8c97662b05dedc0ebfdc5d462)] -> xpath: //input[@id='i0116']]
Successfully navigated to 'eReceipts FI Admin' Page
--- 11 Sep 16:32:29 035 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3c4a98f8c97662b05dedc0ebfdc5d462)] -> xpath: //input[@id='i0116']]
--- 11 Sep 16:32:29 216 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3c4a98f8c97662b05dedc0ebfdc5d462)] -> id: idSIButton9]
Text field 'User ID', Password' and button 'Login, 'Cancel' are displayed in the 'Login' page
--- 11 Sep 16:32:29 348 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3c4a98f8c97662b05dedc0ebfdc5d462)] -> xpath: //input[@id='i0116']]
--- 11 Sep 16:32:29 533 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3c4a98f8c97662b05dedc0ebfdc5d462)] -> xpath: //input[@id='i0116']]
--- 11 Sep 16:32:33 257 - 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=01993a7a-ba8a-7d21-a0ee-505f3f167ce7&response_mode=fragment&client_info=1&nonce=01993a7a-ba8f-7c87-9660-a6848c97eb08&state=eyjpzci6ijaxotkzytdhlwjhogqtn2q3my04nmqxlthingzmmgu2nda2zcisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=y783900w3dlgundxmvpr9f_oaeii0puef_ltjj5ubrg&code_challenge_method=s256&sso_reload=true
--- 11 Sep 16:32:33 259 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 16:32:36 826 - 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=01993a7a-ba8a-7d21-a0ee-505f3f167ce7&response_mode=fragment&client_info=1&nonce=01993a7a-ba8f-7c87-9660-a6848c97eb08&state=eyjpzci6ijaxotkzytdhlwjhogqtn2q3my04nmqxlthingzmmgu2nda2zcisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=y783900w3dlgundxmvpr9f_oaeii0puef_ltjj5ubrg&code_challenge_method=s256&sso_reload=true
--- 11 Sep 16:32:36 827 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 16:32:40 709 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3c4a98f8c97662b05dedc0ebfdc5d462)] -> xpath: //input[@id='i0118']]
--- 11 Sep 16:32:40 795 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3c4a98f8c97662b05dedc0ebfdc5d462)] -> xpath: //input[@id='i0118']]
--- 11 Sep 16:32:44 218 - 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=01993a7a-ba8a-7d21-a0ee-505f3f167ce7&response_mode=fragment&client_info=1&nonce=01993a7a-ba8f-7c87-9660-a6848c97eb08&state=eyjpzci6ijaxotkzytdhlwjhogqtn2q3my04nmqxlthingzmmgu2nda2zcisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=y783900w3dlgundxmvpr9f_oaeii0puef_ltjj5ubrg&code_challenge_method=s256&sso_reload=true
--- 11 Sep 16:32:44 219 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
logged with the Username:fiAdmin@Qaxpauto1.onmicrosoft.com
--- 11 Sep 16:32:49 235 - Page URL:: https://login.microsoftonline.com/common/login
--- 11 Sep 16:32:49 236 - 4 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 16:32:57 900 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 11 Sep 16:32:57 902 - 5 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 16:33:01 313 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 11 Sep 16:33:01 314 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 16:33:01 422 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3c4a98f8c97662b05dedc0ebfdc5d462)] -> xpath: //*[@id='immFIAdminHeader' and normalize-space()='Admin Dashboard']]
--- 11 Sep 16:33:04 744 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 11 Sep 16:33:04 745 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 16:33:04 832 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3c4a98f8c97662b05dedc0ebfdc5d462)] -> xpath: //b[contains(text(),'Dashboard')]]
Successfully navigated to the 'Control Panel' page [ScreenShot] --- 11 Sep 16:33:05 115 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3c4a98f8c97662b05dedc0ebfdc5d462)] -> id: immAdministration]
--- 11 Sep 16:33:07 265 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3c4a98f8c97662b05dedc0ebfdc5d462)] -> id: immAdministration]
--- 11 Sep 16:33:07 580 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3c4a98f8c97662b05dedc0ebfdc5d462)] -> id: immMenuBandW]
--- 11 Sep 16:33:13 711 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 11 Sep 16:33:13 712 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 16:33:13 829 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3c4a98f8c97662b05dedc0ebfdc5d462)] -> id: imm_searchBr_GlobalControl]
--- 11 Sep 16:33:13 933 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3c4a98f8c97662b05dedc0ebfdc5d462)] -> id: imm_searchBr_GlobalControl]
--- 11 Sep 16:33:14 690 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3c4a98f8c97662b05dedc0ebfdc5d462)] -> id: immAllBranchesControl_SetSelectAllBrOption_CheckBox]
--- 11 Sep 16:33:14 816 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3c4a98f8c97662b05dedc0ebfdc5d462)] -> id: immAllBranchesControl_SetSelectAllBrOption_CheckBox]
Expected: select the list matching pattern in 'Branches' page
Actual(Passed): Successfully selected list in 'Branches' page[ScreenShot] --- 11 Sep 16:33:18 655 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 11 Sep 16:33:18 655 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 16:33:22 043 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 11 Sep 16:33:22 045 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 16:33:22 523 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3c4a98f8c97662b05dedc0ebfdc5d462)] -> css selector: button[id*='immBranch_TabSettings_']]
--- 11 Sep 16:33:22 632 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3c4a98f8c97662b05dedc0ebfdc5d462)] -> css selector: button[id*='immBranch_TabSettings_']]
--- 11 Sep 16:33:25 132 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3c4a98f8c97662b05dedc0ebfdc5d462)] -> xpath: //span[text()='Host Specific']/ancestor::mat-expansion-panel-header]
--- 11 Sep 16:33:25 282 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3c4a98f8c97662b05dedc0ebfdc5d462)] -> xpath: //span[text()='Others']/ancestor::mat-expansion-panel-header]
--- 11 Sep 16:33:25 374 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3c4a98f8c97662b05dedc0ebfdc5d462)] -> xpath: //span[text()='Receipt']/ancestor::mat-expansion-panel-header]
--- 11 Sep 16:33:25 488 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3c4a98f8c97662b05dedc0ebfdc5d462)] -> xpath: //span[text()='Report']/ancestor::mat-expansion-panel-header]
--- 11 Sep 16:33:25 588 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3c4a98f8c97662b05dedc0ebfdc5d462)] -> 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] --- 11 Sep 16:33:35 094 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 11 Sep 16:33:35 099 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 16:33:41 283 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3c4a98f8c97662b05dedc0ebfdc5d462)] -> id: immIsEditMode]
--- 11 Sep 16:33:50 326 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 11 Sep 16:33:50 328 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 16:33:55 621 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3c4a98f8c97662b05dedc0ebfdc5d462)] -> xpath: //div[@role='tab'][.//span[normalize-space()='Scan']]]
Expected: click on Scan tab
Actual(Passed): Sucessfully clicked on Scan tab[ScreenShot] --- 11 Sep 16:34:12 170 - Element not found : check Receipt Restart Text
Expected: Check the Restart eReceipts Label
Actual(Failed): Restart eReceipts Label is not present[ScreenShot] --- 11 Sep 16:34:17 610 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3c4a98f8c97662b05dedc0ebfdc5d462)] -> xpath: //div[@role='tab'][.//span[normalize-space()='Sign']]]
Expected: click on sign tab
Actual(Passed): Sucessfully clicked on sign tab[ScreenShot] --- 11 Sep 16:34:34 152 - Element not found : check Receipt Restart Text
Expected: Check the Restart eReceipts Label
Actual(Failed): Restart eReceipts Label is not present[ScreenShot] --- 11 Sep 16:34:39 524 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3c4a98f8c97662b05dedc0ebfdc5d462)] -> xpath: //div[@role='tab']//span[normalize-space()='Workstation']]
Expected: click on Workstation tab
Actual(Passed): Sucessfully clicked on Workstation tab[ScreenShot] --- 11 Sep 16:34:56 031 - Element not found : check Receipt Restart Text
Expected: Check the Restart eReceipts Label
Actual(Failed): Restart eReceipts Label is not present[ScreenShot]
Test Failed. Check the steps above in red color.