--- 06 Sep 14:52:58 460 - TestCaseID:: verifyBranchPrintSettingsInAdmin
--- 06 Sep 14:53:04 834 - 6 - Driver::initialize::Get - com.imm.ereceipt.support.WebDriverFactory.get(WebDriverFactory.java:565)
verify Branch print settings Admin Portal
Steps:
--- 06 Sep 14:53:09 326 - 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=0199205f-ffcb-759c-9d5a-d95954148cfa&response_mode=fragment&client_info=1&nonce=0199205f-ffcc-7cfe-acdf-6edcc43a1950&state=eyjpzci6ijaxotkymdvmlwzmy2mtnzc5ms1imzfhltk3njfimgjhyjzmzsisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=7ou_rquf5w4yeao5tixb1ichcgealjjlgestpqo09js&code_challenge_method=s256&sso_reload=true
--- 06 Sep 14:53:09 328 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 14:53:09 451 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (258c932968f63363a7cefd6206e31c2f)] -> xpath: //input[@id='i0116']]
Successfully navigated to 'eReceipts FI Admin' Page
--- 06 Sep 14:53:09 542 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (258c932968f63363a7cefd6206e31c2f)] -> xpath: //input[@id='i0116']]
--- 06 Sep 14:53:09 657 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (258c932968f63363a7cefd6206e31c2f)] -> id: idSIButton9]
Text field 'User ID', Password' and button 'Login, 'Cancel' are displayed in the 'Login' page
--- 06 Sep 14:53:09 739 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (258c932968f63363a7cefd6206e31c2f)] -> xpath: //input[@id='i0116']]
--- 06 Sep 14:53:09 820 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (258c932968f63363a7cefd6206e31c2f)] -> xpath: //input[@id='i0116']]
--- 06 Sep 14:53:13 277 - 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=0199205f-ffcb-759c-9d5a-d95954148cfa&response_mode=fragment&client_info=1&nonce=0199205f-ffcc-7cfe-acdf-6edcc43a1950&state=eyjpzci6ijaxotkymdvmlwzmy2mtnzc5ms1imzfhltk3njfimgjhyjzmzsisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=7ou_rquf5w4yeao5tixb1ichcgealjjlgestpqo09js&code_challenge_method=s256&sso_reload=true
--- 06 Sep 14:53:13 277 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 14:53:16 654 - 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=0199205f-ffcb-759c-9d5a-d95954148cfa&response_mode=fragment&client_info=1&nonce=0199205f-ffcc-7cfe-acdf-6edcc43a1950&state=eyjpzci6ijaxotkymdvmlwzmy2mtnzc5ms1imzfhltk3njfimgjhyjzmzsisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=7ou_rquf5w4yeao5tixb1ichcgealjjlgestpqo09js&code_challenge_method=s256&sso_reload=true
--- 06 Sep 14:53:16 655 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 14:53:20 175 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (258c932968f63363a7cefd6206e31c2f)] -> xpath: //input[@id='i0118']]
--- 06 Sep 14:53:20 251 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (258c932968f63363a7cefd6206e31c2f)] -> xpath: //input[@id='i0118']]
--- 06 Sep 14:53:23 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=0199205f-ffcb-759c-9d5a-d95954148cfa&response_mode=fragment&client_info=1&nonce=0199205f-ffcc-7cfe-acdf-6edcc43a1950&state=eyjpzci6ijaxotkymdvmlwzmy2mtnzc5ms1imzfhltk3njfimgjhyjzmzsisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=7ou_rquf5w4yeao5tixb1ichcgealjjlgestpqo09js&code_challenge_method=s256&sso_reload=true
--- 06 Sep 14:53:23 534 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
logged with the Username:fiAdmin@Qaxpauto1.onmicrosoft.com
--- 06 Sep 14:53:27 700 - Page URL:: https://login.microsoftonline.com/common/login
--- 06 Sep 14:53:27 700 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 14:53:34 760 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 06 Sep 14:53:34 760 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 14:53:37 917 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 06 Sep 14:53:37 918 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 14:53:38 000 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (258c932968f63363a7cefd6206e31c2f)] -> xpath: //*[@id='immFIAdminHeader' and normalize-space()='Admin Dashboard']]
--- 06 Sep 14:53:41 123 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 06 Sep 14:53:41 124 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 14:53:41 195 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (258c932968f63363a7cefd6206e31c2f)] -> xpath: //b[contains(text(),'Dashboard')]]
Successfully navigated to the 'Control Panel' page [ScreenShot] --- 06 Sep 14:53:41 402 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (258c932968f63363a7cefd6206e31c2f)] -> id: immAdministration]
--- 06 Sep 14:53:43 540 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (258c932968f63363a7cefd6206e31c2f)] -> id: immAdministration]
--- 06 Sep 14:53:43 761 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (258c932968f63363a7cefd6206e31c2f)] -> id: immMenuBandW]
--- 06 Sep 14:53:50 073 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (258c932968f63363a7cefd6206e31c2f)] -> id: immGlobalControl_NewBranch_button]
--- 06 Sep 14:53:50 361 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (258c932968f63363a7cefd6206e31c2f)] -> css selector: button[id*='immBranch_ButtonClose_']]
Clicked on Add New Branch icon
--- 06 Sep 14:53:50 453 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (258c932968f63363a7cefd6206e31c2f)] -> css selector: input[id*='immBranch_BranchName_']]
--- 06 Sep 14:53:50 521 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (258c932968f63363a7cefd6206e31c2f)] -> css selector: input[id*='immBranch_BranchName_']]
--- 06 Sep 14:53:51 241 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (258c932968f63363a7cefd6206e31c2f)] -> css selector: button[id*='immBranch_ButtonSave_']]
--- 06 Sep 14:53:51 339 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (258c932968f63363a7cefd6206e31c2f)] -> css selector: button[id*='immBranch_ButtonSave_']]
--- 06 Sep 14:53:51 554 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (258c932968f63363a7cefd6206e31c2f)] -> id: immGlobalControl_NewBranch_button]
--- 06 Sep 14:53:54 971 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 06 Sep 14:53:54 972 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 14:53:55 042 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (258c932968f63363a7cefd6206e31c2f)] -> id: imm_searchBr_GlobalControl]
--- 06 Sep 14:53:55 103 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (258c932968f63363a7cefd6206e31c2f)] -> id: imm_searchBr_GlobalControl]
--- 06 Sep 14:53:55 568 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (258c932968f63363a7cefd6206e31c2f)] -> id: immAllBranchesControl_SetSelectAllBrOption_CheckBox]
--- 06 Sep 14:53:55 674 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (258c932968f63363a7cefd6206e31c2f)] -> id: immAllBranchesControl_SetSelectAllBrOption_CheckBox]
Expected: select the list matching pattern in 'Branches' page
Actual(Passed): Successfully selected list in 'Branches' page[ScreenShot] --- 06 Sep 14:53:59 194 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 06 Sep 14:53:59 195 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 14:53:59 613 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (258c932968f63363a7cefd6206e31c2f)] -> css selector: button[id*='immBranch_TabSettings_']]
--- 06 Sep 14:53:59 707 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (258c932968f63363a7cefd6206e31c2f)] -> css selector: button[id*='immBranch_TabSettings_']]
--- 06 Sep 14:54:02 038 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (258c932968f63363a7cefd6206e31c2f)] -> xpath: //span[text()='Host Specific']/ancestor::mat-expansion-panel-header]
--- 06 Sep 14:54:02 112 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (258c932968f63363a7cefd6206e31c2f)] -> xpath: //span[text()='Others']/ancestor::mat-expansion-panel-header]
--- 06 Sep 14:54:02 182 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (258c932968f63363a7cefd6206e31c2f)] -> xpath: //span[text()='Receipt']/ancestor::mat-expansion-panel-header]
--- 06 Sep 14:54:02 254 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (258c932968f63363a7cefd6206e31c2f)] -> xpath: //span[text()='Report']/ancestor::mat-expansion-panel-header]
--- 06 Sep 14:54:02 326 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (258c932968f63363a7cefd6206e31c2f)] -> 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] --- 06 Sep 14:54:10 824 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 06 Sep 14:54:10 825 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 14:54:16 924 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (258c932968f63363a7cefd6206e31c2f)] -> id: immIsEditMode]
--- 06 Sep 14:54:25 477 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 06 Sep 14:54:25 478 - 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] --- 06 Sep 14:54:29 937 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (258c932968f63363a7cefd6206e31c2f)] -> id: immReceiptPrinterName]
Expected: Select the Priner Name
Actual(Passed): Sucessfully Selected the Priner Name:Fax[ScreenShot] Expected: Select 'Name'
Actual(Passed): Sucessfully Selected 'Name' : Arial[ScreenShot] Expected: Select 'Size'
Actual(Passed): Sucessfully Selected 'Size' : 9[ScreenShot] Expected: click 'Style'
Actual(Failed): Failed to click 'Style'[ScreenShot] Expected: select 'Printer Style'
Actual(Passed): Sucessfully Printer ' printer Style' : Narrow[ScreenShot] --- 06 Sep 14:55:02 854 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (258c932968f63363a7cefd6206e31c2f)] -> xpath: //span[text()='Report']/ancestor::mat-expansion-panel-header]
Expected: Expand the Report panel
Actual(Passed): Sucessfully Expanded the Report panel[ScreenShot] --- 06 Sep 14:55:09 667 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (258c932968f63363a7cefd6206e31c2f)] -> 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] --- 06 Sep 14:55:41 288 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (258c932968f63363a7cefd6206e31c2f)] -> 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] --- 06 Sep 14:55:46 544 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (258c932968f63363a7cefd6206e31c2f)] -> 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] --- 06 Sep 14:55:47 282 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (258c932968f63363a7cefd6206e31c2f)] -> 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.