--- 06 Sep 15:07:05 510 - TestCaseID:: verifyBranchWorkstationSettingsInAdmin
--- 06 Sep 15:07:10 781 - 5 - Driver::initialize::Get - com.imm.ereceipt.support.WebDriverFactory.get(WebDriverFactory.java:565)
verify Branch Workstation Settings Admin Portal
Steps:
--- 06 Sep 15:07:15 091 - 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=0199206c-e7d7-70bd-a678-b15d43379c85&response_mode=fragment&client_info=1&nonce=0199206c-e7da-7003-977e-b9f88b009c56&state=eyjpzci6ijaxotkymdzjlwu3zdktnzmxzs05ndgxlthkmjdjzdk4nzmwzsisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=qd4hiv6wwrmbsxm4fno56jatdq8kclrouypcpl0piw8&code_challenge_method=s256&sso_reload=true
--- 06 Sep 15:07:15 094 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 15:07:15 188 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (1a8ab13328d8e1c6df8ecae8da609fc5)] -> xpath: //input[@id='i0116']]
Successfully navigated to 'eReceipts FI Admin' Page
--- 06 Sep 15:07:15 274 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (1a8ab13328d8e1c6df8ecae8da609fc5)] -> xpath: //input[@id='i0116']]
--- 06 Sep 15:07:15 377 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (1a8ab13328d8e1c6df8ecae8da609fc5)] -> id: idSIButton9]
Text field 'User ID', Password' and button 'Login, 'Cancel' are displayed in the 'Login' page
--- 06 Sep 15:07:15 479 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (1a8ab13328d8e1c6df8ecae8da609fc5)] -> xpath: //input[@id='i0116']]
--- 06 Sep 15:07:15 587 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (1a8ab13328d8e1c6df8ecae8da609fc5)] -> xpath: //input[@id='i0116']]
--- 06 Sep 15:07:19 050 - 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=0199206c-e7d7-70bd-a678-b15d43379c85&response_mode=fragment&client_info=1&nonce=0199206c-e7da-7003-977e-b9f88b009c56&state=eyjpzci6ijaxotkymdzjlwu3zdktnzmxzs05ndgxlthkmjdjzdk4nzmwzsisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=qd4hiv6wwrmbsxm4fno56jatdq8kclrouypcpl0piw8&code_challenge_method=s256&sso_reload=true
--- 06 Sep 15:07:19 052 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 15:07:22 368 - 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=0199206c-e7d7-70bd-a678-b15d43379c85&response_mode=fragment&client_info=1&nonce=0199206c-e7da-7003-977e-b9f88b009c56&state=eyjpzci6ijaxotkymdzjlwu3zdktnzmxzs05ndgxlthkmjdjzdk4nzmwzsisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=qd4hiv6wwrmbsxm4fno56jatdq8kclrouypcpl0piw8&code_challenge_method=s256&sso_reload=true
--- 06 Sep 15:07:22 369 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 15:07:25 865 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (1a8ab13328d8e1c6df8ecae8da609fc5)] -> xpath: //input[@id='i0118']]
--- 06 Sep 15:07:25 942 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (1a8ab13328d8e1c6df8ecae8da609fc5)] -> xpath: //input[@id='i0118']]
--- 06 Sep 15:07:29 223 - 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=0199206c-e7d7-70bd-a678-b15d43379c85&response_mode=fragment&client_info=1&nonce=0199206c-e7da-7003-977e-b9f88b009c56&state=eyjpzci6ijaxotkymdzjlwu3zdktnzmxzs05ndgxlthkmjdjzdk4nzmwzsisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=qd4hiv6wwrmbsxm4fno56jatdq8kclrouypcpl0piw8&code_challenge_method=s256&sso_reload=true
--- 06 Sep 15:07:29 224 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
logged with the Username:fiAdmin@Qaxpauto1.onmicrosoft.com
--- 06 Sep 15:07:33 394 - Page URL:: https://login.microsoftonline.com/common/login
--- 06 Sep 15:07:33 394 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 15:07:40 425 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 06 Sep 15:07:40 426 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 15:07:43 561 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 06 Sep 15:07:43 561 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 15:07:43 645 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (1a8ab13328d8e1c6df8ecae8da609fc5)] -> xpath: //*[@id='immFIAdminHeader' and normalize-space()='Admin Dashboard']]
--- 06 Sep 15:07:46 766 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 06 Sep 15:07:46 767 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 15:07:46 840 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (1a8ab13328d8e1c6df8ecae8da609fc5)] -> xpath: //b[contains(text(),'Dashboard')]]
Successfully navigated to the 'Control Panel' page [ScreenShot] --- 06 Sep 15:07:47 058 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (1a8ab13328d8e1c6df8ecae8da609fc5)] -> id: immAdministration]
--- 06 Sep 15:07:49 183 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (1a8ab13328d8e1c6df8ecae8da609fc5)] -> id: immAdministration]
--- 06 Sep 15:07:49 399 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (1a8ab13328d8e1c6df8ecae8da609fc5)] -> id: immMenuBandW]
--- 06 Sep 15:07:55 119 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 06 Sep 15:07:55 120 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 15:07:59 178 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 06 Sep 15:07:59 178 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 15:07:59 249 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (1a8ab13328d8e1c6df8ecae8da609fc5)] -> id: imm_searchBr_GlobalControl]
--- 06 Sep 15:07:59 412 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (1a8ab13328d8e1c6df8ecae8da609fc5)] -> id: imm_searchBr_GlobalControl]
--- 06 Sep 15:07:59 949 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (1a8ab13328d8e1c6df8ecae8da609fc5)] -> id: immAllBranchesControl_SetSelectAllBrOption_CheckBox]
--- 06 Sep 15:08:00 053 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (1a8ab13328d8e1c6df8ecae8da609fc5)] -> id: immAllBranchesControl_SetSelectAllBrOption_CheckBox]
Expected: select the list matching pattern in 'Branches' page
Actual(Passed): Successfully selected list in 'Branches' page[ScreenShot] --- 06 Sep 15:08:03 652 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 06 Sep 15:08:03 652 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 15:08:04 040 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (1a8ab13328d8e1c6df8ecae8da609fc5)] -> css selector: button[id*='immBranch_TabSettings_']]
--- 06 Sep 15:08:04 129 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (1a8ab13328d8e1c6df8ecae8da609fc5)] -> css selector: button[id*='immBranch_TabSettings_']]
--- 06 Sep 15:08:06 460 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (1a8ab13328d8e1c6df8ecae8da609fc5)] -> xpath: //span[text()='Host Specific']/ancestor::mat-expansion-panel-header]
--- 06 Sep 15:08:06 528 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (1a8ab13328d8e1c6df8ecae8da609fc5)] -> xpath: //span[text()='Others']/ancestor::mat-expansion-panel-header]
--- 06 Sep 15:08:06 593 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (1a8ab13328d8e1c6df8ecae8da609fc5)] -> xpath: //span[text()='Receipt']/ancestor::mat-expansion-panel-header]
--- 06 Sep 15:08:06 659 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (1a8ab13328d8e1c6df8ecae8da609fc5)] -> xpath: //span[text()='Report']/ancestor::mat-expansion-panel-header]
--- 06 Sep 15:08:06 727 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (1a8ab13328d8e1c6df8ecae8da609fc5)] -> 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 15:08:15 182 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 06 Sep 15:08:15 183 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 15:08:21 307 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (1a8ab13328d8e1c6df8ecae8da609fc5)] -> id: immIsEditMode]
--- 06 Sep 15:08:29 904 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 06 Sep 15:08:29 905 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 15:08:35 020 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (1a8ab13328d8e1c6df8ecae8da609fc5)] -> xpath: //div[@role='tab']//span[normalize-space()='Workstation']]
Expected: click on Workstation tab
Actual(Passed): Sucessfully clicked on Workstation tab[ScreenShot] --- 06 Sep 15:08:41 746 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (1a8ab13328d8e1c6df8ecae8da609fc5)] -> id: immClientAgentLogFileLocation]
Expected: set Log File Location
Actual(Passed): Sucessfully set Log File Location:C:\PDF\Logs[ScreenShot] Expected: Select Log Event Level
Actual(Passed): Sucessfully Selected Log Event Level:Verbose[ScreenShot] --- 06 Sep 15:09:01 302 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (1a8ab13328d8e1c6df8ecae8da609fc5)] -> id: immClientAgentFileSize]
Expected: set File Size in Bytes
Actual(Passed): Sucessfully set File Size in Bytes:10[ScreenShot] --- 06 Sep 15:09:09 053 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (1a8ab13328d8e1c6df8ecae8da609fc5)] -> id: immClientAgentRetainedFileCountLimit]
Expected: set Retained File Count Limit
Actual(Passed): Sucessfully set Retained File Count Limit:10[ScreenShot] Expected: File ( slider -on(true)/off(false))
Actual(Failed): Failed to slidered the File[ScreenShot] Expected: Port ( slider -on(true)/off(false))
Actual(Passed): Sucessfully slidered the Port:False[ScreenShot]
Test Failed. Check the steps above in red color.