--- 11 Sep 16:27:45 264 - TestCaseID:: verifyBranchPrintSettingsInAdmin
--- 11 Sep 16:27:50 625 - 5 - Driver::initialize::Get - com.imm.ereceipt.support.WebDriverFactory.get(WebDriverFactory.java:565)
verify Branch print settings Admin Portal
Steps:
--- 11 Sep 16:27:55 634 - 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=01993a76-8feb-7148-b19c-6d577476b4b4&response_mode=fragment&client_info=1&nonce=01993a76-8fee-7a8b-a942-a6936fb25fc7&state=eyjpzci6ijaxotkzytc2lthmzwqtnzcwys1hmmu1lwi0ndbjnmuzodu2ziisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=wcjup_zqe7xawykznrn-xcdyxpm23eymjbqvu1kfhi8&code_challenge_method=s256&sso_reload=true
--- 11 Sep 16:27:55 638 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 16:27:55 774 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (692ed61a48862606d546040019351b00)] -> xpath: //input[@id='i0116']]
Successfully navigated to 'eReceipts FI Admin' Page
--- 11 Sep 16:27:55 881 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (692ed61a48862606d546040019351b00)] -> xpath: //input[@id='i0116']]
--- 11 Sep 16:27:55 991 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (692ed61a48862606d546040019351b00)] -> id: idSIButton9]
Text field 'User ID', Password' and button 'Login, 'Cancel' are displayed in the 'Login' page
--- 11 Sep 16:27:56 158 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (692ed61a48862606d546040019351b00)] -> xpath: //input[@id='i0116']]
--- 11 Sep 16:27:56 320 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (692ed61a48862606d546040019351b00)] -> xpath: //input[@id='i0116']]
--- 11 Sep 16:28:00 933 - 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=01993a76-8feb-7148-b19c-6d577476b4b4&response_mode=fragment&client_info=1&nonce=01993a76-8fee-7a8b-a942-a6936fb25fc7&state=eyjpzci6ijaxotkzytc2lthmzwqtnzcwys1hmmu1lwi0ndbjnmuzodu2ziisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=wcjup_zqe7xawykznrn-xcdyxpm23eymjbqvu1kfhi8&code_challenge_method=s256&sso_reload=true
--- 11 Sep 16:28:00 935 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 16:28:04 633 - 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=01993a76-8feb-7148-b19c-6d577476b4b4&response_mode=fragment&client_info=1&nonce=01993a76-8fee-7a8b-a942-a6936fb25fc7&state=eyjpzci6ijaxotkzytc2lthmzwqtnzcwys1hmmu1lwi0ndbjnmuzodu2ziisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=wcjup_zqe7xawykznrn-xcdyxpm23eymjbqvu1kfhi8&code_challenge_method=s256&sso_reload=true
--- 11 Sep 16:28:04 634 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 16:28:08 448 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (692ed61a48862606d546040019351b00)] -> xpath: //input[@id='i0118']]
--- 11 Sep 16:28:08 557 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (692ed61a48862606d546040019351b00)] -> xpath: //input[@id='i0118']]
--- 11 Sep 16:28:12 011 - 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=01993a76-8feb-7148-b19c-6d577476b4b4&response_mode=fragment&client_info=1&nonce=01993a76-8fee-7a8b-a942-a6936fb25fc7&state=eyjpzci6ijaxotkzytc2lthmzwqtnzcwys1hmmu1lwi0ndbjnmuzodu2ziisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=wcjup_zqe7xawykznrn-xcdyxpm23eymjbqvu1kfhi8&code_challenge_method=s256&sso_reload=true
--- 11 Sep 16:28:12 012 - 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:28:16 995 - Page URL:: https://login.microsoftonline.com/common/login
--- 11 Sep 16:28:16 996 - 4 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 16:28:24 965 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 11 Sep 16:28:24 966 - 4 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 16:28:28 267 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 11 Sep 16:28:28 268 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 16:28:28 366 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (692ed61a48862606d546040019351b00)] -> xpath: //*[@id='immFIAdminHeader' and normalize-space()='Admin Dashboard']]
--- 11 Sep 16:28:31 515 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 11 Sep 16:28:31 516 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 16:28:31 608 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (692ed61a48862606d546040019351b00)] -> xpath: //b[contains(text(),'Dashboard')]]
Successfully navigated to the 'Control Panel' page [ScreenShot] --- 11 Sep 16:28:31 899 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (692ed61a48862606d546040019351b00)] -> id: immAdministration]
--- 11 Sep 16:28:34 061 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (692ed61a48862606d546040019351b00)] -> id: immAdministration]
--- 11 Sep 16:28:34 361 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (692ed61a48862606d546040019351b00)] -> id: immMenuBandW]
--- 11 Sep 16:28:40 849 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (692ed61a48862606d546040019351b00)] -> id: immGlobalControl_NewBranch_button]
--- 11 Sep 16:28:41 334 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (692ed61a48862606d546040019351b00)] -> css selector: button[id*='immBranch_ButtonClose_']]
Clicked on Add New Branch icon
--- 11 Sep 16:28:41 437 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (692ed61a48862606d546040019351b00)] -> css selector: input[id*='immBranch_BranchName_']]
--- 11 Sep 16:28:41 521 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (692ed61a48862606d546040019351b00)] -> css selector: input[id*='immBranch_BranchName_']]
--- 11 Sep 16:28:42 410 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (692ed61a48862606d546040019351b00)] -> css selector: button[id*='immBranch_ButtonSave_']]
--- 11 Sep 16:28:42 537 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (692ed61a48862606d546040019351b00)] -> css selector: button[id*='immBranch_ButtonSave_']]
--- 11 Sep 16:28:42 985 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (692ed61a48862606d546040019351b00)] -> id: immGlobalControl_NewBranch_button]
--- 11 Sep 16:28:46 703 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 11 Sep 16:28:46 704 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 16:28:46 792 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (692ed61a48862606d546040019351b00)] -> id: imm_searchBr_GlobalControl]
--- 11 Sep 16:28:46 879 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (692ed61a48862606d546040019351b00)] -> id: imm_searchBr_GlobalControl]
--- 11 Sep 16:28:47 668 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (692ed61a48862606d546040019351b00)] -> id: immAllBranchesControl_SetSelectAllBrOption_CheckBox]
--- 11 Sep 16:28:47 781 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (692ed61a48862606d546040019351b00)] -> 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:28:51 582 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 11 Sep 16:28:51 584 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 16:28:52 082 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (692ed61a48862606d546040019351b00)] -> css selector: button[id*='immBranch_TabSettings_']]
--- 11 Sep 16:28:52 208 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (692ed61a48862606d546040019351b00)] -> css selector: button[id*='immBranch_TabSettings_']]
--- 11 Sep 16:28:54 629 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (692ed61a48862606d546040019351b00)] -> xpath: //span[text()='Host Specific']/ancestor::mat-expansion-panel-header]
--- 11 Sep 16:28:54 723 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (692ed61a48862606d546040019351b00)] -> xpath: //span[text()='Others']/ancestor::mat-expansion-panel-header]
--- 11 Sep 16:28:54 835 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (692ed61a48862606d546040019351b00)] -> xpath: //span[text()='Receipt']/ancestor::mat-expansion-panel-header]
--- 11 Sep 16:28:54 920 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (692ed61a48862606d546040019351b00)] -> xpath: //span[text()='Report']/ancestor::mat-expansion-panel-header]
--- 11 Sep 16:28:55 023 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (692ed61a48862606d546040019351b00)] -> 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:29:03 950 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 11 Sep 16:29:03 951 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 16:29:10 084 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (692ed61a48862606d546040019351b00)] -> id: immIsEditMode]
--- 11 Sep 16:29:19 034 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/branchesandworkstations
--- 11 Sep 16:29:19 035 - 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:29:23 614 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (692ed61a48862606d546040019351b00)] -> 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:30:09 845 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (692ed61a48862606d546040019351b00)] -> 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:30:16 655 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (692ed61a48862606d546040019351b00)] -> 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:30:47 472 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (692ed61a48862606d546040019351b00)] -> 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:30:53 449 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (692ed61a48862606d546040019351b00)] -> 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:30:54 386 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (692ed61a48862606d546040019351b00)] -> 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.