--- 06 Sep 16:38:07 773 - TestCaseID:: verifyFIPrintSettingsInAdmin
--- 06 Sep 16:38:12 129 - 4 - Driver::initialize::Get - com.imm.ereceipt.support.WebDriverFactory.get(WebDriverFactory.java:565)
verify print settings Admin Portal
Steps:
--- 06 Sep 16:38:16 361 - 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=019920c0-3cb2-76ab-a75a-a6099b605c9c&response_mode=fragment&client_info=1&nonce=019920c0-3cb4-76f6-99dc-dae69dba29c1&state=eyjpzci6ijaxotkymgmwltnjyjqtn2rjoc05zdqzlwy2nmrmnthlyzuyzcisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=tbxl6y4lsvbmtgofaaejvipxu6e4njpxd-nvz5is8hk&code_challenge_method=s256&sso_reload=true
--- 06 Sep 16:38:16 364 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 16:38:16 467 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f330d5451239d76557c6b9752e933a94)] -> xpath: //input[@id='i0116']]
Successfully navigated to 'eReceipts FI Admin' Page
--- 06 Sep 16:38:16 548 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f330d5451239d76557c6b9752e933a94)] -> xpath: //input[@id='i0116']]
--- 06 Sep 16:38:16 655 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f330d5451239d76557c6b9752e933a94)] -> id: idSIButton9]
Text field 'User ID', Password' and button 'Login, 'Cancel' are displayed in the 'Login' page
--- 06 Sep 16:38:16 752 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f330d5451239d76557c6b9752e933a94)] -> xpath: //input[@id='i0116']]
--- 06 Sep 16:38:16 843 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f330d5451239d76557c6b9752e933a94)] -> xpath: //input[@id='i0116']]
--- 06 Sep 16:38:20 309 - 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=019920c0-3cb2-76ab-a75a-a6099b605c9c&response_mode=fragment&client_info=1&nonce=019920c0-3cb4-76f6-99dc-dae69dba29c1&state=eyjpzci6ijaxotkymgmwltnjyjqtn2rjoc05zdqzlwy2nmrmnthlyzuyzcisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=tbxl6y4lsvbmtgofaaejvipxu6e4njpxd-nvz5is8hk&code_challenge_method=s256&sso_reload=true
--- 06 Sep 16:38:20 310 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 16:38:23 615 - 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=019920c0-3cb2-76ab-a75a-a6099b605c9c&response_mode=fragment&client_info=1&nonce=019920c0-3cb4-76f6-99dc-dae69dba29c1&state=eyjpzci6ijaxotkymgmwltnjyjqtn2rjoc05zdqzlwy2nmrmnthlyzuyzcisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=tbxl6y4lsvbmtgofaaejvipxu6e4njpxd-nvz5is8hk&code_challenge_method=s256&sso_reload=true
--- 06 Sep 16:38:23 616 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 16:38:27 078 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f330d5451239d76557c6b9752e933a94)] -> xpath: //input[@id='i0118']]
--- 06 Sep 16:38:27 151 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f330d5451239d76557c6b9752e933a94)] -> xpath: //input[@id='i0118']]
--- 06 Sep 16:38:30 483 - 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=019920c0-3cb2-76ab-a75a-a6099b605c9c&response_mode=fragment&client_info=1&nonce=019920c0-3cb4-76f6-99dc-dae69dba29c1&state=eyjpzci6ijaxotkymgmwltnjyjqtn2rjoc05zdqzlwy2nmrmnthlyzuyzcisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=tbxl6y4lsvbmtgofaaejvipxu6e4njpxd-nvz5is8hk&code_challenge_method=s256&sso_reload=true
--- 06 Sep 16:38:30 484 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
logged with the Username:fiAdmin@Qaxpauto1.onmicrosoft.com
--- 06 Sep 16:38:34 638 - Page URL:: https://login.microsoftonline.com/common/login
--- 06 Sep 16:38:34 639 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 16:38:41 652 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 06 Sep 16:38:41 652 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 16:38:44 786 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 06 Sep 16:38:44 786 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 16:38:44 859 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f330d5451239d76557c6b9752e933a94)] -> xpath: //*[@id='immFIAdminHeader' and normalize-space()='Admin Dashboard']]
--- 06 Sep 16:38:47 954 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 06 Sep 16:38:47 955 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 16:38:48 010 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f330d5451239d76557c6b9752e933a94)] -> xpath: //b[contains(text(),'Dashboard')]]
Successfully navigated to the 'Control Panel' page [ScreenShot] --- 06 Sep 16:38:50 254 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f330d5451239d76557c6b9752e933a94)] -> id: immAdministration]
--- 06 Sep 16:38:50 401 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f330d5451239d76557c6b9752e933a94)] -> id: immMenuSystemSettings]
--- 06 Sep 16:38:50 747 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f330d5451239d76557c6b9752e933a94)] -> xpath: //span[text()='Host Specific']/ancestor::mat-expansion-panel-header]
--- 06 Sep 16:38:50 865 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f330d5451239d76557c6b9752e933a94)] -> xpath: //span[text()='Others']/ancestor::mat-expansion-panel-header]
--- 06 Sep 16:38:51 169 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f330d5451239d76557c6b9752e933a94)] -> xpath: //span[text()='Receipt']/ancestor::mat-expansion-panel-header]
--- 06 Sep 16:38:51 290 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f330d5451239d76557c6b9752e933a94)] -> xpath: //span[text()='Report']/ancestor::mat-expansion-panel-header]
--- 06 Sep 16:38:51 387 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f330d5451239d76557c6b9752e933a94)] -> xpath: //span[text()='Suppress']/ancestor::mat-expansion-panel-header]
Expected: click on Settings button in Teller portal
Actual(Passed): Sucessfully clicked on Settings button in Teller portal[ScreenShot] --- 06 Sep 16:38:59 910 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 06 Sep 16:38:59 911 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 16:39:06 011 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f330d5451239d76557c6b9752e933a94)] -> id: immIsEditMode]
--- 06 Sep 16:39:14 430 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 06 Sep 16:39:14 431 - 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 16:39:18 875 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f330d5451239d76557c6b9752e933a94)] -> id: immReceiptPrinterName]
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' : 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] --- 06 Sep 16:39:52 730 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f330d5451239d76557c6b9752e933a94)] -> xpath: //span[text()='Report']/ancestor::mat-expansion-panel-header]
Expected: Expand the Report panel
Actual(Passed): Sucessfully Expanded the Report panel[ScreenShot] --- 06 Sep 16:39:59 371 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f330d5451239d76557c6b9752e933a94)] -> 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 16:40:30 848 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f330d5451239d76557c6b9752e933a94)] -> 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 16:40:36 060 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f330d5451239d76557c6b9752e933a94)] -> 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 16:40:36 799 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f330d5451239d76557c6b9752e933a94)] -> 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] --- 06 Sep 16:40:47 370 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (f330d5451239d76557c6b9752e933a94)] -> xpath: //div[@role='tab'][.//span[normalize-space()='Sign']]]
Expected: click on sign tab
Actual(Passed): Sucessfully clicked on sign tab[ScreenShot]
Test Failed. Check the steps above in red color.