--- 11 Sep 17:05:22 906 - TestCaseID:: verifyFIDisplayHoldNoticeStatusInAdmin
--- 11 Sep 17:05:29 205 - 6 - Driver::initialize::Get - com.imm.ereceipt.support.WebDriverFactory.get(WebDriverFactory.java:565)
verify display hold notice State in Admin
Steps:
--- 11 Sep 17:05:34 334 - 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=01993a99-0752-7e18-a9ff-d522add963b1&response_mode=fragment&client_info=1&nonce=01993a99-0754-7108-955c-e5a103f3f45d&state=eyjpzci6ijaxotkzytk5lta3ntmtnzy4yi05mwnlltrlodvmmwe5zdjincisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=e7rh_l1csox7fr1q5zsdzahp3qrhgz8jsgqibsc-fju&code_challenge_method=s256&sso_reload=true
--- 11 Sep 17:05:34 337 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 17:05:34 493 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (acb8feb6462355c44f4119e9f377717b)] -> xpath: //input[@id='i0116']]
Successfully navigated to 'eReceipts FI Admin' Page
--- 11 Sep 17:05:34 592 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (acb8feb6462355c44f4119e9f377717b)] -> xpath: //input[@id='i0116']]
--- 11 Sep 17:05:34 700 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (acb8feb6462355c44f4119e9f377717b)] -> id: idSIButton9]
Text field 'User ID', Password' and button 'Login, 'Cancel' are displayed in the 'Login' page
--- 11 Sep 17:05:34 802 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (acb8feb6462355c44f4119e9f377717b)] -> xpath: //input[@id='i0116']]
--- 11 Sep 17:05:34 900 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (acb8feb6462355c44f4119e9f377717b)] -> xpath: //input[@id='i0116']]
--- 11 Sep 17:05:39 317 - 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=01993a99-0752-7e18-a9ff-d522add963b1&response_mode=fragment&client_info=1&nonce=01993a99-0754-7108-955c-e5a103f3f45d&state=eyjpzci6ijaxotkzytk5lta3ntmtnzy4yi05mwnlltrlodvmmwe5zdjincisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=e7rh_l1csox7fr1q5zsdzahp3qrhgz8jsgqibsc-fju&code_challenge_method=s256&sso_reload=true
--- 11 Sep 17:05:39 318 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 17:05:43 242 - 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=01993a99-0752-7e18-a9ff-d522add963b1&response_mode=fragment&client_info=1&nonce=01993a99-0754-7108-955c-e5a103f3f45d&state=eyjpzci6ijaxotkzytk5lta3ntmtnzy4yi05mwnlltrlodvmmwe5zdjincisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=e7rh_l1csox7fr1q5zsdzahp3qrhgz8jsgqibsc-fju&code_challenge_method=s256&sso_reload=true
--- 11 Sep 17:05:43 243 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 17:05:47 054 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (acb8feb6462355c44f4119e9f377717b)] -> xpath: //input[@id='i0118']]
--- 11 Sep 17:05:47 151 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (acb8feb6462355c44f4119e9f377717b)] -> xpath: //input[@id='i0118']]
--- 11 Sep 17:05:50 570 - 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=01993a99-0752-7e18-a9ff-d522add963b1&response_mode=fragment&client_info=1&nonce=01993a99-0754-7108-955c-e5a103f3f45d&state=eyjpzci6ijaxotkzytk5lta3ntmtnzy4yi05mwnlltrlodvmmwe5zdjincisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=e7rh_l1csox7fr1q5zsdzahp3qrhgz8jsgqibsc-fju&code_challenge_method=s256&sso_reload=true
--- 11 Sep 17:05:50 571 - 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:05:55 456 - Page URL:: https://login.microsoftonline.com/common/login
--- 11 Sep 17:05:55 457 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 17:06:03 970 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 11 Sep 17:06:03 971 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 17:06:07 413 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 11 Sep 17:06:07 414 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 17:06:07 551 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (acb8feb6462355c44f4119e9f377717b)] -> xpath: //*[@id='immFIAdminHeader' and normalize-space()='Admin Dashboard']]
--- 11 Sep 17:06:10 726 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 11 Sep 17:06:10 727 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 17:06:10 842 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (acb8feb6462355c44f4119e9f377717b)] -> xpath: //b[contains(text(),'Dashboard')]]
Successfully navigated to the 'Control Panel' page [ScreenShot] --- 11 Sep 17:06:13 228 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (acb8feb6462355c44f4119e9f377717b)] -> id: immAdministration]
--- 11 Sep 17:06:13 522 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (acb8feb6462355c44f4119e9f377717b)] -> id: immMenuSystemSettings]
--- 11 Sep 17:06:15 233 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (acb8feb6462355c44f4119e9f377717b)] -> xpath: //span[text()='Host Specific']/ancestor::mat-expansion-panel-header]
--- 11 Sep 17:06:15 360 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (acb8feb6462355c44f4119e9f377717b)] -> xpath: //span[text()='Others']/ancestor::mat-expansion-panel-header]
--- 11 Sep 17:06:15 496 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (acb8feb6462355c44f4119e9f377717b)] -> xpath: //span[text()='Receipt']/ancestor::mat-expansion-panel-header]
--- 11 Sep 17:06:15 592 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (acb8feb6462355c44f4119e9f377717b)] -> xpath: //span[text()='Report']/ancestor::mat-expansion-panel-header]
--- 11 Sep 17:06:15 681 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (acb8feb6462355c44f4119e9f377717b)] -> 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:06:24 666 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 11 Sep 17:06:24 668 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 17:06:30 882 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (acb8feb6462355c44f4119e9f377717b)] -> id: immIsEditMode]
--- 11 Sep 17:06:39 639 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 11 Sep 17:06:39 641 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 11 Sep 17:06:49 784 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (acb8feb6462355c44f4119e9f377717b)] -> xpath: //div[@role='tab']//span[normalize-space()='Platform']]
Expected: click on Platform tab
Actual(Passed): Sucessfully clicked on Platform tab[ScreenShot] Expected: click on Enable Hold Notice
Actual(Passed): Sucessfully clicked on Enable Hold Notice:false[ScreenShot] Expected: Check display warning option
Actual(Passed): Hold Notice Display Warning Option is not present[ScreenShot]
Test Passed.