--- 06 Sep 16:32:34 242 - TestCaseID:: verifyFIPlatformSettingsInAdmin
--- 06 Sep 16:32:38 809 - 4 - Driver::initialize::Get - com.imm.ereceipt.support.WebDriverFactory.get(WebDriverFactory.java:565)
verify FI Platform Settings In Admin
Steps:
--- 06 Sep 16:32:43 007 - 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=019920bb-2687-7a32-ae4e-af406d1086eb&response_mode=fragment&client_info=1&nonce=019920bb-2688-77b3-95c7-6ba7d9510d02&state=eyjpzci6ijaxotkymgjilti2odgtn2rlzs05otu0lwfjzwy5ntlkyzq2zsisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=yd2m9m3m0_7-aan0jusq-3svmuq3lcncx8t4rsvyde4&code_challenge_method=s256&sso_reload=true
--- 06 Sep 16:32:43 011 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 16:32:43 093 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (4e2ef6a24d3099be7e8ef98e849e5737)] -> xpath: //input[@id='i0116']]
Successfully navigated to 'eReceipts FI Admin' Page
--- 06 Sep 16:32:43 182 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (4e2ef6a24d3099be7e8ef98e849e5737)] -> xpath: //input[@id='i0116']]
--- 06 Sep 16:32:43 273 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (4e2ef6a24d3099be7e8ef98e849e5737)] -> id: idSIButton9]
Text field 'User ID', Password' and button 'Login, 'Cancel' are displayed in the 'Login' page
--- 06 Sep 16:32:43 364 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (4e2ef6a24d3099be7e8ef98e849e5737)] -> xpath: //input[@id='i0116']]
--- 06 Sep 16:32:43 459 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (4e2ef6a24d3099be7e8ef98e849e5737)] -> xpath: //input[@id='i0116']]
--- 06 Sep 16:32:46 919 - 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=019920bb-2687-7a32-ae4e-af406d1086eb&response_mode=fragment&client_info=1&nonce=019920bb-2688-77b3-95c7-6ba7d9510d02&state=eyjpzci6ijaxotkymgjilti2odgtn2rlzs05otu0lwfjzwy5ntlkyzq2zsisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=yd2m9m3m0_7-aan0jusq-3svmuq3lcncx8t4rsvyde4&code_challenge_method=s256&sso_reload=true
--- 06 Sep 16:32:46 920 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 16:32:50 169 - 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=019920bb-2687-7a32-ae4e-af406d1086eb&response_mode=fragment&client_info=1&nonce=019920bb-2688-77b3-95c7-6ba7d9510d02&state=eyjpzci6ijaxotkymgjilti2odgtn2rlzs05otu0lwfjzwy5ntlkyzq2zsisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=yd2m9m3m0_7-aan0jusq-3svmuq3lcncx8t4rsvyde4&code_challenge_method=s256&sso_reload=true
--- 06 Sep 16:32:50 170 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 16:32:53 614 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (4e2ef6a24d3099be7e8ef98e849e5737)] -> xpath: //input[@id='i0118']]
--- 06 Sep 16:32:53 680 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (4e2ef6a24d3099be7e8ef98e849e5737)] -> xpath: //input[@id='i0118']]
--- 06 Sep 16:32:56 987 - 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=019920bb-2687-7a32-ae4e-af406d1086eb&response_mode=fragment&client_info=1&nonce=019920bb-2688-77b3-95c7-6ba7d9510d02&state=eyjpzci6ijaxotkymgjilti2odgtn2rlzs05otu0lwfjzwy5ntlkyzq2zsisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=yd2m9m3m0_7-aan0jusq-3svmuq3lcncx8t4rsvyde4&code_challenge_method=s256&sso_reload=true
--- 06 Sep 16:32:56 989 - 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:33:01 321 - Page URL:: https://login.microsoftonline.com/common/login
--- 06 Sep 16:33:01 322 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 16:33:08 301 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 06 Sep 16:33:08 302 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 16:33:11 457 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 06 Sep 16:33:11 458 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 16:33:11 530 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (4e2ef6a24d3099be7e8ef98e849e5737)] -> xpath: //*[@id='immFIAdminHeader' and normalize-space()='Admin Dashboard']]
--- 06 Sep 16:33:14 676 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 06 Sep 16:33:14 676 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 16:33:14 739 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (4e2ef6a24d3099be7e8ef98e849e5737)] -> xpath: //b[contains(text(),'Dashboard')]]
Successfully navigated to the 'Control Panel' page [ScreenShot] --- 06 Sep 16:33:16 998 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (4e2ef6a24d3099be7e8ef98e849e5737)] -> id: immAdministration]
--- 06 Sep 16:33:17 176 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (4e2ef6a24d3099be7e8ef98e849e5737)] -> id: immMenuSystemSettings]
--- 06 Sep 16:33:17 523 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (4e2ef6a24d3099be7e8ef98e849e5737)] -> xpath: //span[text()='Host Specific']/ancestor::mat-expansion-panel-header]
--- 06 Sep 16:33:17 619 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (4e2ef6a24d3099be7e8ef98e849e5737)] -> xpath: //span[text()='Others']/ancestor::mat-expansion-panel-header]
--- 06 Sep 16:33:17 973 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (4e2ef6a24d3099be7e8ef98e849e5737)] -> xpath: //span[text()='Receipt']/ancestor::mat-expansion-panel-header]
--- 06 Sep 16:33:18 116 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (4e2ef6a24d3099be7e8ef98e849e5737)] -> xpath: //span[text()='Report']/ancestor::mat-expansion-panel-header]
--- 06 Sep 16:33:18 247 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (4e2ef6a24d3099be7e8ef98e849e5737)] -> 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:33:26 762 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 06 Sep 16:33:26 762 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 16:33:32 858 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (4e2ef6a24d3099be7e8ef98e849e5737)] -> id: immIsEditMode]
--- 06 Sep 16:33:41 292 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 06 Sep 16:33:41 293 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Sep 16:33:51 396 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (4e2ef6a24d3099be7e8ef98e849e5737)] -> id: immCore]
Expected: click on Platform tab
Actual(Passed): Sucessfully clicked on Platform tab[ScreenShot] Expected: click on Enable Hold Notice
Actual(Failed): Failed to click on Enable Hold Notice[ScreenShot]
Test Failed. Check the steps above in red color.