--- 05 Sep 13:14:14 577 - TestCaseID:: verifyBranchPrintSettingsInAdmin
--- 05 Sep 13:14:22 993 - 8 - Driver::initialize::Get - com.imm.ereceipt.support.WebDriverFactory.get(WebDriverFactory.java:565)
verify Branch print settings Admin Portal
Steps:
--- 05 Sep 13:14:28 644 - 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=01991adf-4bfb-7903-b3fc-a27fa91f7a4d&response_mode=fragment&client_info=1&nonce=01991adf-4bff-71b9-9d0f-315d3085bb5e&state=eyjpzci6ijaxotkxywrmltrizmqtnzm1my04ogyxlwfhzde5mdlhotk2ncisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=rsmjv__crno0hzlss3yrqgfwyfzc81cobfw19v7duem&code_challenge_method=s256&sso_reload=true
--- 05 Sep 13:14:28 647 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 13:14:28 818 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f82a3a8b989738ca7f2c603c7a9692b4)] -> xpath: //input[@id='i0116']]
Successfully navigated to 'eReceipts FI Admin' Page
--- 05 Sep 13:14:28 920 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f82a3a8b989738ca7f2c603c7a9692b4)] -> xpath: //input[@id='i0116']]
--- 05 Sep 13:14:29 025 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f82a3a8b989738ca7f2c603c7a9692b4)] -> id: idSIButton9]
Text field 'User ID', Password' and button 'Login, 'Cancel' are displayed in the 'Login' page
--- 05 Sep 13:14:29 124 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f82a3a8b989738ca7f2c603c7a9692b4)] -> xpath: //input[@id='i0116']]
--- 05 Sep 13:14:29 224 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f82a3a8b989738ca7f2c603c7a9692b4)] -> xpath: //input[@id='i0116']]
--- 05 Sep 13:14:33 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=01991adf-4bfb-7903-b3fc-a27fa91f7a4d&response_mode=fragment&client_info=1&nonce=01991adf-4bff-71b9-9d0f-315d3085bb5e&state=eyjpzci6ijaxotkxywrmltrizmqtnzm1my04ogyxlwfhzde5mdlhotk2ncisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=rsmjv__crno0hzlss3yrqgfwyfzc81cobfw19v7duem&code_challenge_method=s256&sso_reload=true
--- 05 Sep 13:14:33 092 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 13:14:37 022 - 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=01991adf-4bfb-7903-b3fc-a27fa91f7a4d&response_mode=fragment&client_info=1&nonce=01991adf-4bff-71b9-9d0f-315d3085bb5e&state=eyjpzci6ijaxotkxywrmltrizmqtnzm1my04ogyxlwfhzde5mdlhotk2ncisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=rsmjv__crno0hzlss3yrqgfwyfzc81cobfw19v7duem&code_challenge_method=s256&sso_reload=true
--- 05 Sep 13:14:37 023 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 13:14:40 867 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f82a3a8b989738ca7f2c603c7a9692b4)] -> xpath: //input[@id='i0118']]
--- 05 Sep 13:14:40 960 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f82a3a8b989738ca7f2c603c7a9692b4)] -> xpath: //input[@id='i0118']]
--- 05 Sep 13:14:44 490 - 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=01991adf-4bfb-7903-b3fc-a27fa91f7a4d&response_mode=fragment&client_info=1&nonce=01991adf-4bff-71b9-9d0f-315d3085bb5e&state=eyjpzci6ijaxotkxywrmltrizmqtnzm1my04ogyxlwfhzde5mdlhotk2ncisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=rsmjv__crno0hzlss3yrqgfwyfzc81cobfw19v7duem&code_challenge_method=s256&sso_reload=true
--- 05 Sep 13:14:44 492 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
logged with the Username:fiAdmin@Qaxpauto1.onmicrosoft.com
--- 05 Sep 13:14:49 797 - Page URL:: https://login.microsoftonline.com/common/login
--- 05 Sep 13:14:49 798 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 13:14:58 080 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 05 Sep 13:14:58 080 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 13:15:01 383 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 05 Sep 13:15:01 384 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 13:15:01 500 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f82a3a8b989738ca7f2c603c7a9692b4)] -> xpath: //*[@id='immFIAdminHeader' and normalize-space()='Admin Dashboard']]
--- 05 Sep 13:15:04 686 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 05 Sep 13:15:04 687 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 13:15:04 772 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f82a3a8b989738ca7f2c603c7a9692b4)] -> xpath: //b[contains(text(),'Dashboard')]]
Successfully navigated to the 'Control Panel' page [ScreenShot] --- 05 Sep 13:15:05 060 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f82a3a8b989738ca7f2c603c7a9692b4)] -> id: immAdministration]
--- 05 Sep 13:15:07 235 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f82a3a8b989738ca7f2c603c7a9692b4)] -> id: immAdministration]
--- 05 Sep 13:15:07 534 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f82a3a8b989738ca7f2c603c7a9692b4)] -> id: immMenuBandW]
--- 05 Sep 13:15:14 129 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f82a3a8b989738ca7f2c603c7a9692b4)] -> id: immGlobalControl_NewBranch_button]
--- 05 Sep 13:15:14 620 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f82a3a8b989738ca7f2c603c7a9692b4)] -> css selector: button[id*='immBranch_ButtonClose_']]
Clicked on Add New Branch icon
--- 05 Sep 13:15:14 755 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f82a3a8b989738ca7f2c603c7a9692b4)] -> css selector: input[id*='immBranch_BranchName_']]
--- 05 Sep 13:15:14 844 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f82a3a8b989738ca7f2c603c7a9692b4)] -> css selector: input[id*='immBranch_BranchName_']]
--- 05 Sep 13:15:15 727 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f82a3a8b989738ca7f2c603c7a9692b4)] -> css selector: button[id*='immBranch_ButtonSave_']]
--- 05 Sep 13:15:15 833 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f82a3a8b989738ca7f2c603c7a9692b4)] -> css selector: button[id*='immBranch_ButtonSave_']]
--- 05 Sep 13:15:16 205 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f82a3a8b989738ca7f2c603c7a9692b4)] -> id: immGlobalControl_NewBranch_button]
--- 05 Sep 13:15:19 890 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 05 Sep 13:15:19 892 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 13:15:20 013 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f82a3a8b989738ca7f2c603c7a9692b4)] -> id: imm_searchBr_GlobalControl]
--- 05 Sep 13:15:20 157 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f82a3a8b989738ca7f2c603c7a9692b4)] -> id: imm_searchBr_GlobalControl]
--- 05 Sep 13:15:20 952 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f82a3a8b989738ca7f2c603c7a9692b4)] -> id: immAllBranchesControl_SetSelectAllBrOption_CheckBox]
--- 05 Sep 13:15:21 091 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f82a3a8b989738ca7f2c603c7a9692b4)] -> id: immAllBranchesControl_SetSelectAllBrOption_CheckBox]
Expected: select the list matching pattern in 'Branches' page
Actual(Passed): Successfully selected list in 'Branches' page[ScreenShot] --- 05 Sep 13:15:24 911 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 05 Sep 13:15:24 914 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 13:15:25 499 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f82a3a8b989738ca7f2c603c7a9692b4)] -> css selector: button[id*='immBranch_TabSettings_']]
--- 05 Sep 13:15:25 634 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f82a3a8b989738ca7f2c603c7a9692b4)] -> css selector: button[id*='immBranch_TabSettings_']]
--- 05 Sep 13:15:28 360 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f82a3a8b989738ca7f2c603c7a9692b4)] -> xpath: //span[text()='Host Specific']/ancestor::mat-expansion-panel-header]
--- 05 Sep 13:15:28 544 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f82a3a8b989738ca7f2c603c7a9692b4)] -> xpath: //span[text()='Others']/ancestor::mat-expansion-panel-header]
--- 05 Sep 13:15:28 669 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f82a3a8b989738ca7f2c603c7a9692b4)] -> xpath: //span[text()='Receipt']/ancestor::mat-expansion-panel-header]
--- 05 Sep 13:15:28 766 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f82a3a8b989738ca7f2c603c7a9692b4)] -> xpath: //span[text()='Report']/ancestor::mat-expansion-panel-header]
--- 05 Sep 13:15:28 855 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f82a3a8b989738ca7f2c603c7a9692b4)] -> 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] --- 05 Sep 13:15:38 118 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 05 Sep 13:15:38 119 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 13:15:44 404 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f82a3a8b989738ca7f2c603c7a9692b4)] -> id: immIsEditMode]
--- 05 Sep 13:15:53 391 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 05 Sep 13:15:53 392 - 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] --- 05 Sep 13:15:57 956 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f82a3a8b989738ca7f2c603c7a9692b4)] -> id: immReceiptPrinterName]
Expected: Select the Priner Name
Actual(Passed): Sucessfully Selected the Priner Name:Fax[ScreenShot] Expected: Select 'Name'
Actual(Failed): Failed to Select 'Name'[ScreenShot] Expected: Select 'Size'
Actual(Failed): Failed to Select 'Size'[ScreenShot] Expected: click 'Style'
Actual(Failed): Failed to click 'Style'[ScreenShot] Expected: select 'Printer Style'
Actual(Passed): Sucessfully Printer ' printer Style' : Narrow[ScreenShot] --- 05 Sep 13:16:44 539 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f82a3a8b989738ca7f2c603c7a9692b4)] -> xpath: //span[text()='Report']/ancestor::mat-expansion-panel-header]
Expected: Expand the Report panel
Actual(Passed): Sucessfully Expanded the Report panel[ScreenShot] --- 05 Sep 13:16:51 398 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f82a3a8b989738ca7f2c603c7a9692b4)] -> 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' : 9[ScreenShot] Expected: click 'Style'
Actual(Failed): Failed to click 'Style'[ScreenShot] --- 05 Sep 13:17:22 315 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f82a3a8b989738ca7f2c603c7a9692b4)] -> 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(Failed): Failed to slidered the log1[ScreenShot] Expected: Logo2 ( slider -on(true)/off(false))
Actual(Failed): Failed to slidered the Logo2[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] --- 05 Sep 13:17:29 014 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f82a3a8b989738ca7f2c603c7a9692b4)] -> 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] --- 05 Sep 13:17:30 250 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f82a3a8b989738ca7f2c603c7a9692b4)] -> 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.