--- 04 Sep 23:13:21 090 - TestCaseID:: verifyBranchPrintSettingsInAdmin
--- 04 Sep 23:13:30 433 - 9 - Driver::initialize::Get - com.imm.ereceipt.support.WebDriverFactory.get(WebDriverFactory.java:565)
verify Branch print settings Admin Portal
Steps:
--- 04 Sep 23:13:36 319 - 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=019917dd-7565-7dd2-8db2-1637d36c3d30&response_mode=fragment&client_info=1&nonce=019917dd-756b-7ca7-b2df-f450fe103f58&state=eyjpzci6ijaxotkxn2rkltc1njytn2jimi1hoduwltriogqyyzyxmtiyniisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=je145zd8ztweikrtk9i7mysfpqciu3ef-l4gugrwbxw&code_challenge_method=s256&sso_reload=true
--- 04 Sep 23:13:36 322 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 23:13:36 700 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (95598abedda39a777baed7f7c0e8e00f)] -> xpath: //input[@id='i0116']]
Successfully navigated to 'eReceipts FI Admin' Page
--- 04 Sep 23:13:36 840 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (95598abedda39a777baed7f7c0e8e00f)] -> xpath: //input[@id='i0116']]
--- 04 Sep 23:13:36 998 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (95598abedda39a777baed7f7c0e8e00f)] -> id: idSIButton9]
Text field 'User ID', Password' and button 'Login, 'Cancel' are displayed in the 'Login' page
--- 04 Sep 23:13:37 112 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (95598abedda39a777baed7f7c0e8e00f)] -> xpath: //input[@id='i0116']]
--- 04 Sep 23:13:37 205 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (95598abedda39a777baed7f7c0e8e00f)] -> xpath: //input[@id='i0116']]
--- 04 Sep 23:13:41 035 - 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=019917dd-7565-7dd2-8db2-1637d36c3d30&response_mode=fragment&client_info=1&nonce=019917dd-756b-7ca7-b2df-f450fe103f58&state=eyjpzci6ijaxotkxn2rkltc1njytn2jimi1hoduwltriogqyyzyxmtiyniisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=je145zd8ztweikrtk9i7mysfpqciu3ef-l4gugrwbxw&code_challenge_method=s256&sso_reload=true
--- 04 Sep 23:13:41 037 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 23:13:44 921 - 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=019917dd-7565-7dd2-8db2-1637d36c3d30&response_mode=fragment&client_info=1&nonce=019917dd-756b-7ca7-b2df-f450fe103f58&state=eyjpzci6ijaxotkxn2rkltc1njytn2jimi1hoduwltriogqyyzyxmtiyniisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=je145zd8ztweikrtk9i7mysfpqciu3ef-l4gugrwbxw&code_challenge_method=s256&sso_reload=true
--- 04 Sep 23:13:44 923 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 23:13:49 172 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (95598abedda39a777baed7f7c0e8e00f)] -> xpath: //input[@id='i0118']]
--- 04 Sep 23:13:49 270 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (95598abedda39a777baed7f7c0e8e00f)] -> xpath: //input[@id='i0118']]
--- 04 Sep 23:13:52 767 - 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=019917dd-7565-7dd2-8db2-1637d36c3d30&response_mode=fragment&client_info=1&nonce=019917dd-756b-7ca7-b2df-f450fe103f58&state=eyjpzci6ijaxotkxn2rkltc1njytn2jimi1hoduwltriogqyyzyxmtiyniisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=je145zd8ztweikrtk9i7mysfpqciu3ef-l4gugrwbxw&code_challenge_method=s256&sso_reload=true
--- 04 Sep 23:13:52 772 - 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:13:57 750 - Page URL:: https://login.microsoftonline.com/common/login
--- 04 Sep 23:13:57 751 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 23:14:06 252 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 04 Sep 23:14:06 261 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 23:14:09 743 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 04 Sep 23:14:09 744 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 23:14:09 852 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (95598abedda39a777baed7f7c0e8e00f)] -> xpath: //*[@id='immFIAdminHeader' and normalize-space()='Admin Dashboard']]
--- 04 Sep 23:14:13 063 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 04 Sep 23:14:13 064 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 23:14:13 152 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (95598abedda39a777baed7f7c0e8e00f)] -> xpath: //b[contains(text(),'Dashboard')]]
Successfully navigated to the 'Control Panel' page [ScreenShot] --- 04 Sep 23:14:13 463 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (95598abedda39a777baed7f7c0e8e00f)] -> id: immAdministration]
--- 04 Sep 23:14:15 642 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (95598abedda39a777baed7f7c0e8e00f)] -> id: immAdministration]
--- 04 Sep 23:14:16 051 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (95598abedda39a777baed7f7c0e8e00f)] -> id: immMenuBandW]
--- 04 Sep 23:14:22 579 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (95598abedda39a777baed7f7c0e8e00f)] -> id: immGlobalControl_NewBranch_button]
--- 04 Sep 23:14:23 693 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (95598abedda39a777baed7f7c0e8e00f)] -> css selector: button[id*='immBranch_ButtonClose_']]
Clicked on Add New Branch icon
--- 04 Sep 23:14:23 796 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (95598abedda39a777baed7f7c0e8e00f)] -> css selector: input[id*='immBranch_BranchName_']]
--- 04 Sep 23:14:23 886 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (95598abedda39a777baed7f7c0e8e00f)] -> css selector: input[id*='immBranch_BranchName_']]
--- 04 Sep 23:14:24 827 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (95598abedda39a777baed7f7c0e8e00f)] -> css selector: button[id*='immBranch_ButtonSave_']]
--- 04 Sep 23:14:24 940 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (95598abedda39a777baed7f7c0e8e00f)] -> css selector: button[id*='immBranch_ButtonSave_']]
--- 04 Sep 23:14:25 288 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (95598abedda39a777baed7f7c0e8e00f)] -> id: immGlobalControl_NewBranch_button]
--- 04 Sep 23:14:28 946 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 04 Sep 23:14:28 948 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 23:14:29 056 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (95598abedda39a777baed7f7c0e8e00f)] -> id: imm_searchBr_GlobalControl]
--- 04 Sep 23:14:29 148 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (95598abedda39a777baed7f7c0e8e00f)] -> id: imm_searchBr_GlobalControl]
--- 04 Sep 23:14:29 804 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (95598abedda39a777baed7f7c0e8e00f)] -> id: immAllBranchesControl_SetSelectAllBrOption_CheckBox]
--- 04 Sep 23:14:29 923 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (95598abedda39a777baed7f7c0e8e00f)] -> 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:14:33 830 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 04 Sep 23:14:33 831 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 23:14:34 360 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (95598abedda39a777baed7f7c0e8e00f)] -> css selector: button[id*='immBranch_TabSettings_']]
--- 04 Sep 23:14:34 474 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (95598abedda39a777baed7f7c0e8e00f)] -> css selector: button[id*='immBranch_TabSettings_']]
--- 04 Sep 23:14:36 979 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (95598abedda39a777baed7f7c0e8e00f)] -> xpath: //span[text()='Host Specific']/ancestor::mat-expansion-panel-header]
--- 04 Sep 23:14:37 248 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (95598abedda39a777baed7f7c0e8e00f)] -> xpath: //span[text()='Others']/ancestor::mat-expansion-panel-header]
--- 04 Sep 23:14:37 371 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (95598abedda39a777baed7f7c0e8e00f)] -> xpath: //span[text()='Receipt']/ancestor::mat-expansion-panel-header]
--- 04 Sep 23:14:37 460 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (95598abedda39a777baed7f7c0e8e00f)] -> xpath: //span[text()='Report']/ancestor::mat-expansion-panel-header]
--- 04 Sep 23:14:37 553 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (95598abedda39a777baed7f7c0e8e00f)] -> 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:14:46 629 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 04 Sep 23:14:46 630 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 23:14:52 765 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (95598abedda39a777baed7f7c0e8e00f)] -> id: immIsEditMode]
--- 04 Sep 23:15:01 693 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 04 Sep 23:15:01 694 - 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:15:06 351 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (95598abedda39a777baed7f7c0e8e00f)] -> 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:15:40 421 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (95598abedda39a777baed7f7c0e8e00f)] -> 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:15:47 282 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (95598abedda39a777baed7f7c0e8e00f)] -> 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] --- 04 Sep 23:16:18 651 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (95598abedda39a777baed7f7c0e8e00f)] -> 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] --- 04 Sep 23:16:25 201 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (95598abedda39a777baed7f7c0e8e00f)] -> 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:16:26 330 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (95598abedda39a777baed7f7c0e8e00f)] -> 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.