--- 11 Sep 16:45:12 044 - TestCaseID:: verifyeReceiptsRestartInBranchSettings
--- 11 Sep 16:45:18 341 - 6 - Driver::initialize::Get - com.imm.ereceipt.support.WebDriverFactory.get(WebDriverFactory.java:565)
verify eReceipts Restart text in Branch settings
Steps:
--- 11 Sep 16:45:23 231 - 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=01993a86-8bcc-744e-890f-fa8bd6502e40&response_mode=fragment&client_info=1&nonce=01993a86-8bce-78c5-ab4b-750f61907679&state=eyjpzci6ijaxotkzytg2lthiy2qtn2jlmc04njmylwiwytuzy2i1nzzmyyisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=9alaqxd4e3kdeiyepnlatzhyfda_ftkx-hwb3g4lcck&code_challenge_method=s256&sso_reload=true
--- 11 Sep 16:45:23 234 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 16:45:23 373 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (03e3264bfc9059d6f6301353f9f44a52)] -> xpath: //input[@id='i0116']]
Successfully navigated to 'eReceipts FI Admin' Page
--- 11 Sep 16:45:23 492 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (03e3264bfc9059d6f6301353f9f44a52)] -> xpath: //input[@id='i0116']]
--- 11 Sep 16:45:23 628 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (03e3264bfc9059d6f6301353f9f44a52)] -> id: idSIButton9]
Text field 'User ID', Password' and button 'Login, 'Cancel' are displayed in the 'Login' page
--- 11 Sep 16:45:23 874 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (03e3264bfc9059d6f6301353f9f44a52)] -> xpath: //input[@id='i0116']]
--- 11 Sep 16:45:24 030 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (03e3264bfc9059d6f6301353f9f44a52)] -> xpath: //input[@id='i0116']]
--- 11 Sep 16:45:27 869 - 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=01993a86-8bcc-744e-890f-fa8bd6502e40&response_mode=fragment&client_info=1&nonce=01993a86-8bce-78c5-ab4b-750f61907679&state=eyjpzci6ijaxotkzytg2lthiy2qtn2jlmc04njmylwiwytuzy2i1nzzmyyisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=9alaqxd4e3kdeiyepnlatzhyfda_ftkx-hwb3g4lcck&code_challenge_method=s256&sso_reload=true
--- 11 Sep 16:45:27 870 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 16:45:32 009 - 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=01993a86-8bcc-744e-890f-fa8bd6502e40&response_mode=fragment&client_info=1&nonce=01993a86-8bce-78c5-ab4b-750f61907679&state=eyjpzci6ijaxotkzytg2lthiy2qtn2jlmc04njmylwiwytuzy2i1nzzmyyisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=9alaqxd4e3kdeiyepnlatzhyfda_ftkx-hwb3g4lcck&code_challenge_method=s256&sso_reload=true
--- 11 Sep 16:45:32 010 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 16:45:35 914 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (03e3264bfc9059d6f6301353f9f44a52)] -> xpath: //input[@id='i0118']]
--- 11 Sep 16:45:36 005 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (03e3264bfc9059d6f6301353f9f44a52)] -> xpath: //input[@id='i0118']]
--- 11 Sep 16:45:39 438 - 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=01993a86-8bcc-744e-890f-fa8bd6502e40&response_mode=fragment&client_info=1&nonce=01993a86-8bce-78c5-ab4b-750f61907679&state=eyjpzci6ijaxotkzytg2lthiy2qtn2jlmc04njmylwiwytuzy2i1nzzmyyisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=9alaqxd4e3kdeiyepnlatzhyfda_ftkx-hwb3g4lcck&code_challenge_method=s256&sso_reload=true
--- 11 Sep 16:45:39 439 - 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:45:44 315 - Page URL:: https://login.microsoftonline.com/common/login
--- 11 Sep 16:45:44 316 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 16:45:53 330 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 11 Sep 16:45:53 331 - 4 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 16:45:56 658 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 11 Sep 16:45:56 659 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 16:45:56 797 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (03e3264bfc9059d6f6301353f9f44a52)] -> xpath: //*[@id='immFIAdminHeader' and normalize-space()='Admin Dashboard']]
--- 11 Sep 16:46:00 042 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 11 Sep 16:46:00 043 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 16:46:00 134 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (03e3264bfc9059d6f6301353f9f44a52)] -> xpath: //b[contains(text(),'Dashboard')]]
Successfully navigated to the 'Control Panel' page [ScreenShot] --- 11 Sep 16:46:00 434 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (03e3264bfc9059d6f6301353f9f44a52)] -> id: immAdministration]
--- 11 Sep 16:46:02 594 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (03e3264bfc9059d6f6301353f9f44a52)] -> id: immAdministration]
--- 11 Sep 16:46:02 953 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (03e3264bfc9059d6f6301353f9f44a52)] -> id: immMenuBandW]
--- 11 Sep 16:46:08 926 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 11 Sep 16:46:08 927 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 16:46:09 056 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (03e3264bfc9059d6f6301353f9f44a52)] -> id: imm_searchBr_GlobalControl]
--- 11 Sep 16:46:09 131 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (03e3264bfc9059d6f6301353f9f44a52)] -> id: imm_searchBr_GlobalControl]
--- 11 Sep 16:46:09 832 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (03e3264bfc9059d6f6301353f9f44a52)] -> id: immAllBranchesControl_SetSelectAllBrOption_CheckBox]
--- 11 Sep 16:46:09 960 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (03e3264bfc9059d6f6301353f9f44a52)] -> 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:46:13 780 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 11 Sep 16:46:13 781 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 16:46:17 180 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 11 Sep 16:46:17 181 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 16:46:17 679 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (03e3264bfc9059d6f6301353f9f44a52)] -> css selector: button[id*='immBranch_TabSettings_']]
--- 11 Sep 16:46:17 782 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (03e3264bfc9059d6f6301353f9f44a52)] -> css selector: button[id*='immBranch_TabSettings_']]
--- 11 Sep 16:46:20 317 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (03e3264bfc9059d6f6301353f9f44a52)] -> xpath: //span[text()='Host Specific']/ancestor::mat-expansion-panel-header]
--- 11 Sep 16:46:20 431 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (03e3264bfc9059d6f6301353f9f44a52)] -> xpath: //span[text()='Others']/ancestor::mat-expansion-panel-header]
--- 11 Sep 16:46:20 537 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (03e3264bfc9059d6f6301353f9f44a52)] -> xpath: //span[text()='Receipt']/ancestor::mat-expansion-panel-header]
--- 11 Sep 16:46:20 647 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (03e3264bfc9059d6f6301353f9f44a52)] -> xpath: //span[text()='Report']/ancestor::mat-expansion-panel-header]
--- 11 Sep 16:46:20 765 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (03e3264bfc9059d6f6301353f9f44a52)] -> 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:46:29 973 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 11 Sep 16:46:29 974 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 16:46:36 141 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (03e3264bfc9059d6f6301353f9f44a52)] -> id: immIsEditMode]
--- 11 Sep 16:46:45 045 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 11 Sep 16:46:45 047 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 16:46:50 194 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (03e3264bfc9059d6f6301353f9f44a52)] -> xpath: //div[@role='tab'][.//span[normalize-space()='Scan']]]
Expected: click on Scan tab
Actual(Passed): Sucessfully clicked on Scan tab[ScreenShot] --- 11 Sep 16:47:06 834 - 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:47:12 174 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (03e3264bfc9059d6f6301353f9f44a52)] -> xpath: //div[@role='tab'][.//span[normalize-space()='Sign']]]
Expected: click on sign tab
Actual(Passed): Sucessfully clicked on sign tab[ScreenShot] --- 11 Sep 16:47:28 554 - 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:47:33 870 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (03e3264bfc9059d6f6301353f9f44a52)] -> xpath: //div[@role='tab']//span[normalize-space()='Workstation']]
Expected: click on Workstation tab
Actual(Passed): Sucessfully clicked on Workstation tab[ScreenShot] --- 11 Sep 16:47:50 494 - 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.