--- 04 Sep 22:32:41 986 - TestCaseID:: verifyBranchPrintSettingsInAdmin
--- 04 Sep 22:32:48 737 - 6 - Driver::initialize::Get - com.imm.ereceipt.support.WebDriverFactory.get(WebDriverFactory.java:565)
verify Branch print settings Admin Portal
Steps:
--- 04 Sep 22:32:53 885 - 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=019917b8-2fdd-7f26-9e94-be4836e99613&response_mode=fragment&client_info=1&nonce=019917b8-2fe0-76f6-8570-3958bf46a777&state=eyjpzci6ijaxotkxn2i4ltjmzgytn2vkyy05zgy2ltmwyjc4otuxmte1zcisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=8rg2phk22acfqmkx1t_yaynkoobo2n3h5mby68dwpys&code_challenge_method=s256&sso_reload=true
--- 04 Sep 22:32:53 893 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 22:32:54 107 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (e3e3caaf33db3e766cab9f1935db842b)] -> xpath: //input[@id='i0116']]
Successfully navigated to 'eReceipts FI Admin' Page
--- 04 Sep 22:32:54 225 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (e3e3caaf33db3e766cab9f1935db842b)] -> xpath: //input[@id='i0116']]
--- 04 Sep 22:32:54 393 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (e3e3caaf33db3e766cab9f1935db842b)] -> id: idSIButton9]
Text field 'User ID', Password' and button 'Login, 'Cancel' are displayed in the 'Login' page
--- 04 Sep 22:32:54 521 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (e3e3caaf33db3e766cab9f1935db842b)] -> xpath: //input[@id='i0116']]
--- 04 Sep 22:32:54 634 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (e3e3caaf33db3e766cab9f1935db842b)] -> xpath: //input[@id='i0116']]
--- 04 Sep 22:32:58 266 - 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=019917b8-2fdd-7f26-9e94-be4836e99613&response_mode=fragment&client_info=1&nonce=019917b8-2fe0-76f6-8570-3958bf46a777&state=eyjpzci6ijaxotkxn2i4ltjmzgytn2vkyy05zgy2ltmwyjc4otuxmte1zcisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=8rg2phk22acfqmkx1t_yaynkoobo2n3h5mby68dwpys&code_challenge_method=s256&sso_reload=true
--- 04 Sep 22:32:58 267 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 22:33:01 623 - 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=019917b8-2fdd-7f26-9e94-be4836e99613&response_mode=fragment&client_info=1&nonce=019917b8-2fe0-76f6-8570-3958bf46a777&state=eyjpzci6ijaxotkxn2i4ltjmzgytn2vkyy05zgy2ltmwyjc4otuxmte1zcisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=8rg2phk22acfqmkx1t_yaynkoobo2n3h5mby68dwpys&code_challenge_method=s256&sso_reload=true
--- 04 Sep 22:33:01 629 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 22:33:05 832 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (e3e3caaf33db3e766cab9f1935db842b)] -> xpath: //input[@id='i0118']]
--- 04 Sep 22:33:06 233 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (e3e3caaf33db3e766cab9f1935db842b)] -> xpath: //input[@id='i0118']]
--- 04 Sep 22:33:09 855 - 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=019917b8-2fdd-7f26-9e94-be4836e99613&response_mode=fragment&client_info=1&nonce=019917b8-2fe0-76f6-8570-3958bf46a777&state=eyjpzci6ijaxotkxn2i4ltjmzgytn2vkyy05zgy2ltmwyjc4otuxmte1zcisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=8rg2phk22acfqmkx1t_yaynkoobo2n3h5mby68dwpys&code_challenge_method=s256&sso_reload=true
--- 04 Sep 22:33:09 856 - 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:33:14 716 - Page URL:: https://login.microsoftonline.com/common/login
--- 04 Sep 22:33:14 717 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 22:33:22 888 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 04 Sep 22:33:22 889 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 22:33:26 266 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 04 Sep 22:33:26 267 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 22:33:26 371 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (e3e3caaf33db3e766cab9f1935db842b)] -> xpath: //*[@id='immFIAdminHeader' and normalize-space()='Admin Dashboard']]
--- 04 Sep 22:33:29 549 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 04 Sep 22:33:29 550 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 22:33:29 639 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (e3e3caaf33db3e766cab9f1935db842b)] -> xpath: //b[contains(text(),'Dashboard')]]
Successfully navigated to the 'Control Panel' page [ScreenShot] --- 04 Sep 22:33:29 987 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (e3e3caaf33db3e766cab9f1935db842b)] -> id: immAdministration]
--- 04 Sep 22:33:32 158 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (e3e3caaf33db3e766cab9f1935db842b)] -> id: immAdministration]
--- 04 Sep 22:33:32 648 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (e3e3caaf33db3e766cab9f1935db842b)] -> id: immMenuBandW]
--- 04 Sep 22:33:39 176 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (e3e3caaf33db3e766cab9f1935db842b)] -> id: immGlobalControl_NewBranch_button]
--- 04 Sep 22:33:39 668 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (e3e3caaf33db3e766cab9f1935db842b)] -> css selector: button[id*='immBranch_ButtonClose_']]
Clicked on Add New Branch icon
--- 04 Sep 22:33:39 804 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (e3e3caaf33db3e766cab9f1935db842b)] -> css selector: input[id*='immBranch_BranchName_']]
--- 04 Sep 22:33:39 911 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (e3e3caaf33db3e766cab9f1935db842b)] -> css selector: input[id*='immBranch_BranchName_']]
--- 04 Sep 22:33:40 669 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (e3e3caaf33db3e766cab9f1935db842b)] -> css selector: button[id*='immBranch_ButtonSave_']]
--- 04 Sep 22:33:40 783 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (e3e3caaf33db3e766cab9f1935db842b)] -> css selector: button[id*='immBranch_ButtonSave_']]
--- 04 Sep 22:33:41 143 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (e3e3caaf33db3e766cab9f1935db842b)] -> id: immGlobalControl_NewBranch_button]
--- 04 Sep 22:33:44 831 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 04 Sep 22:33:44 832 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 22:33:44 962 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (e3e3caaf33db3e766cab9f1935db842b)] -> id: imm_searchBr_GlobalControl]
--- 04 Sep 22:33:45 048 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (e3e3caaf33db3e766cab9f1935db842b)] -> id: imm_searchBr_GlobalControl]
--- 04 Sep 22:33:45 670 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (e3e3caaf33db3e766cab9f1935db842b)] -> id: immAllBranchesControl_SetSelectAllBrOption_CheckBox]
--- 04 Sep 22:33:45 787 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (e3e3caaf33db3e766cab9f1935db842b)] -> 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:33:49 649 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 04 Sep 22:33:49 650 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 22:33:50 192 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (e3e3caaf33db3e766cab9f1935db842b)] -> css selector: button[id*='immBranch_TabSettings_']]
--- 04 Sep 22:33:50 318 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (e3e3caaf33db3e766cab9f1935db842b)] -> css selector: button[id*='immBranch_TabSettings_']]
--- 04 Sep 22:33:52 786 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (e3e3caaf33db3e766cab9f1935db842b)] -> xpath: //span[text()='Host Specific']/ancestor::mat-expansion-panel-header]
--- 04 Sep 22:33:52 914 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (e3e3caaf33db3e766cab9f1935db842b)] -> xpath: //span[text()='Others']/ancestor::mat-expansion-panel-header]
--- 04 Sep 22:33:53 015 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (e3e3caaf33db3e766cab9f1935db842b)] -> xpath: //span[text()='Receipt']/ancestor::mat-expansion-panel-header]
--- 04 Sep 22:33:53 128 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (e3e3caaf33db3e766cab9f1935db842b)] -> xpath: //span[text()='Report']/ancestor::mat-expansion-panel-header]
--- 04 Sep 22:33:53 234 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (e3e3caaf33db3e766cab9f1935db842b)] -> 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:34:02 642 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 04 Sep 22:34:02 643 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 04 Sep 22:34:08 782 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (e3e3caaf33db3e766cab9f1935db842b)] -> id: immIsEditMode]
--- 04 Sep 22:34:17 776 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 04 Sep 22:34:17 783 - 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:34:22 394 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (e3e3caaf33db3e766cab9f1935db842b)] -> 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:34:56 594 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (e3e3caaf33db3e766cab9f1935db842b)] -> 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:35:03 490 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (e3e3caaf33db3e766cab9f1935db842b)] -> 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:35:36 798 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (e3e3caaf33db3e766cab9f1935db842b)] -> 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:35:42 975 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (e3e3caaf33db3e766cab9f1935db842b)] -> 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:35:44 264 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (e3e3caaf33db3e766cab9f1935db842b)] -> 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.