--- 04 Sep 22:56:28 191 - TestCaseID:: verifyBranchPrintSettingsInAdmin
--- 04 Sep 22:56:35 671 - 7 - Driver::initialize::Get - com.imm.ereceipt.support.WebDriverFactory.get(WebDriverFactory.java:565)
verify Branch print settings Admin Portal
Steps:
--- 04 Sep 22:56:41 043 - 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=019917cd-f738-701e-b2fa-aaa5197c047b&response_mode=fragment&client_info=1&nonce=019917cd-f73a-7765-adb0-5dac751fe5c7&state=eyjpzci6ijaxotkxn2nklwy3mzktnzkwys05zmq5ltywzda5nzfimgrkyiisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=c3duos8r5zblil6yqyxsa5fge4lrrswsir-rjjrgvna&code_challenge_method=s256&sso_reload=true
--- 04 Sep 22:56:41 047 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 22:56:41 196 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (08fe91c7751c4e54aa3e1d79eeffa3e7)] -> xpath: //input[@id='i0116']]
Successfully navigated to 'eReceipts FI Admin' Page
--- 04 Sep 22:56:41 301 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (08fe91c7751c4e54aa3e1d79eeffa3e7)] -> xpath: //input[@id='i0116']]
--- 04 Sep 22:56:41 415 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (08fe91c7751c4e54aa3e1d79eeffa3e7)] -> id: idSIButton9]
Text field 'User ID', Password' and button 'Login, 'Cancel' are displayed in the 'Login' page
--- 04 Sep 22:56:41 515 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (08fe91c7751c4e54aa3e1d79eeffa3e7)] -> xpath: //input[@id='i0116']]
--- 04 Sep 22:56:41 605 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (08fe91c7751c4e54aa3e1d79eeffa3e7)] -> xpath: //input[@id='i0116']]
--- 04 Sep 22:56:45 213 - 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=019917cd-f738-701e-b2fa-aaa5197c047b&response_mode=fragment&client_info=1&nonce=019917cd-f73a-7765-adb0-5dac751fe5c7&state=eyjpzci6ijaxotkxn2nklwy3mzktnzkwys05zmq5ltywzda5nzfimgrkyiisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=c3duos8r5zblil6yqyxsa5fge4lrrswsir-rjjrgvna&code_challenge_method=s256&sso_reload=true
--- 04 Sep 22:56:45 215 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 22:56:48 710 - 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=019917cd-f738-701e-b2fa-aaa5197c047b&response_mode=fragment&client_info=1&nonce=019917cd-f73a-7765-adb0-5dac751fe5c7&state=eyjpzci6ijaxotkxn2nklwy3mzktnzkwys05zmq5ltywzda5nzfimgrkyiisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=c3duos8r5zblil6yqyxsa5fge4lrrswsir-rjjrgvna&code_challenge_method=s256&sso_reload=true
--- 04 Sep 22:56:48 712 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 22:56:52 869 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (08fe91c7751c4e54aa3e1d79eeffa3e7)] -> xpath: //input[@id='i0118']]
--- 04 Sep 22:56:52 975 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (08fe91c7751c4e54aa3e1d79eeffa3e7)] -> xpath: //input[@id='i0118']]
--- 04 Sep 22:56:56 449 - 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=019917cd-f738-701e-b2fa-aaa5197c047b&response_mode=fragment&client_info=1&nonce=019917cd-f73a-7765-adb0-5dac751fe5c7&state=eyjpzci6ijaxotkxn2nklwy3mzktnzkwys05zmq5ltywzda5nzfimgrkyiisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=c3duos8r5zblil6yqyxsa5fge4lrrswsir-rjjrgvna&code_challenge_method=s256&sso_reload=true
--- 04 Sep 22:56:56 451 - 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:57:00 523 - Page URL:: https://login.microsoftonline.com/common/login
--- 04 Sep 22:57:00 524 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 22:57:09 265 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 04 Sep 22:57:09 267 - 5 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 22:57:12 722 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 04 Sep 22:57:12 723 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 22:57:12 845 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (08fe91c7751c4e54aa3e1d79eeffa3e7)] -> xpath: //*[@id='immFIAdminHeader' and normalize-space()='Admin Dashboard']]
--- 04 Sep 22:57:16 032 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 04 Sep 22:57:16 033 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 22:57:16 121 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (08fe91c7751c4e54aa3e1d79eeffa3e7)] -> xpath: //b[contains(text(),'Dashboard')]]
Successfully navigated to the 'Control Panel' page [ScreenShot] --- 04 Sep 22:57:16 592 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (08fe91c7751c4e54aa3e1d79eeffa3e7)] -> id: immAdministration]
--- 04 Sep 22:57:18 796 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (08fe91c7751c4e54aa3e1d79eeffa3e7)] -> id: immAdministration]
--- 04 Sep 22:57:19 169 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (08fe91c7751c4e54aa3e1d79eeffa3e7)] -> id: immMenuBandW]
--- 04 Sep 22:57:26 037 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (08fe91c7751c4e54aa3e1d79eeffa3e7)] -> id: immGlobalControl_NewBranch_button]
--- 04 Sep 22:57:26 754 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (08fe91c7751c4e54aa3e1d79eeffa3e7)] -> css selector: button[id*='immBranch_ButtonClose_']]
Clicked on Add New Branch icon
--- 04 Sep 22:57:26 919 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (08fe91c7751c4e54aa3e1d79eeffa3e7)] -> css selector: input[id*='immBranch_BranchName_']]
--- 04 Sep 22:57:27 047 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (08fe91c7751c4e54aa3e1d79eeffa3e7)] -> css selector: input[id*='immBranch_BranchName_']]
--- 04 Sep 22:57:28 134 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (08fe91c7751c4e54aa3e1d79eeffa3e7)] -> css selector: button[id*='immBranch_ButtonSave_']]
--- 04 Sep 22:57:28 312 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (08fe91c7751c4e54aa3e1d79eeffa3e7)] -> css selector: button[id*='immBranch_ButtonSave_']]
--- 04 Sep 22:57:28 862 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (08fe91c7751c4e54aa3e1d79eeffa3e7)] -> id: immGlobalControl_NewBranch_button]
--- 04 Sep 22:57:32 646 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 04 Sep 22:57:32 647 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 22:57:32 739 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (08fe91c7751c4e54aa3e1d79eeffa3e7)] -> id: imm_searchBr_GlobalControl]
--- 04 Sep 22:57:32 818 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (08fe91c7751c4e54aa3e1d79eeffa3e7)] -> id: imm_searchBr_GlobalControl]
--- 04 Sep 22:57:33 608 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (08fe91c7751c4e54aa3e1d79eeffa3e7)] -> id: immAllBranchesControl_SetSelectAllBrOption_CheckBox]
--- 04 Sep 22:57:33 842 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (08fe91c7751c4e54aa3e1d79eeffa3e7)] -> 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:57:37 803 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 04 Sep 22:57:37 804 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 22:57:38 320 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (08fe91c7751c4e54aa3e1d79eeffa3e7)] -> css selector: button[id*='immBranch_TabSettings_']]
--- 04 Sep 22:57:38 467 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (08fe91c7751c4e54aa3e1d79eeffa3e7)] -> css selector: button[id*='immBranch_TabSettings_']]
--- 04 Sep 22:57:40 980 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (08fe91c7751c4e54aa3e1d79eeffa3e7)] -> xpath: //span[text()='Host Specific']/ancestor::mat-expansion-panel-header]
--- 04 Sep 22:57:41 080 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (08fe91c7751c4e54aa3e1d79eeffa3e7)] -> xpath: //span[text()='Others']/ancestor::mat-expansion-panel-header]
--- 04 Sep 22:57:41 194 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (08fe91c7751c4e54aa3e1d79eeffa3e7)] -> xpath: //span[text()='Receipt']/ancestor::mat-expansion-panel-header]
--- 04 Sep 22:57:41 279 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (08fe91c7751c4e54aa3e1d79eeffa3e7)] -> xpath: //span[text()='Report']/ancestor::mat-expansion-panel-header]
--- 04 Sep 22:57:41 367 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (08fe91c7751c4e54aa3e1d79eeffa3e7)] -> 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:57:50 883 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 04 Sep 22:57:50 884 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 22:57:57 021 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (08fe91c7751c4e54aa3e1d79eeffa3e7)] -> id: immIsEditMode]
--- 04 Sep 22:58:05 926 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 04 Sep 22:58:05 926 - 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:58:10 631 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (08fe91c7751c4e54aa3e1d79eeffa3e7)] -> 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:58:44 628 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (08fe91c7751c4e54aa3e1d79eeffa3e7)] -> 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:58:51 489 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (08fe91c7751c4e54aa3e1d79eeffa3e7)] -> 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:59:24 661 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (08fe91c7751c4e54aa3e1d79eeffa3e7)] -> 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:59:30 552 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (08fe91c7751c4e54aa3e1d79eeffa3e7)] -> 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:59:31 480 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (08fe91c7751c4e54aa3e1d79eeffa3e7)] -> 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.