--- 04 Sep 22:46:44 127 - TestCaseID:: verifyBranchPrintSettingsInAdmin
--- 04 Sep 22:46:55 260 - 11 - Driver::initialize::Get - com.imm.ereceipt.support.WebDriverFactory.get(WebDriverFactory.java:565)
verify Branch print settings Admin Portal
Steps:
--- 04 Sep 22:47:02 111 - 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=019917c5-1fca-7c09-87a2-17dfb1b10f1e&response_mode=fragment&client_info=1&nonce=019917c5-1fd9-7cdb-a6af-d3adfcc3cf0d&state=eyjpzci6ijaxotkxn2m1ltfmy2mtnzm1mc05ntuwlwi0y2eynjnjotbjmcisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=6ynvrkfrhjecasdle1s3tmjpo5li3o1yzkrubgkegtm&code_challenge_method=s256&sso_reload=true
--- 04 Sep 22:47:02 113 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 22:47:02 317 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f5b4a5ed7d0a641f8575eb2e68230d58)] -> xpath: //input[@id='i0116']]
Successfully navigated to 'eReceipts FI Admin' Page
--- 04 Sep 22:47:02 439 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f5b4a5ed7d0a641f8575eb2e68230d58)] -> xpath: //input[@id='i0116']]
--- 04 Sep 22:47:02 589 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f5b4a5ed7d0a641f8575eb2e68230d58)] -> id: idSIButton9]
Text field 'User ID', Password' and button 'Login, 'Cancel' are displayed in the 'Login' page
--- 04 Sep 22:47:02 719 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f5b4a5ed7d0a641f8575eb2e68230d58)] -> xpath: //input[@id='i0116']]
--- 04 Sep 22:47:02 893 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f5b4a5ed7d0a641f8575eb2e68230d58)] -> xpath: //input[@id='i0116']]
--- 04 Sep 22:47:07 261 - 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=019917c5-1fca-7c09-87a2-17dfb1b10f1e&response_mode=fragment&client_info=1&nonce=019917c5-1fd9-7cdb-a6af-d3adfcc3cf0d&state=eyjpzci6ijaxotkxn2m1ltfmy2mtnzm1mc05ntuwlwi0y2eynjnjotbjmcisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=6ynvrkfrhjecasdle1s3tmjpo5li3o1yzkrubgkegtm&code_challenge_method=s256&sso_reload=true
--- 04 Sep 22:47:07 262 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 22:47:11 198 - 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=019917c5-1fca-7c09-87a2-17dfb1b10f1e&response_mode=fragment&client_info=1&nonce=019917c5-1fd9-7cdb-a6af-d3adfcc3cf0d&state=eyjpzci6ijaxotkxn2m1ltfmy2mtnzm1mc05ntuwlwi0y2eynjnjotbjmcisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=6ynvrkfrhjecasdle1s3tmjpo5li3o1yzkrubgkegtm&code_challenge_method=s256&sso_reload=true
--- 04 Sep 22:47:11 200 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 22:47:15 569 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f5b4a5ed7d0a641f8575eb2e68230d58)] -> xpath: //input[@id='i0118']]
--- 04 Sep 22:47:15 715 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f5b4a5ed7d0a641f8575eb2e68230d58)] -> xpath: //input[@id='i0118']]
--- 04 Sep 22:47:19 253 - 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=019917c5-1fca-7c09-87a2-17dfb1b10f1e&response_mode=fragment&client_info=1&nonce=019917c5-1fd9-7cdb-a6af-d3adfcc3cf0d&state=eyjpzci6ijaxotkxn2m1ltfmy2mtnzm1mc05ntuwlwi0y2eynjnjotbjmcisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=6ynvrkfrhjecasdle1s3tmjpo5li3o1yzkrubgkegtm&code_challenge_method=s256&sso_reload=true
--- 04 Sep 22:47:19 254 - 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:47:24 792 - Page URL:: https://login.microsoftonline.com/common/login
--- 04 Sep 22:47:24 793 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 22:47:36 217 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 04 Sep 22:47:36 218 - 4 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 22:47:39 667 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 04 Sep 22:47:39 668 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 22:47:39 813 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f5b4a5ed7d0a641f8575eb2e68230d58)] -> xpath: //*[@id='immFIAdminHeader' and normalize-space()='Admin Dashboard']]
--- 04 Sep 22:47:43 046 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 04 Sep 22:47:43 047 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 22:47:43 148 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f5b4a5ed7d0a641f8575eb2e68230d58)] -> xpath: //b[contains(text(),'Dashboard')]]
Successfully navigated to the 'Control Panel' page [ScreenShot] --- 04 Sep 22:47:43 465 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f5b4a5ed7d0a641f8575eb2e68230d58)] -> id: immAdministration]
--- 04 Sep 22:47:45 710 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f5b4a5ed7d0a641f8575eb2e68230d58)] -> id: immAdministration]
--- 04 Sep 22:47:46 308 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f5b4a5ed7d0a641f8575eb2e68230d58)] -> id: immMenuBandW]
--- 04 Sep 22:47:53 796 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f5b4a5ed7d0a641f8575eb2e68230d58)] -> id: immGlobalControl_NewBranch_button]
--- 04 Sep 22:47:54 675 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f5b4a5ed7d0a641f8575eb2e68230d58)] -> css selector: button[id*='immBranch_ButtonClose_']]
Clicked on Add New Branch icon
--- 04 Sep 22:47:54 832 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f5b4a5ed7d0a641f8575eb2e68230d58)] -> css selector: input[id*='immBranch_BranchName_']]
--- 04 Sep 22:47:54 948 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f5b4a5ed7d0a641f8575eb2e68230d58)] -> css selector: input[id*='immBranch_BranchName_']]
--- 04 Sep 22:47:55 923 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f5b4a5ed7d0a641f8575eb2e68230d58)] -> css selector: button[id*='immBranch_ButtonSave_']]
--- 04 Sep 22:47:56 158 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f5b4a5ed7d0a641f8575eb2e68230d58)] -> css selector: button[id*='immBranch_ButtonSave_']]
--- 04 Sep 22:47:56 515 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f5b4a5ed7d0a641f8575eb2e68230d58)] -> id: immGlobalControl_NewBranch_button]
--- 04 Sep 22:48:00 320 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 04 Sep 22:48:00 322 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 22:48:00 469 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f5b4a5ed7d0a641f8575eb2e68230d58)] -> id: imm_searchBr_GlobalControl]
--- 04 Sep 22:48:00 572 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f5b4a5ed7d0a641f8575eb2e68230d58)] -> id: imm_searchBr_GlobalControl]
--- 04 Sep 22:48:01 553 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f5b4a5ed7d0a641f8575eb2e68230d58)] -> id: immAllBranchesControl_SetSelectAllBrOption_CheckBox]
--- 04 Sep 22:48:01 883 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f5b4a5ed7d0a641f8575eb2e68230d58)] -> 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:48:05 880 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 04 Sep 22:48:05 881 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 22:48:06 483 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f5b4a5ed7d0a641f8575eb2e68230d58)] -> css selector: button[id*='immBranch_TabSettings_']]
--- 04 Sep 22:48:06 643 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f5b4a5ed7d0a641f8575eb2e68230d58)] -> css selector: button[id*='immBranch_TabSettings_']]
--- 04 Sep 22:48:09 258 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f5b4a5ed7d0a641f8575eb2e68230d58)] -> xpath: //span[text()='Host Specific']/ancestor::mat-expansion-panel-header]
--- 04 Sep 22:48:09 397 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f5b4a5ed7d0a641f8575eb2e68230d58)] -> xpath: //span[text()='Others']/ancestor::mat-expansion-panel-header]
--- 04 Sep 22:48:09 521 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f5b4a5ed7d0a641f8575eb2e68230d58)] -> xpath: //span[text()='Receipt']/ancestor::mat-expansion-panel-header]
--- 04 Sep 22:48:09 651 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f5b4a5ed7d0a641f8575eb2e68230d58)] -> xpath: //span[text()='Report']/ancestor::mat-expansion-panel-header]
--- 04 Sep 22:48:09 733 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f5b4a5ed7d0a641f8575eb2e68230d58)] -> 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:48:19 465 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 04 Sep 22:48:19 466 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 22:48:25 634 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f5b4a5ed7d0a641f8575eb2e68230d58)] -> id: immIsEditMode]
--- 04 Sep 22:48:35 202 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 04 Sep 22:48:35 203 - 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] --- 04 Sep 22:48:39 882 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f5b4a5ed7d0a641f8575eb2e68230d58)] -> id: immReceiptPrinterName]
Expected: Select the Priner Name
Actual(Passed): Sucessfully Selected the Priner Name:Fax[ScreenShot] Expected: Select 'Name'
Actual(Passed): Sucessfully Selected 'Name' : Courier New[ScreenShot] Expected: Select 'Size'
Actual(Passed): Sucessfully Selected 'Size' : 8[ScreenShot] Expected: click 'Style'
Actual(Failed): Failed to click 'Style'[ScreenShot] Expected: select 'Printer Style'
Actual(Passed): Sucessfully Printer ' printer Style' : Narrow[ScreenShot] --- 04 Sep 22:49:14 176 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f5b4a5ed7d0a641f8575eb2e68230d58)] -> xpath: //span[text()='Report']/ancestor::mat-expansion-panel-header]
Expected: Expand the Report panel
Actual(Passed): Sucessfully Expanded the Report panel[ScreenShot] --- 04 Sep 22:49:21 310 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f5b4a5ed7d0a641f8575eb2e68230d58)] -> id: immReportPrinterName]
Expected: Select the Priner Name
Actual(Passed): Sucessfully Selected the Priner Name:Fax[ScreenShot] Expected: click 'Orientation'
Actual(Failed): Failed to click 'Orientation'[ScreenShot] Expected: Select 'Name'
Actual(Passed): Sucessfully Selected 'Name' : Consolas[ScreenShot] Expected: Select 'Size'
Actual(Passed): Sucessfully Selected 'Size' : 10[ScreenShot] Expected: click 'Style'
Actual(Failed): Failed to click 'Style'[ScreenShot] --- 04 Sep 22:49:54 675 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f5b4a5ed7d0a641f8575eb2e68230d58)] -> xpath: //span[text()='Suppress']/ancestor::mat-expansion-panel-header]
Expected: Expand the Suppress panel
Actual(Passed): Sucessfully Expanded the Suppress panel[ScreenShot] Expected: Logo1 ( slider -on(true)/off(false))
Actual(Passed): Sucessfully slidered the log1:false[ScreenShot] Expected: Logo2 ( slider -on(true)/off(false))
Actual(Passed): Sucessfully slidered the Logo2:false[ScreenShot] Expected: CuAdress ( slider -on(true)/off(false))
Actual(Passed): Sucessfully slidered the CuAdress:false[ScreenShot] Expected: Member Address ( slider -on(true)/off(false))
Actual(Passed): Sucessfully slidered the Member Address:false[ScreenShot] --- 04 Sep 22:50:00 485 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f5b4a5ed7d0a641f8575eb2e68230d58)] -> xpath: //span[text()='Others']/ancestor::mat-expansion-panel-header]
Expected: Expand the Others panel
Actual(Passed): Sucessfully Expanded the Others panel[ScreenShot] Expected: Print Signature ( slider -on/off) Signature Line Text ( character text)
Actual(Passed): Sucessfully slidered the Print Signature[ScreenShot] --- 04 Sep 22:50:01 623 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f5b4a5ed7d0a641f8575eb2e68230d58)] -> xpath: //span[text()='Host Specific']/ancestor::mat-expansion-panel-header]
Expected: Expand the Host Specific panel
Actual(Passed): Sucessfully Expanded the Host Specific panel[ScreenShot] Expected: Print Disburstments ( slider -on/off)
Actual(Passed): Sucessfully slidered the Print Disburstments[ScreenShot]
Test Failed. Check the steps above in red color.