--- 06 Sep 20:18:50 954 - TestCaseID:: verifyeReceiptsRestartInBranchSettings
--- 06 Sep 20:18:55 933 - 4 - Driver::initialize::Get - com.imm.ereceipt.support.WebDriverFactory.get(WebDriverFactory.java:565)
verify eReceipts Restart text in Branch settings
Steps:
--- 06 Sep 20:19:00 109 - 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=0199218a-5227-7a3b-991e-480ed4ebe3ab&response_mode=fragment&client_info=1&nonce=0199218a-5229-7fc9-bf1e-1bba21aef8c2&state=eyjpzci6ijaxotkymthhltuymjgtnzq2ns1hzgq4lwuxnwuzy2e4ytqyzsisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=leulqp3azi4sasr-wllhpedpwxnrd97khnxp6x5ziwk&code_challenge_method=s256&sso_reload=true
--- 06 Sep 20:19:00 112 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 20:19:00 195 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (41aa59e382f5568e6bb551462e218a41)] -> xpath: //input[@id='i0116']]
Successfully navigated to 'eReceipts FI Admin' Page
--- 06 Sep 20:19:00 262 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (41aa59e382f5568e6bb551462e218a41)] -> xpath: //input[@id='i0116']]
--- 06 Sep 20:19:00 400 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (41aa59e382f5568e6bb551462e218a41)] -> id: idSIButton9]
Text field 'User ID', Password' and button 'Login, 'Cancel' are displayed in the 'Login' page
--- 06 Sep 20:19:00 505 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (41aa59e382f5568e6bb551462e218a41)] -> xpath: //input[@id='i0116']]
--- 06 Sep 20:19:00 609 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (41aa59e382f5568e6bb551462e218a41)] -> xpath: //input[@id='i0116']]
--- 06 Sep 20:19:04 011 - 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=0199218a-5227-7a3b-991e-480ed4ebe3ab&response_mode=fragment&client_info=1&nonce=0199218a-5229-7fc9-bf1e-1bba21aef8c2&state=eyjpzci6ijaxotkymthhltuymjgtnzq2ns1hzgq4lwuxnwuzy2e4ytqyzsisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=leulqp3azi4sasr-wllhpedpwxnrd97khnxp6x5ziwk&code_challenge_method=s256&sso_reload=true
--- 06 Sep 20:19:04 012 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 20:19:07 349 - 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=0199218a-5227-7a3b-991e-480ed4ebe3ab&response_mode=fragment&client_info=1&nonce=0199218a-5229-7fc9-bf1e-1bba21aef8c2&state=eyjpzci6ijaxotkymthhltuymjgtnzq2ns1hzgq4lwuxnwuzy2e4ytqyzsisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=leulqp3azi4sasr-wllhpedpwxnrd97khnxp6x5ziwk&code_challenge_method=s256&sso_reload=true
--- 06 Sep 20:19:07 350 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 20:19:11 181 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (41aa59e382f5568e6bb551462e218a41)] -> xpath: //input[@id='i0118']]
--- 06 Sep 20:19:11 272 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (41aa59e382f5568e6bb551462e218a41)] -> xpath: //input[@id='i0118']]
--- 06 Sep 20:19:14 720 - 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=0199218a-5227-7a3b-991e-480ed4ebe3ab&response_mode=fragment&client_info=1&nonce=0199218a-5229-7fc9-bf1e-1bba21aef8c2&state=eyjpzci6ijaxotkymthhltuymjgtnzq2ns1hzgq4lwuxnwuzy2e4ytqyzsisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=leulqp3azi4sasr-wllhpedpwxnrd97khnxp6x5ziwk&code_challenge_method=s256&sso_reload=true
--- 06 Sep 20:19:14 722 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
logged with the Username:fiAdmin@Qaxpauto1.onmicrosoft.com
--- 06 Sep 20:19:19 199 - Page URL:: https://login.microsoftonline.com/common/login
--- 06 Sep 20:19:19 200 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 20:19:26 863 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 06 Sep 20:19:26 864 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 20:19:30 082 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 06 Sep 20:19:30 083 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 20:19:30 170 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (41aa59e382f5568e6bb551462e218a41)] -> xpath: //*[@id='immFIAdminHeader' and normalize-space()='Admin Dashboard']]
--- 06 Sep 20:19:33 346 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 06 Sep 20:19:33 347 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 20:19:33 450 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (41aa59e382f5568e6bb551462e218a41)] -> xpath: //b[contains(text(),'Dashboard')]]
Successfully navigated to the 'Control Panel' page [ScreenShot] --- 06 Sep 20:19:33 819 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (41aa59e382f5568e6bb551462e218a41)] -> id: immAdministration]
--- 06 Sep 20:19:35 958 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (41aa59e382f5568e6bb551462e218a41)] -> id: immAdministration]
--- 06 Sep 20:19:36 328 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (41aa59e382f5568e6bb551462e218a41)] -> id: immMenuBandW]
--- 06 Sep 20:19:42 650 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 06 Sep 20:19:42 651 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 20:19:42 729 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (41aa59e382f5568e6bb551462e218a41)] -> id: imm_searchBr_GlobalControl]
--- 06 Sep 20:19:42 800 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (41aa59e382f5568e6bb551462e218a41)] -> id: imm_searchBr_GlobalControl]
--- 06 Sep 20:19:43 508 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (41aa59e382f5568e6bb551462e218a41)] -> id: immAllBranchesControl_SetSelectAllBrOption_CheckBox]
--- 06 Sep 20:19:43 652 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (41aa59e382f5568e6bb551462e218a41)] -> id: immAllBranchesControl_SetSelectAllBrOption_CheckBox]
Expected: select the list matching pattern in 'Branches' page
Actual(Passed): Successfully selected list in 'Branches' page[ScreenShot] --- 06 Sep 20:19:47 651 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 06 Sep 20:19:47 652 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 20:19:51 081 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 06 Sep 20:19:51 083 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 20:19:51 617 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (41aa59e382f5568e6bb551462e218a41)] -> css selector: button[id*='immBranch_TabSettings_']]
--- 06 Sep 20:19:51 751 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (41aa59e382f5568e6bb551462e218a41)] -> css selector: button[id*='immBranch_TabSettings_']]
--- 06 Sep 20:19:54 254 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (41aa59e382f5568e6bb551462e218a41)] -> xpath: //span[text()='Host Specific']/ancestor::mat-expansion-panel-header]
--- 06 Sep 20:19:54 318 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (41aa59e382f5568e6bb551462e218a41)] -> xpath: //span[text()='Others']/ancestor::mat-expansion-panel-header]
--- 06 Sep 20:19:54 387 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (41aa59e382f5568e6bb551462e218a41)] -> xpath: //span[text()='Receipt']/ancestor::mat-expansion-panel-header]
--- 06 Sep 20:19:54 488 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (41aa59e382f5568e6bb551462e218a41)] -> xpath: //span[text()='Report']/ancestor::mat-expansion-panel-header]
--- 06 Sep 20:19:54 618 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (41aa59e382f5568e6bb551462e218a41)] -> 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] --- 06 Sep 20:20:03 560 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 06 Sep 20:20:03 560 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 20:20:09 710 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (41aa59e382f5568e6bb551462e218a41)] -> id: immIsEditMode]
--- 06 Sep 20:20:18 678 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 06 Sep 20:20:18 680 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 20:20:23 803 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (41aa59e382f5568e6bb551462e218a41)] -> xpath: //div[@role='tab'][.//span[normalize-space()='Scan']]]
Expected: click on Scan tab
Actual(Passed): Sucessfully clicked on Scan tab[ScreenShot] --- 06 Sep 20:20:40 311 - Element not found : check Receipt Restart Text
Expected: Check the Restart eReceipts Label
Actual(Failed): Restart eReceipts Label is not present[ScreenShot] --- 06 Sep 20:20:45 744 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (41aa59e382f5568e6bb551462e218a41)] -> xpath: //div[@role='tab'][.//span[normalize-space()='Sign']]]
Expected: click on sign tab
Actual(Passed): Sucessfully clicked on sign tab[ScreenShot] --- 06 Sep 20:21:02 127 - Element not found : check Receipt Restart Text
Expected: Check the Restart eReceipts Label
Actual(Failed): Restart eReceipts Label is not present[ScreenShot] --- 06 Sep 20:21:07 552 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (41aa59e382f5568e6bb551462e218a41)] -> xpath: //div[@role='tab']//span[normalize-space()='Workstation']]
Expected: click on Workstation tab
Actual(Passed): Sucessfully clicked on Workstation tab[ScreenShot] --- 06 Sep 20:21:23 894 - 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.