--- 04 Sep 22:38:46 852 - TestCaseID:: verifyBranchPrintSettingsInAdmin
--- 04 Sep 22:39:00 842 - 14 - Driver::initialize::Get - com.imm.ereceipt.support.WebDriverFactory.get(WebDriverFactory.java:565)
verify Branch print settings Admin Portal
Steps:
--- 04 Sep 22:39:08 411 - 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=019917bd-e653-782d-8a4a-84609a5c9d51&response_mode=fragment&client_info=1&nonce=019917bd-e664-732b-aff5-f4eb2a106bf1&state=eyjpzci6ijaxotkxn2jklwu2ntutnzmyms04otnhltaxnzy2zdlhy2qymcisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=lvp73aasdbpkervztcxnnzjtbgivaqlen-_imzrgqz0&code_challenge_method=s256&sso_reload=true
--- 04 Sep 22:39:08 414 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 22:39:08 639 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (80fba725c00376d251de7b0189cb3189)] -> xpath: //input[@id='i0116']]
Successfully navigated to 'eReceipts FI Admin' Page
--- 04 Sep 22:39:08 755 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (80fba725c00376d251de7b0189cb3189)] -> xpath: //input[@id='i0116']]
--- 04 Sep 22:39:08 897 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (80fba725c00376d251de7b0189cb3189)] -> id: idSIButton9]
Text field 'User ID', Password' and button 'Login, 'Cancel' are displayed in the 'Login' page
--- 04 Sep 22:39:09 012 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (80fba725c00376d251de7b0189cb3189)] -> xpath: //input[@id='i0116']]
--- 04 Sep 22:39:09 112 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (80fba725c00376d251de7b0189cb3189)] -> xpath: //input[@id='i0116']]
--- 04 Sep 22:39:13 580 - 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=019917bd-e653-782d-8a4a-84609a5c9d51&response_mode=fragment&client_info=1&nonce=019917bd-e664-732b-aff5-f4eb2a106bf1&state=eyjpzci6ijaxotkxn2jklwu2ntutnzmyms04otnhltaxnzy2zdlhy2qymcisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=lvp73aasdbpkervztcxnnzjtbgivaqlen-_imzrgqz0&code_challenge_method=s256&sso_reload=true
--- 04 Sep 22:39:13 581 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 22:39:17 482 - 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=019917bd-e653-782d-8a4a-84609a5c9d51&response_mode=fragment&client_info=1&nonce=019917bd-e664-732b-aff5-f4eb2a106bf1&state=eyjpzci6ijaxotkxn2jklwu2ntutnzmyms04otnhltaxnzy2zdlhy2qymcisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=lvp73aasdbpkervztcxnnzjtbgivaqlen-_imzrgqz0&code_challenge_method=s256&sso_reload=true
--- 04 Sep 22:39:17 483 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 22:39:21 896 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (80fba725c00376d251de7b0189cb3189)] -> xpath: //input[@id='i0118']]
--- 04 Sep 22:39:22 019 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (80fba725c00376d251de7b0189cb3189)] -> xpath: //input[@id='i0118']]
--- 04 Sep 22:39:25 478 - 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=019917bd-e653-782d-8a4a-84609a5c9d51&response_mode=fragment&client_info=1&nonce=019917bd-e664-732b-aff5-f4eb2a106bf1&state=eyjpzci6ijaxotkxn2jklwu2ntutnzmyms04otnhltaxnzy2zdlhy2qymcisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=lvp73aasdbpkervztcxnnzjtbgivaqlen-_imzrgqz0&code_challenge_method=s256&sso_reload=true
--- 04 Sep 22:39:25 479 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
logged with the Username:fiAdmin@Qaxpauto1.onmicrosoft.com
--- 04 Sep 22:39:30 401 - Page URL:: https://login.microsoftonline.com/common/login
--- 04 Sep 22:39:30 402 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 22:39:40 005 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 04 Sep 22:39:40 007 - 6 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 22:39:43 471 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 04 Sep 22:39:43 472 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 22:39:43 604 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (80fba725c00376d251de7b0189cb3189)] -> xpath: //*[@id='immFIAdminHeader' and normalize-space()='Admin Dashboard']]
--- 04 Sep 22:39:46 851 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 04 Sep 22:39:46 852 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 22:39:46 955 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (80fba725c00376d251de7b0189cb3189)] -> xpath: //b[contains(text(),'Dashboard')]]
Successfully navigated to the 'Control Panel' page [ScreenShot] --- 04 Sep 22:39:47 379 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (80fba725c00376d251de7b0189cb3189)] -> id: immAdministration]
--- 04 Sep 22:39:49 596 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (80fba725c00376d251de7b0189cb3189)] -> id: immAdministration]
--- 04 Sep 22:39:50 262 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (80fba725c00376d251de7b0189cb3189)] -> id: immMenuBandW]
--- 04 Sep 22:39:56 897 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (80fba725c00376d251de7b0189cb3189)] -> id: immGlobalControl_NewBranch_button]
--- 04 Sep 22:39:57 716 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (80fba725c00376d251de7b0189cb3189)] -> css selector: button[id*='immBranch_ButtonClose_']]
Clicked on Add New Branch icon
--- 04 Sep 22:39:57 864 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (80fba725c00376d251de7b0189cb3189)] -> css selector: input[id*='immBranch_BranchName_']]
--- 04 Sep 22:39:58 016 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (80fba725c00376d251de7b0189cb3189)] -> css selector: input[id*='immBranch_BranchName_']]
--- 04 Sep 22:40:01 249 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (80fba725c00376d251de7b0189cb3189)] -> css selector: button[id*='immBranch_ButtonSave_']]
--- 04 Sep 22:40:01 410 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (80fba725c00376d251de7b0189cb3189)] -> css selector: button[id*='immBranch_ButtonSave_']]
--- 04 Sep 22:40:01 936 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (80fba725c00376d251de7b0189cb3189)] -> id: immGlobalControl_NewBranch_button]
--- 04 Sep 22:40:05 680 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 04 Sep 22:40:05 682 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 22:40:05 801 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (80fba725c00376d251de7b0189cb3189)] -> id: imm_searchBr_GlobalControl]
--- 04 Sep 22:40:05 892 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (80fba725c00376d251de7b0189cb3189)] -> id: imm_searchBr_GlobalControl]
--- 04 Sep 22:40:06 535 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (80fba725c00376d251de7b0189cb3189)] -> id: immAllBranchesControl_SetSelectAllBrOption_CheckBox]
--- 04 Sep 22:40:06 653 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (80fba725c00376d251de7b0189cb3189)] -> id: immAllBranchesControl_SetSelectAllBrOption_CheckBox]
Expected: select the list matching pattern in 'Branches' page
Actual(Passed): Successfully selected list in 'Branches' page[ScreenShot] --- 04 Sep 22:40:10 557 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 04 Sep 22:40:10 559 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 22:40:11 108 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (80fba725c00376d251de7b0189cb3189)] -> css selector: button[id*='immBranch_TabSettings_']]
--- 04 Sep 22:40:11 265 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (80fba725c00376d251de7b0189cb3189)] -> css selector: button[id*='immBranch_TabSettings_']]
--- 04 Sep 22:40:13 772 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (80fba725c00376d251de7b0189cb3189)] -> xpath: //span[text()='Host Specific']/ancestor::mat-expansion-panel-header]
--- 04 Sep 22:40:13 917 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (80fba725c00376d251de7b0189cb3189)] -> xpath: //span[text()='Others']/ancestor::mat-expansion-panel-header]
--- 04 Sep 22:40:14 041 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (80fba725c00376d251de7b0189cb3189)] -> xpath: //span[text()='Receipt']/ancestor::mat-expansion-panel-header]
--- 04 Sep 22:40:14 149 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (80fba725c00376d251de7b0189cb3189)] -> xpath: //span[text()='Report']/ancestor::mat-expansion-panel-header]
--- 04 Sep 22:40:14 266 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (80fba725c00376d251de7b0189cb3189)] -> 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] --- 04 Sep 22:40:24 085 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 04 Sep 22:40:24 086 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 22:40:30 258 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (80fba725c00376d251de7b0189cb3189)] -> id: immIsEditMode]
--- 04 Sep 22:40:39 057 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 04 Sep 22:40:39 059 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
Expected: Expand the Receipt panel
Actual(Passed): Sucessfully Expanded the Receipt panel[ScreenShot]