--- 06 Sep 15:11:10 943 - TestCaseID:: verifyBranchWorkstationSettingsInAdmin
--- 06 Sep 15:11:15 158 - 4 - Driver::initialize::Get - com.imm.ereceipt.support.WebDriverFactory.get(WebDriverFactory.java:565)
verify Branch Workstation Settings Admin Portal
Steps:
--- 06 Sep 15:11:19 416 - 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=01992070-a1e0-778f-b068-1003d0026598&response_mode=fragment&client_info=1&nonce=01992070-a1e2-7fca-bee2-f3bb27a82bf7&state=eyjpzci6ijaxotkymdcwlwexztitn2jjzc05mmq0ltzhzdniytc3mdi5ysisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=2lgcda6m8l6tvdvjf5jidj3w4kqx7hhr8ueykmvonv4&code_challenge_method=s256&sso_reload=true
--- 06 Sep 15:11:19 418 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 15:11:19 518 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (59e04a09e1a8fda24db29bc19fe796ba)] -> xpath: //input[@id='i0116']]
Successfully navigated to 'eReceipts FI Admin' Page
--- 06 Sep 15:11:19 624 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (59e04a09e1a8fda24db29bc19fe796ba)] -> xpath: //input[@id='i0116']]
--- 06 Sep 15:11:19 741 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (59e04a09e1a8fda24db29bc19fe796ba)] -> id: idSIButton9]
Text field 'User ID', Password' and button 'Login, 'Cancel' are displayed in the 'Login' page
--- 06 Sep 15:11:19 844 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (59e04a09e1a8fda24db29bc19fe796ba)] -> xpath: //input[@id='i0116']]
--- 06 Sep 15:11:19 949 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (59e04a09e1a8fda24db29bc19fe796ba)] -> xpath: //input[@id='i0116']]
--- 06 Sep 15:11:23 418 - 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=01992070-a1e0-778f-b068-1003d0026598&response_mode=fragment&client_info=1&nonce=01992070-a1e2-7fca-bee2-f3bb27a82bf7&state=eyjpzci6ijaxotkymdcwlwexztitn2jjzc05mmq0ltzhzdniytc3mdi5ysisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=2lgcda6m8l6tvdvjf5jidj3w4kqx7hhr8ueykmvonv4&code_challenge_method=s256&sso_reload=true
--- 06 Sep 15:11:23 419 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 15:11:26 716 - 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=01992070-a1e0-778f-b068-1003d0026598&response_mode=fragment&client_info=1&nonce=01992070-a1e2-7fca-bee2-f3bb27a82bf7&state=eyjpzci6ijaxotkymdcwlwexztitn2jjzc05mmq0ltzhzdniytc3mdi5ysisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=2lgcda6m8l6tvdvjf5jidj3w4kqx7hhr8ueykmvonv4&code_challenge_method=s256&sso_reload=true
--- 06 Sep 15:11:26 717 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 15:11:30 176 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (59e04a09e1a8fda24db29bc19fe796ba)] -> xpath: //input[@id='i0118']]
--- 06 Sep 15:11:30 239 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (59e04a09e1a8fda24db29bc19fe796ba)] -> xpath: //input[@id='i0118']]
--- 06 Sep 15:11:33 525 - 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=01992070-a1e0-778f-b068-1003d0026598&response_mode=fragment&client_info=1&nonce=01992070-a1e2-7fca-bee2-f3bb27a82bf7&state=eyjpzci6ijaxotkymdcwlwexztitn2jjzc05mmq0ltzhzdniytc3mdi5ysisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=2lgcda6m8l6tvdvjf5jidj3w4kqx7hhr8ueykmvonv4&code_challenge_method=s256&sso_reload=true
--- 06 Sep 15:11:33 525 - 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:11:37 812 - Page URL:: https://login.microsoftonline.com/common/login
--- 06 Sep 15:11:37 812 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 15:11:44 829 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 06 Sep 15:11:44 830 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 15:11:47 960 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 06 Sep 15:11:47 961 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 15:11:48 032 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (59e04a09e1a8fda24db29bc19fe796ba)] -> xpath: //*[@id='immFIAdminHeader' and normalize-space()='Admin Dashboard']]
--- 06 Sep 15:11:51 147 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 06 Sep 15:11:51 148 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 15:11:51 211 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (59e04a09e1a8fda24db29bc19fe796ba)] -> xpath: //b[contains(text(),'Dashboard')]]
Successfully navigated to the 'Control Panel' page [ScreenShot] --- 06 Sep 15:11:51 433 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (59e04a09e1a8fda24db29bc19fe796ba)] -> id: immAdministration]
--- 06 Sep 15:11:53 542 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (59e04a09e1a8fda24db29bc19fe796ba)] -> id: immAdministration]
--- 06 Sep 15:11:53 751 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (59e04a09e1a8fda24db29bc19fe796ba)] -> id: immMenuBandW]
--- 06 Sep 15:11:59 420 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 06 Sep 15:11:59 421 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 15:12:03 408 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 06 Sep 15:12:03 408 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 15:12:03 483 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (59e04a09e1a8fda24db29bc19fe796ba)] -> id: imm_searchBr_GlobalControl]
--- 06 Sep 15:12:03 574 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (59e04a09e1a8fda24db29bc19fe796ba)] -> id: imm_searchBr_GlobalControl]
--- 06 Sep 15:12:04 038 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (59e04a09e1a8fda24db29bc19fe796ba)] -> id: immAllBranchesControl_SetSelectAllBrOption_CheckBox]
--- 06 Sep 15:12:04 131 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (59e04a09e1a8fda24db29bc19fe796ba)] -> 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:12:07 750 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 06 Sep 15:12:07 751 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 15:12:08 180 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (59e04a09e1a8fda24db29bc19fe796ba)] -> css selector: button[id*='immBranch_TabSettings_']]
--- 06 Sep 15:12:08 285 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (59e04a09e1a8fda24db29bc19fe796ba)] -> css selector: button[id*='immBranch_TabSettings_']]
--- 06 Sep 15:12:10 649 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (59e04a09e1a8fda24db29bc19fe796ba)] -> xpath: //span[text()='Host Specific']/ancestor::mat-expansion-panel-header]
--- 06 Sep 15:12:10 714 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (59e04a09e1a8fda24db29bc19fe796ba)] -> xpath: //span[text()='Others']/ancestor::mat-expansion-panel-header]
--- 06 Sep 15:12:10 806 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (59e04a09e1a8fda24db29bc19fe796ba)] -> xpath: //span[text()='Receipt']/ancestor::mat-expansion-panel-header]
--- 06 Sep 15:12:10 877 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (59e04a09e1a8fda24db29bc19fe796ba)] -> xpath: //span[text()='Report']/ancestor::mat-expansion-panel-header]
--- 06 Sep 15:12:10 956 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (59e04a09e1a8fda24db29bc19fe796ba)] -> 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:12:19 541 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 06 Sep 15:12:19 542 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 15:12:25 664 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (59e04a09e1a8fda24db29bc19fe796ba)] -> id: immIsEditMode]
--- 06 Sep 15:12:34 362 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 06 Sep 15:12:34 363 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 15:12:39 471 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (59e04a09e1a8fda24db29bc19fe796ba)] -> xpath: //div[@role='tab']//span[normalize-space()='Workstation']]
Expected: click on Workstation tab
Actual(Passed): Sucessfully clicked on Workstation tab[ScreenShot] --- 06 Sep 15:12:46 131 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (59e04a09e1a8fda24db29bc19fe796ba)] -> 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:13:05 723 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (59e04a09e1a8fda24db29bc19fe796ba)] -> id: immClientAgentFileSize]
Expected: set File Size in Bytes
Actual(Passed): Sucessfully set File Size in Bytes:10[ScreenShot] --- 06 Sep 15:13:13 546 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (59e04a09e1a8fda24db29bc19fe796ba)] -> 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(Failed): Failed to slidered the Port[ScreenShot]
Test Failed. Check the steps above in red color.