--- 06 Sep 15:26:20 019 - TestCaseID:: verifyFIDisplayHoldNoticeStatusInAdmin
--- 06 Sep 15:26:24 896 - 4 - Driver::initialize::Get - com.imm.ereceipt.support.WebDriverFactory.get(WebDriverFactory.java:565)
verify display hold notice State in Admin
Steps:
--- 06 Sep 15:26:29 294 - 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=0199207e-8435-7fc4-903c-b3ce6116b32a&response_mode=fragment&client_info=1&nonce=0199207e-8437-7098-9f89-50439fcc080c&state=eyjpzci6ijaxotkymddlltg0mzctn2ezmi1imdrllwywnzkzzgzmngjinsisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=lnu8hrxm8r3gcxh83d71zeskzuzow0_7p6sy6xcnjx4&code_challenge_method=s256&sso_reload=true
--- 06 Sep 15:26:29 297 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 15:26:29 388 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (2ff6647a76910223cda7f0e35fe71557)] -> xpath: //input[@id='i0116']]
Successfully navigated to 'eReceipts FI Admin' Page
--- 06 Sep 15:26:29 487 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (2ff6647a76910223cda7f0e35fe71557)] -> xpath: //input[@id='i0116']]
--- 06 Sep 15:26:29 587 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (2ff6647a76910223cda7f0e35fe71557)] -> id: idSIButton9]
Text field 'User ID', Password' and button 'Login, 'Cancel' are displayed in the 'Login' page
--- 06 Sep 15:26:29 687 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (2ff6647a76910223cda7f0e35fe71557)] -> xpath: //input[@id='i0116']]
--- 06 Sep 15:26:29 793 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (2ff6647a76910223cda7f0e35fe71557)] -> xpath: //input[@id='i0116']]
--- 06 Sep 15:26:33 206 - 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=0199207e-8435-7fc4-903c-b3ce6116b32a&response_mode=fragment&client_info=1&nonce=0199207e-8437-7098-9f89-50439fcc080c&state=eyjpzci6ijaxotkymddlltg0mzctn2ezmi1imdrllwywnzkzzgzmngjinsisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=lnu8hrxm8r3gcxh83d71zeskzuzow0_7p6sy6xcnjx4&code_challenge_method=s256&sso_reload=true
--- 06 Sep 15:26:33 207 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 15:26:36 518 - 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=0199207e-8435-7fc4-903c-b3ce6116b32a&response_mode=fragment&client_info=1&nonce=0199207e-8437-7098-9f89-50439fcc080c&state=eyjpzci6ijaxotkymddlltg0mzctn2ezmi1imdrllwywnzkzzgzmngjinsisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=lnu8hrxm8r3gcxh83d71zeskzuzow0_7p6sy6xcnjx4&code_challenge_method=s256&sso_reload=true
--- 06 Sep 15:26:36 518 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 15:26:40 047 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (2ff6647a76910223cda7f0e35fe71557)] -> xpath: //input[@id='i0118']]
--- 06 Sep 15:26:40 112 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (2ff6647a76910223cda7f0e35fe71557)] -> xpath: //input[@id='i0118']]
--- 06 Sep 15:26:43 381 - 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=0199207e-8435-7fc4-903c-b3ce6116b32a&response_mode=fragment&client_info=1&nonce=0199207e-8437-7098-9f89-50439fcc080c&state=eyjpzci6ijaxotkymddlltg0mzctn2ezmi1imdrllwywnzkzzgzmngjinsisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=lnu8hrxm8r3gcxh83d71zeskzuzow0_7p6sy6xcnjx4&code_challenge_method=s256&sso_reload=true
--- 06 Sep 15:26:43 382 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
logged with the Username:fiAdmin@Qaxpauto1.onmicrosoft.com
--- 06 Sep 15:26:47 555 - Page URL:: https://login.microsoftonline.com/common/login
--- 06 Sep 15:26:47 556 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 15:26:54 563 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 06 Sep 15:26:54 564 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 15:26:57 742 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 06 Sep 15:26:57 743 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 15:26:57 820 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (2ff6647a76910223cda7f0e35fe71557)] -> xpath: //*[@id='immFIAdminHeader' and normalize-space()='Admin Dashboard']]
--- 06 Sep 15:27:00 921 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 06 Sep 15:27:00 922 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 15:27:00 975 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (2ff6647a76910223cda7f0e35fe71557)] -> xpath: //b[contains(text(),'Dashboard')]]
Successfully navigated to the 'Control Panel' page [ScreenShot] --- 06 Sep 15:27:03 238 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (2ff6647a76910223cda7f0e35fe71557)] -> id: immAdministration]
--- 06 Sep 15:27:03 413 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (2ff6647a76910223cda7f0e35fe71557)] -> id: immMenuSystemSettings]
--- 06 Sep 15:27:03 794 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (2ff6647a76910223cda7f0e35fe71557)] -> xpath: //span[text()='Host Specific']/ancestor::mat-expansion-panel-header]
--- 06 Sep 15:27:03 878 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (2ff6647a76910223cda7f0e35fe71557)] -> xpath: //span[text()='Others']/ancestor::mat-expansion-panel-header]
--- 06 Sep 15:27:03 991 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (2ff6647a76910223cda7f0e35fe71557)] -> xpath: //span[text()='Receipt']/ancestor::mat-expansion-panel-header]
--- 06 Sep 15:27:04 238 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (2ff6647a76910223cda7f0e35fe71557)] -> xpath: //span[text()='Report']/ancestor::mat-expansion-panel-header]
--- 06 Sep 15:27:04 334 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (2ff6647a76910223cda7f0e35fe71557)] -> 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 15:27:12 863 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 06 Sep 15:27:12 863 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 15:27:18 961 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (2ff6647a76910223cda7f0e35fe71557)] -> id: immIsEditMode]
--- 06 Sep 15:27:27 353 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 06 Sep 15:27:27 354 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 15:27:37 454 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (2ff6647a76910223cda7f0e35fe71557)] -> id: immCore]
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.