--- 04 Sep 23:03:05 909 - TestCaseID:: verifyBranchPrintSettingsInAdmin
--- 04 Sep 23:03:14 330 - 8 - Driver::initialize::Get - com.imm.ereceipt.support.WebDriverFactory.get(WebDriverFactory.java:565)
verify Branch print settings Admin Portal
Steps:
--- 04 Sep 23:03:19 983 - 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=019917d4-0c62-7038-a0cc-1678401c8c42&response_mode=fragment&client_info=1&nonce=019917d4-0c65-7b13-8bd2-fda60cdf78f1&state=eyjpzci6ijaxotkxn2q0ltbjnjqtn2rjns1hndm3ltg0mzyyywvlnzg5ysisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=wthai6nylk7_cakd1pj_i26k471ma9ljy6sktj-_pgu&code_challenge_method=s256&sso_reload=true
--- 04 Sep 23:03:19 988 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 23:03:20 134 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3ccebb90f27c90b3e17e3af016318e09)] -> xpath: //input[@id='i0116']]
Successfully navigated to 'eReceipts FI Admin' Page
--- 04 Sep 23:03:20 282 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3ccebb90f27c90b3e17e3af016318e09)] -> xpath: //input[@id='i0116']]
--- 04 Sep 23:03:20 409 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3ccebb90f27c90b3e17e3af016318e09)] -> id: idSIButton9]
Text field 'User ID', Password' and button 'Login, 'Cancel' are displayed in the 'Login' page
--- 04 Sep 23:03:20 525 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3ccebb90f27c90b3e17e3af016318e09)] -> xpath: //input[@id='i0116']]
--- 04 Sep 23:03:20 627 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3ccebb90f27c90b3e17e3af016318e09)] -> xpath: //input[@id='i0116']]
--- 04 Sep 23:03:24 387 - 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=019917d4-0c62-7038-a0cc-1678401c8c42&response_mode=fragment&client_info=1&nonce=019917d4-0c65-7b13-8bd2-fda60cdf78f1&state=eyjpzci6ijaxotkxn2q0ltbjnjqtn2rjns1hndm3ltg0mzyyywvlnzg5ysisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=wthai6nylk7_cakd1pj_i26k471ma9ljy6sktj-_pgu&code_challenge_method=s256&sso_reload=true
--- 04 Sep 23:03:24 389 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 23:03:27 859 - 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=019917d4-0c62-7038-a0cc-1678401c8c42&response_mode=fragment&client_info=1&nonce=019917d4-0c65-7b13-8bd2-fda60cdf78f1&state=eyjpzci6ijaxotkxn2q0ltbjnjqtn2rjns1hndm3ltg0mzyyywvlnzg5ysisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=wthai6nylk7_cakd1pj_i26k471ma9ljy6sktj-_pgu&code_challenge_method=s256&sso_reload=true
--- 04 Sep 23:03:27 866 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 23:03:31 901 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3ccebb90f27c90b3e17e3af016318e09)] -> xpath: //input[@id='i0118']]
--- 04 Sep 23:03:31 987 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3ccebb90f27c90b3e17e3af016318e09)] -> xpath: //input[@id='i0118']]
--- 04 Sep 23:03:35 475 - 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=019917d4-0c62-7038-a0cc-1678401c8c42&response_mode=fragment&client_info=1&nonce=019917d4-0c65-7b13-8bd2-fda60cdf78f1&state=eyjpzci6ijaxotkxn2q0ltbjnjqtn2rjns1hndm3ltg0mzyyywvlnzg5ysisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=wthai6nylk7_cakd1pj_i26k471ma9ljy6sktj-_pgu&code_challenge_method=s256&sso_reload=true
--- 04 Sep 23:03:35 477 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
logged with the Username:fiAdmin@Qaxpauto1.onmicrosoft.com
--- 04 Sep 23:03:40 337 - Page URL:: https://login.microsoftonline.com/common/login
--- 04 Sep 23:03:40 338 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 23:03:48 541 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 04 Sep 23:03:48 542 - 4 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 23:03:51 820 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 04 Sep 23:03:51 821 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 23:03:51 923 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3ccebb90f27c90b3e17e3af016318e09)] -> xpath: //*[@id='immFIAdminHeader' and normalize-space()='Admin Dashboard']]
--- 04 Sep 23:03:55 163 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 04 Sep 23:03:55 164 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 23:03:55 259 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3ccebb90f27c90b3e17e3af016318e09)] -> xpath: //b[contains(text(),'Dashboard')]]
Successfully navigated to the 'Control Panel' page [ScreenShot] --- 04 Sep 23:03:55 579 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3ccebb90f27c90b3e17e3af016318e09)] -> id: immAdministration]
--- 04 Sep 23:03:57 725 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3ccebb90f27c90b3e17e3af016318e09)] -> id: immAdministration]
--- 04 Sep 23:03:58 013 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3ccebb90f27c90b3e17e3af016318e09)] -> id: immMenuBandW]
--- 04 Sep 23:04:04 545 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3ccebb90f27c90b3e17e3af016318e09)] -> id: immGlobalControl_NewBranch_button]
--- 04 Sep 23:04:05 066 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3ccebb90f27c90b3e17e3af016318e09)] -> css selector: button[id*='immBranch_ButtonClose_']]
Clicked on Add New Branch icon
--- 04 Sep 23:04:05 170 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3ccebb90f27c90b3e17e3af016318e09)] -> css selector: input[id*='immBranch_BranchName_']]
--- 04 Sep 23:04:05 264 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3ccebb90f27c90b3e17e3af016318e09)] -> css selector: input[id*='immBranch_BranchName_']]
--- 04 Sep 23:04:06 189 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3ccebb90f27c90b3e17e3af016318e09)] -> css selector: button[id*='immBranch_ButtonSave_']]
--- 04 Sep 23:04:06 343 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3ccebb90f27c90b3e17e3af016318e09)] -> css selector: button[id*='immBranch_ButtonSave_']]
--- 04 Sep 23:04:06 727 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3ccebb90f27c90b3e17e3af016318e09)] -> id: immGlobalControl_NewBranch_button]
--- 04 Sep 23:04:10 553 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 04 Sep 23:04:10 554 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 23:04:10 655 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3ccebb90f27c90b3e17e3af016318e09)] -> id: imm_searchBr_GlobalControl]
--- 04 Sep 23:04:10 744 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3ccebb90f27c90b3e17e3af016318e09)] -> id: imm_searchBr_GlobalControl]
--- 04 Sep 23:04:11 391 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3ccebb90f27c90b3e17e3af016318e09)] -> id: immAllBranchesControl_SetSelectAllBrOption_CheckBox]
--- 04 Sep 23:04:11 676 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3ccebb90f27c90b3e17e3af016318e09)] -> id: immAllBranchesControl_SetSelectAllBrOption_CheckBox]
Expected: select the list matching pattern in 'Branches' page
Actual(Passed): Successfully selected list in 'Branches' page[ScreenShot] --- 04 Sep 23:04:15 800 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 04 Sep 23:04:15 802 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 23:04:16 312 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3ccebb90f27c90b3e17e3af016318e09)] -> css selector: button[id*='immBranch_TabSettings_']]
--- 04 Sep 23:04:16 466 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3ccebb90f27c90b3e17e3af016318e09)] -> css selector: button[id*='immBranch_TabSettings_']]
--- 04 Sep 23:04:18 980 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3ccebb90f27c90b3e17e3af016318e09)] -> xpath: //span[text()='Host Specific']/ancestor::mat-expansion-panel-header]
--- 04 Sep 23:04:19 089 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3ccebb90f27c90b3e17e3af016318e09)] -> xpath: //span[text()='Others']/ancestor::mat-expansion-panel-header]
--- 04 Sep 23:04:19 195 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3ccebb90f27c90b3e17e3af016318e09)] -> xpath: //span[text()='Receipt']/ancestor::mat-expansion-panel-header]
--- 04 Sep 23:04:19 283 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3ccebb90f27c90b3e17e3af016318e09)] -> xpath: //span[text()='Report']/ancestor::mat-expansion-panel-header]
--- 04 Sep 23:04:19 393 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3ccebb90f27c90b3e17e3af016318e09)] -> 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 23:04:28 893 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 04 Sep 23:04:28 894 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 23:04:35 020 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3ccebb90f27c90b3e17e3af016318e09)] -> id: immIsEditMode]
--- 04 Sep 23:04:43 977 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 04 Sep 23:04:43 978 - 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 23:04:48 603 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3ccebb90f27c90b3e17e3af016318e09)] -> 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 23:05:22 763 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3ccebb90f27c90b3e17e3af016318e09)] -> xpath: //span[text()='Report']/ancestor::mat-expansion-panel-header]
Expected: Expand the Report panel
Actual(Passed): Sucessfully Expanded the Report panel[ScreenShot] --- 04 Sep 23:05:29 660 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3ccebb90f27c90b3e17e3af016318e09)] -> 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 23:06:02 715 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3ccebb90f27c90b3e17e3af016318e09)] -> 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 23:06:08 723 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3ccebb90f27c90b3e17e3af016318e09)] -> 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 23:06:09 786 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3ccebb90f27c90b3e17e3af016318e09)] -> 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.