--- 05 Sep 17:46:19 484 - TestCaseID:: verifyeReceiptsRestartInBranchSettings
--- 05 Sep 17:46:25 430 - 5 - Driver::initialize::Get - com.imm.ereceipt.support.WebDriverFactory.get(WebDriverFactory.java:565)
verify eReceipts Restart text in Branch settings
Steps:
--- 05 Sep 17:46:30 392 - 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=01991bd8-58e0-7f39-8eb2-672c597af0ae&response_mode=fragment&client_info=1&nonce=01991bd8-58e3-7718-9e62-041387710af2&state=eyjpzci6ijaxotkxymq4ltu4ztitn2uymy05odc3ltgyymrmywi3ywq3ncisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=xeyzhiipj5xfi6yjmlg9xlycltvbkm8v4ic7w33cuoq&code_challenge_method=s256&sso_reload=true
--- 05 Sep 17:46:30 395 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 17:46:30 578 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (b578b2074c06ea7232bc90fb51b49551)] -> xpath: //input[@id='i0116']]
Successfully navigated to 'eReceipts FI Admin' Page
--- 05 Sep 17:46:30 676 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (b578b2074c06ea7232bc90fb51b49551)] -> xpath: //input[@id='i0116']]
--- 05 Sep 17:46:30 784 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (b578b2074c06ea7232bc90fb51b49551)] -> id: idSIButton9]
Text field 'User ID', Password' and button 'Login, 'Cancel' are displayed in the 'Login' page
--- 05 Sep 17:46:30 890 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (b578b2074c06ea7232bc90fb51b49551)] -> xpath: //input[@id='i0116']]
--- 05 Sep 17:46:30 998 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (b578b2074c06ea7232bc90fb51b49551)] -> xpath: //input[@id='i0116']]
--- 05 Sep 17:46:34 617 - 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=01991bd8-58e0-7f39-8eb2-672c597af0ae&response_mode=fragment&client_info=1&nonce=01991bd8-58e3-7718-9e62-041387710af2&state=eyjpzci6ijaxotkxymq4ltu4ztitn2uymy05odc3ltgyymrmywi3ywq3ncisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=xeyzhiipj5xfi6yjmlg9xlycltvbkm8v4ic7w33cuoq&code_challenge_method=s256&sso_reload=true
--- 05 Sep 17:46:34 619 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 17:46:38 074 - 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=01991bd8-58e0-7f39-8eb2-672c597af0ae&response_mode=fragment&client_info=1&nonce=01991bd8-58e3-7718-9e62-041387710af2&state=eyjpzci6ijaxotkxymq4ltu4ztitn2uymy05odc3ltgyymrmywi3ywq3ncisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=xeyzhiipj5xfi6yjmlg9xlycltvbkm8v4ic7w33cuoq&code_challenge_method=s256&sso_reload=true
--- 05 Sep 17:46:38 075 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 17:46:42 145 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (b578b2074c06ea7232bc90fb51b49551)] -> xpath: //input[@id='i0118']]
--- 05 Sep 17:46:42 240 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (b578b2074c06ea7232bc90fb51b49551)] -> xpath: //input[@id='i0118']]
--- 05 Sep 17:46:45 644 - 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=01991bd8-58e0-7f39-8eb2-672c597af0ae&response_mode=fragment&client_info=1&nonce=01991bd8-58e3-7718-9e62-041387710af2&state=eyjpzci6ijaxotkxymq4ltu4ztitn2uymy05odc3ltgyymrmywi3ywq3ncisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=xeyzhiipj5xfi6yjmlg9xlycltvbkm8v4ic7w33cuoq&code_challenge_method=s256&sso_reload=true
--- 05 Sep 17:46:45 645 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
logged with the Username:fiAdmin@Qaxpauto1.onmicrosoft.com
--- 05 Sep 17:46:50 564 - Page URL:: https://login.microsoftonline.com/common/login
--- 05 Sep 17:46:50 565 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 17:46:58 511 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 05 Sep 17:46:58 512 - 4 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 17:47:01 804 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 05 Sep 17:47:01 805 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 17:47:01 906 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (b578b2074c06ea7232bc90fb51b49551)] -> xpath: //*[@id='immFIAdminHeader' and normalize-space()='Admin Dashboard']]
--- 05 Sep 17:47:05 080 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 05 Sep 17:47:05 081 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 17:47:05 171 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (b578b2074c06ea7232bc90fb51b49551)] -> xpath: //b[contains(text(),'Dashboard')]]
Successfully navigated to the 'Control Panel' page [ScreenShot] --- 05 Sep 17:47:05 456 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (b578b2074c06ea7232bc90fb51b49551)] -> id: immAdministration]
--- 05 Sep 17:47:07 610 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (b578b2074c06ea7232bc90fb51b49551)] -> id: immAdministration]
--- 05 Sep 17:47:07 946 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (b578b2074c06ea7232bc90fb51b49551)] -> id: immMenuBandW]
--- 05 Sep 17:47:14 020 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 05 Sep 17:47:14 021 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 17:47:14 113 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (b578b2074c06ea7232bc90fb51b49551)] -> id: imm_searchBr_GlobalControl]
--- 05 Sep 17:47:14 191 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (b578b2074c06ea7232bc90fb51b49551)] -> id: imm_searchBr_GlobalControl]
--- 05 Sep 17:47:15 042 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (b578b2074c06ea7232bc90fb51b49551)] -> id: immAllBranchesControl_SetSelectAllBrOption_CheckBox]
--- 05 Sep 17:47:15 149 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (b578b2074c06ea7232bc90fb51b49551)] -> id: immAllBranchesControl_SetSelectAllBrOption_CheckBox]
Expected: select the list matching pattern in 'Branches' page
Actual(Passed): Successfully selected list in 'Branches' page[ScreenShot] --- 05 Sep 17:47:18 969 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 05 Sep 17:47:18 970 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 17:47:22 379 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 05 Sep 17:47:22 380 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 17:47:22 862 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (b578b2074c06ea7232bc90fb51b49551)] -> css selector: button[id*='immBranch_TabSettings_']]
--- 05 Sep 17:47:22 975 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (b578b2074c06ea7232bc90fb51b49551)] -> css selector: button[id*='immBranch_TabSettings_']]
--- 05 Sep 17:47:25 508 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (b578b2074c06ea7232bc90fb51b49551)] -> xpath: //span[text()='Host Specific']/ancestor::mat-expansion-panel-header]
--- 05 Sep 17:47:25 635 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (b578b2074c06ea7232bc90fb51b49551)] -> xpath: //span[text()='Others']/ancestor::mat-expansion-panel-header]
--- 05 Sep 17:47:25 735 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (b578b2074c06ea7232bc90fb51b49551)] -> xpath: //span[text()='Receipt']/ancestor::mat-expansion-panel-header]
--- 05 Sep 17:47:25 954 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (b578b2074c06ea7232bc90fb51b49551)] -> xpath: //span[text()='Report']/ancestor::mat-expansion-panel-header]
--- 05 Sep 17:47:26 047 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (b578b2074c06ea7232bc90fb51b49551)] -> 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 17:47:35 191 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 05 Sep 17:47:35 192 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 17:47:41 351 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (b578b2074c06ea7232bc90fb51b49551)] -> id: immIsEditMode]
--- 05 Sep 17:47:50 311 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 05 Sep 17:47:50 314 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 17:47:55 432 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (b578b2074c06ea7232bc90fb51b49551)] -> xpath: //div[@role='tab'][.//span[normalize-space()='Scan']]]
Expected: click on Scan tab
Actual(Passed): Sucessfully clicked on Scan tab[ScreenShot] --- 05 Sep 17:48:11 786 - Element not found : check Receipt Restart Text
Expected: Check the Restart eReceipts Label
Actual(Failed): Restart eReceipts Label is not present[ScreenShot] --- 05 Sep 17:48:17 143 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (b578b2074c06ea7232bc90fb51b49551)] -> xpath: //div[@role='tab'][.//span[normalize-space()='Sign']]]
Expected: click on sign tab
Actual(Passed): Sucessfully clicked on sign tab[ScreenShot] --- 05 Sep 17:48:33 814 - Element not found : check Receipt Restart Text
Expected: Check the Restart eReceipts Label
Actual(Failed): Restart eReceipts Label is not present[ScreenShot] --- 05 Sep 17:48:39 173 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (b578b2074c06ea7232bc90fb51b49551)] -> xpath: //div[@role='tab']//span[normalize-space()='Workstation']]
Expected: click on Workstation tab
Actual(Passed): Sucessfully clicked on Workstation tab[ScreenShot] --- 05 Sep 17:48:55 564 - 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.