--- 11 Sep 17:29:22 925 - TestCaseID:: verifyFIGeneralSettingsInAdmin
--- 11 Sep 17:29:29 047 - 6 - Driver::initialize::Get - com.imm.ereceipt.support.WebDriverFactory.get(WebDriverFactory.java:565)
verify General Settings In Admin
Steps:
--- 11 Sep 17:29:34 110 - 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=01993aae-ff6b-72b6-9977-4f203c7de447&response_mode=fragment&client_info=1&nonce=01993aae-ff6e-7f70-b713-63fb9560f245&state=eyjpzci6ijaxotkzywfllwzmnmqtn2zmmy1iodhklte1mdrmzwq2zdvknyisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=36azitlkyhkww0konyd6ypi_zrxf8paopdjzdhrulyi&code_challenge_method=s256&sso_reload=true
--- 11 Sep 17:29:34 113 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 17:29:34 245 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (77adecc5f8d43d84b3c5a0b32f308bf5)] -> xpath: //input[@id='i0116']]
Successfully navigated to 'eReceipts FI Admin' Page
--- 11 Sep 17:29:34 344 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (77adecc5f8d43d84b3c5a0b32f308bf5)] -> xpath: //input[@id='i0116']]
--- 11 Sep 17:29:34 461 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (77adecc5f8d43d84b3c5a0b32f308bf5)] -> id: idSIButton9]
Text field 'User ID', Password' and button 'Login, 'Cancel' are displayed in the 'Login' page
--- 11 Sep 17:29:34 558 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (77adecc5f8d43d84b3c5a0b32f308bf5)] -> xpath: //input[@id='i0116']]
--- 11 Sep 17:29:34 667 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (77adecc5f8d43d84b3c5a0b32f308bf5)] -> xpath: //input[@id='i0116']]
--- 11 Sep 17:29:38 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=01993aae-ff6b-72b6-9977-4f203c7de447&response_mode=fragment&client_info=1&nonce=01993aae-ff6e-7f70-b713-63fb9560f245&state=eyjpzci6ijaxotkzywfllwzmnmqtn2zmmy1iodhklte1mdrmzwq2zdvknyisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=36azitlkyhkww0konyd6ypi_zrxf8paopdjzdhrulyi&code_challenge_method=s256&sso_reload=true
--- 11 Sep 17:29:38 310 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 17:29:41 988 - 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=01993aae-ff6b-72b6-9977-4f203c7de447&response_mode=fragment&client_info=1&nonce=01993aae-ff6e-7f70-b713-63fb9560f245&state=eyjpzci6ijaxotkzywfllwzmnmqtn2zmmy1iodhklte1mdrmzwq2zdvknyisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=36azitlkyhkww0konyd6ypi_zrxf8paopdjzdhrulyi&code_challenge_method=s256&sso_reload=true
--- 11 Sep 17:29:41 990 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 17:29:46 001 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (77adecc5f8d43d84b3c5a0b32f308bf5)] -> xpath: //input[@id='i0118']]
--- 11 Sep 17:29:46 091 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (77adecc5f8d43d84b3c5a0b32f308bf5)] -> xpath: //input[@id='i0118']]
--- 11 Sep 17:29:49 498 - 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=01993aae-ff6b-72b6-9977-4f203c7de447&response_mode=fragment&client_info=1&nonce=01993aae-ff6e-7f70-b713-63fb9560f245&state=eyjpzci6ijaxotkzywfllwzmnmqtn2zmmy1iodhklte1mdrmzwq2zdvknyisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=36azitlkyhkww0konyd6ypi_zrxf8paopdjzdhrulyi&code_challenge_method=s256&sso_reload=true
--- 11 Sep 17:29:49 499 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
logged with the Username:fiAdmin@Qaxpauto1.onmicrosoft.com
--- 11 Sep 17:29:54 449 - Page URL:: https://login.microsoftonline.com/common/login
--- 11 Sep 17:29:54 450 - 4 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 17:30:02 736 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 11 Sep 17:30:02 739 - 5 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 17:30:06 208 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 11 Sep 17:30:06 209 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 17:30:06 325 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (77adecc5f8d43d84b3c5a0b32f308bf5)] -> xpath: //*[@id='immFIAdminHeader' and normalize-space()='Admin Dashboard']]
--- 11 Sep 17:30:09 470 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 11 Sep 17:30:09 471 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 17:30:09 563 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (77adecc5f8d43d84b3c5a0b32f308bf5)] -> xpath: //b[contains(text(),'Dashboard')]]
Successfully navigated to the 'Control Panel' page [ScreenShot] --- 11 Sep 17:30:11 991 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (77adecc5f8d43d84b3c5a0b32f308bf5)] -> id: immAdministration]
--- 11 Sep 17:30:12 240 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (77adecc5f8d43d84b3c5a0b32f308bf5)] -> id: immMenuSystemSettings]
--- 11 Sep 17:30:12 938 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (77adecc5f8d43d84b3c5a0b32f308bf5)] -> xpath: //span[text()='Host Specific']/ancestor::mat-expansion-panel-header]
--- 11 Sep 17:30:13 074 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (77adecc5f8d43d84b3c5a0b32f308bf5)] -> xpath: //span[text()='Others']/ancestor::mat-expansion-panel-header]
--- 11 Sep 17:30:13 217 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (77adecc5f8d43d84b3c5a0b32f308bf5)] -> xpath: //span[text()='Receipt']/ancestor::mat-expansion-panel-header]
--- 11 Sep 17:30:13 663 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (77adecc5f8d43d84b3c5a0b32f308bf5)] -> xpath: //span[text()='Report']/ancestor::mat-expansion-panel-header]
--- 11 Sep 17:30:13 954 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (77adecc5f8d43d84b3c5a0b32f308bf5)] -> 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] --- 11 Sep 17:30:22 662 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 11 Sep 17:30:22 663 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 17:30:28 839 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (77adecc5f8d43d84b3c5a0b32f308bf5)] -> id: immIsEditMode]
--- 11 Sep 17:30:37 608 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 11 Sep 17:30:37 608 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 17:30:47 740 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (77adecc5f8d43d84b3c5a0b32f308bf5)] -> id: immBrand]
Expected: click on General tab
Actual(Passed): Sucessfully clicked on General tab[ScreenShot] --- 11 Sep 17:30:48 661 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (77adecc5f8d43d84b3c5a0b32f308bf5)] -> id: immGeneralLogo1Upload]
File Dragged and dropped to clipboard
--- 11 Sep 17:31:16 237 - Element not found : element
--- 11 Sep 17:31:29 936 - Element not found : element
--- 11 Sep 17:31:43 618 - Element not found : element
--- 11 Sep 17:31:57 301 - Element not found : element
--- 11 Sep 17:32:11 010 - Element not found : element
--- 11 Sep 17:32:24 763 - Element not found : element
--- 11 Sep 17:32:38 481 - Element not found : element
--- 11 Sep 17:32:52 263 - Element not found : element
--- 11 Sep 17:33:05 980 - Element not found : element
--- 11 Sep 17:33:19 701 - Element not found : element
--- 11 Sep 17:33:20 707 - Unable to find an element after 10 sec
Expected: UPload file
Actual(Failed): Failed to UPload file[ScreenShot] --- 11 Sep 17:33:22 078 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (77adecc5f8d43d84b3c5a0b32f308bf5)] -> id: immGeneralLogo2Upload]
File Dragged and dropped to clipboard
--- 11 Sep 17:33:49 006 - Element not found : element
--- 11 Sep 17:34:02 698 - Element not found : element
--- 11 Sep 17:34:16 421 - Element not found : element
--- 11 Sep 17:34:30 127 - Element not found : element
--- 11 Sep 17:34:43 826 - Element not found : element
--- 11 Sep 17:34:57 588 - Element not found : element
--- 11 Sep 17:35:11 269 - Element not found : element
--- 11 Sep 17:35:25 039 - Element not found : element
--- 11 Sep 17:35:38 786 - Element not found : element
--- 11 Sep 17:35:52 529 - Element not found : element
--- 11 Sep 17:35:53 536 - Unable to find an element after 10 sec
Expected: UPload file
Actual(Failed): Failed to UPload file[ScreenShot] --- 11 Sep 17:36:01 186 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (77adecc5f8d43d84b3c5a0b32f308bf5)] -> id: immBrandingMarketingMessage]
Expected: set Receipt Marketing Message
Actual(Passed): Sucessfully setted Receipt Marketing Message:Receipt Marketing Message[ScreenShot] --- 11 Sep 17:36:09 767 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (77adecc5f8d43d84b3c5a0b32f308bf5)] -> id: immBrandingCuAddress]
Expected: set CU Address
Actual(Passed): Sucessfully setted CU Address:CU Address[ScreenShot] --- 11 Sep 17:36:11 783 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (77adecc5f8d43d84b3c5a0b32f308bf5)] -> id: immGeneralMarketingLogoUpload]
File Dragged and dropped to clipboard
--- 11 Sep 17:36:26 168 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (77adecc5f8d43d84b3c5a0b32f308bf5)] -> id: immGeneralMarketingLogoImage]
Expected: UPload file
Actual(Passed): Sucessfully UPloaded Marketing file:src/main/resources/testdata/files/eSignLogoTablet.jpg[ScreenShot]
Test Failed. Check the steps above in red color.