--- 11 Sep 16:07:19 890 - TestCaseID:: verifyBranchPrintSettingsInAdmin
--- 11 Sep 16:07:27 083 - 7 - Driver::initialize::Get - com.imm.ereceipt.support.WebDriverFactory.get(WebDriverFactory.java:565)
verify Branch print settings Admin Portal
Steps:
--- 11 Sep 16:07:32 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=01993a63-e4d9-73f8-897d-88157bade135&response_mode=fragment&client_info=1&nonce=01993a63-e4dc-735b-9e09-5e9c32a75288&state=eyjpzci6ijaxotkzytyzlwu0zgitnzu5oc04zgu1lty0zgyznji4nzk2niisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=wiv37s7edhoy0cekbm6af83nj3sg_gob02i0hb06g2e&code_challenge_method=s256&sso_reload=true
--- 11 Sep 16:07:32 264 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 16:07:32 455 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (510fb5755982f4c1a677040d3f6cf085)] -> xpath: //input[@id='i0116']]
Successfully navigated to 'eReceipts FI Admin' Page
--- 11 Sep 16:07:32 557 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (510fb5755982f4c1a677040d3f6cf085)] -> xpath: //input[@id='i0116']]
--- 11 Sep 16:07:32 669 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (510fb5755982f4c1a677040d3f6cf085)] -> id: idSIButton9]
Text field 'User ID', Password' and button 'Login, 'Cancel' are displayed in the 'Login' page
--- 11 Sep 16:07:32 784 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (510fb5755982f4c1a677040d3f6cf085)] -> xpath: //input[@id='i0116']]
--- 11 Sep 16:07:32 900 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (510fb5755982f4c1a677040d3f6cf085)] -> xpath: //input[@id='i0116']]
--- 11 Sep 16:07:36 669 - 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=01993a63-e4d9-73f8-897d-88157bade135&response_mode=fragment&client_info=1&nonce=01993a63-e4dc-735b-9e09-5e9c32a75288&state=eyjpzci6ijaxotkzytyzlwu0zgitnzu5oc04zgu1lty0zgyznji4nzk2niisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=wiv37s7edhoy0cekbm6af83nj3sg_gob02i0hb06g2e&code_challenge_method=s256&sso_reload=true
--- 11 Sep 16:07:36 670 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 16:07:40 533 - 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=01993a63-e4d9-73f8-897d-88157bade135&response_mode=fragment&client_info=1&nonce=01993a63-e4dc-735b-9e09-5e9c32a75288&state=eyjpzci6ijaxotkzytyzlwu0zgitnzu5oc04zgu1lty0zgyznji4nzk2niisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=wiv37s7edhoy0cekbm6af83nj3sg_gob02i0hb06g2e&code_challenge_method=s256&sso_reload=true
--- 11 Sep 16:07:40 534 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 16:07:44 945 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (510fb5755982f4c1a677040d3f6cf085)] -> xpath: //input[@id='i0118']]
--- 11 Sep 16:07:45 062 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (510fb5755982f4c1a677040d3f6cf085)] -> xpath: //input[@id='i0118']]
--- 11 Sep 16:07:48 607 - 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=01993a63-e4d9-73f8-897d-88157bade135&response_mode=fragment&client_info=1&nonce=01993a63-e4dc-735b-9e09-5e9c32a75288&state=eyjpzci6ijaxotkzytyzlwu0zgitnzu5oc04zgu1lty0zgyznji4nzk2niisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=wiv37s7edhoy0cekbm6af83nj3sg_gob02i0hb06g2e&code_challenge_method=s256&sso_reload=true
--- 11 Sep 16:07:48 608 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
logged with the Username:fiAdmin@Qaxpauto1.onmicrosoft.com
--- 11 Sep 16:07:53 862 - Page URL:: https://login.microsoftonline.com/common/login
--- 11 Sep 16:07:53 863 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 16:08:03 083 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 11 Sep 16:08:03 084 - 5 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 16:08:06 453 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 11 Sep 16:08:06 454 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 16:08:06 569 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (510fb5755982f4c1a677040d3f6cf085)] -> xpath: //*[@id='immFIAdminHeader' and normalize-space()='Admin Dashboard']]
--- 11 Sep 16:08:09 799 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 11 Sep 16:08:09 800 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 16:08:09 900 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (510fb5755982f4c1a677040d3f6cf085)] -> xpath: //b[contains(text(),'Dashboard')]]
Successfully navigated to the 'Control Panel' page [ScreenShot] --- 11 Sep 16:08:10 216 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (510fb5755982f4c1a677040d3f6cf085)] -> id: immAdministration]
--- 11 Sep 16:08:12 385 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (510fb5755982f4c1a677040d3f6cf085)] -> id: immAdministration]
--- 11 Sep 16:08:12 797 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (510fb5755982f4c1a677040d3f6cf085)] -> id: immMenuBandW]
--- 11 Sep 16:08:19 425 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (510fb5755982f4c1a677040d3f6cf085)] -> id: immGlobalControl_NewBranch_button]
--- 11 Sep 16:08:19 932 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (510fb5755982f4c1a677040d3f6cf085)] -> css selector: button[id*='immBranch_ButtonClose_']]
Clicked on Add New Branch icon
--- 11 Sep 16:08:20 074 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (510fb5755982f4c1a677040d3f6cf085)] -> css selector: input[id*='immBranch_BranchName_']]
--- 11 Sep 16:08:20 166 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (510fb5755982f4c1a677040d3f6cf085)] -> css selector: input[id*='immBranch_BranchName_']]
--- 11 Sep 16:08:21 228 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (510fb5755982f4c1a677040d3f6cf085)] -> css selector: button[id*='immBranch_ButtonSave_']]
--- 11 Sep 16:08:21 355 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (510fb5755982f4c1a677040d3f6cf085)] -> css selector: button[id*='immBranch_ButtonSave_']]
--- 11 Sep 16:08:21 737 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (510fb5755982f4c1a677040d3f6cf085)] -> id: immGlobalControl_NewBranch_button]
--- 11 Sep 16:08:25 539 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 11 Sep 16:08:25 540 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 16:08:25 636 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (510fb5755982f4c1a677040d3f6cf085)] -> id: imm_searchBr_GlobalControl]
--- 11 Sep 16:08:25 715 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (510fb5755982f4c1a677040d3f6cf085)] -> id: imm_searchBr_GlobalControl]
--- 11 Sep 16:08:26 536 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (510fb5755982f4c1a677040d3f6cf085)] -> id: immAllBranchesControl_SetSelectAllBrOption_CheckBox]
--- 11 Sep 16:08:26 715 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (510fb5755982f4c1a677040d3f6cf085)] -> id: immAllBranchesControl_SetSelectAllBrOption_CheckBox]
Expected: select the list matching pattern in 'Branches' page
Actual(Passed): Successfully selected list in 'Branches' page[ScreenShot] --- 11 Sep 16:08:30 570 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 11 Sep 16:08:30 571 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 16:08:31 331 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (510fb5755982f4c1a677040d3f6cf085)] -> css selector: button[id*='immBranch_TabSettings_']]
--- 11 Sep 16:08:31 445 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (510fb5755982f4c1a677040d3f6cf085)] -> css selector: button[id*='immBranch_TabSettings_']]
--- 11 Sep 16:08:33 959 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (510fb5755982f4c1a677040d3f6cf085)] -> xpath: //span[text()='Host Specific']/ancestor::mat-expansion-panel-header]
--- 11 Sep 16:08:34 094 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (510fb5755982f4c1a677040d3f6cf085)] -> xpath: //span[text()='Others']/ancestor::mat-expansion-panel-header]
--- 11 Sep 16:08:34 242 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (510fb5755982f4c1a677040d3f6cf085)] -> xpath: //span[text()='Receipt']/ancestor::mat-expansion-panel-header]
--- 11 Sep 16:08:34 353 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (510fb5755982f4c1a677040d3f6cf085)] -> xpath: //span[text()='Report']/ancestor::mat-expansion-panel-header]
--- 11 Sep 16:08:34 453 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (510fb5755982f4c1a677040d3f6cf085)] -> 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] --- 11 Sep 16:08:43 929 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 11 Sep 16:08:43 930 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 16:08:50 075 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (510fb5755982f4c1a677040d3f6cf085)] -> id: immIsEditMode]
--- 11 Sep 16:08:59 372 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 11 Sep 16:08:59 372 - 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] --- 11 Sep 16:09:03 995 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (510fb5755982f4c1a677040d3f6cf085)] -> 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(Passed): Sucessfully clicked 'Style' : Regular[ScreenShot] Expected: select 'Printer Style'
Actual(Passed): Sucessfully Printer ' printer Style' : Narrow[ScreenShot] --- 11 Sep 16:09:50 696 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (510fb5755982f4c1a677040d3f6cf085)] -> xpath: //span[text()='Report']/ancestor::mat-expansion-panel-header]
Expected: Expand the Report panel
Actual(Passed): Sucessfully Expanded the Report panel[ScreenShot] --- 11 Sep 16:09:57 847 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (510fb5755982f4c1a677040d3f6cf085)] -> id: immReportPrinterName]
Expected: Select the Priner Name
Actual(Passed): Sucessfully Selected the Priner Name:Fax[ScreenShot] Expected: click 'Orientation'
Actual(Passed): Sucessfully clicked 'Orientation' : Portrait[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(Passed): Sucessfully clicked 'Style' : Regular[ScreenShot] --- 11 Sep 16:10:28 751 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (510fb5755982f4c1a677040d3f6cf085)] -> 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:true[ScreenShot] Expected: Logo2 ( slider -on(true)/off(false))
Actual(Passed): Sucessfully slidered the Logo2:true[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] --- 11 Sep 16:10:35 357 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (510fb5755982f4c1a677040d3f6cf085)] -> 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] --- 11 Sep 16:10:36 369 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (510fb5755982f4c1a677040d3f6cf085)] -> 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.