--- 05 Sep 18:24:10 163 - TestCaseID:: verifyeReceiptsRestartTextInFISettings
--- 05 Sep 18:24:19 725 - 9 - Driver::initialize::Get - com.imm.ereceipt.support.WebDriverFactory.get(WebDriverFactory.java:565)
verify eReceipts Restart text in FI settings
Steps:
--- 05 Sep 18:24:25 816 - 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=01991bfb-11ac-7060-8e43-991e7f04f389&response_mode=fragment&client_info=1&nonce=01991bfb-11af-7294-a6b1-a7baf2b12bba&state=eyjpzci6ijaxotkxymziltexywutn2vhni1im2iwlwy4ywmxmtk4zgjmzcisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=cssw4-xtpysculnxgt1cwncvx6zsozy9li-9awsfaos&code_challenge_method=s256&sso_reload=true
--- 05 Sep 18:24:25 820 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 18:24:25 978 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (cf0b7666f7e8427fc11eb5e0f03d5112)] -> xpath: //input[@id='i0116']]
Successfully navigated to 'eReceipts FI Admin' Page
--- 05 Sep 18:24:26 094 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (cf0b7666f7e8427fc11eb5e0f03d5112)] -> xpath: //input[@id='i0116']]
--- 05 Sep 18:24:26 198 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (cf0b7666f7e8427fc11eb5e0f03d5112)] -> id: idSIButton9]
Text field 'User ID', Password' and button 'Login, 'Cancel' are displayed in the 'Login' page
--- 05 Sep 18:24:26 313 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (cf0b7666f7e8427fc11eb5e0f03d5112)] -> xpath: //input[@id='i0116']]
--- 05 Sep 18:24:26 431 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (cf0b7666f7e8427fc11eb5e0f03d5112)] -> xpath: //input[@id='i0116']]
--- 05 Sep 18:24:30 380 - 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=01991bfb-11ac-7060-8e43-991e7f04f389&response_mode=fragment&client_info=1&nonce=01991bfb-11af-7294-a6b1-a7baf2b12bba&state=eyjpzci6ijaxotkxymziltexywutn2vhni1im2iwlwy4ywmxmtk4zgjmzcisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=cssw4-xtpysculnxgt1cwncvx6zsozy9li-9awsfaos&code_challenge_method=s256&sso_reload=true
--- 05 Sep 18:24:30 388 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 18:24:34 211 - 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=01991bfb-11ac-7060-8e43-991e7f04f389&response_mode=fragment&client_info=1&nonce=01991bfb-11af-7294-a6b1-a7baf2b12bba&state=eyjpzci6ijaxotkxymziltexywutn2vhni1im2iwlwy4ywmxmtk4zgjmzcisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=cssw4-xtpysculnxgt1cwncvx6zsozy9li-9awsfaos&code_challenge_method=s256&sso_reload=true
--- 05 Sep 18:24:34 212 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 18:24:38 196 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (cf0b7666f7e8427fc11eb5e0f03d5112)] -> xpath: //input[@id='i0118']]
--- 05 Sep 18:24:38 295 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (cf0b7666f7e8427fc11eb5e0f03d5112)] -> xpath: //input[@id='i0118']]
--- 05 Sep 18:24:41 717 - 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=01991bfb-11ac-7060-8e43-991e7f04f389&response_mode=fragment&client_info=1&nonce=01991bfb-11af-7294-a6b1-a7baf2b12bba&state=eyjpzci6ijaxotkxymziltexywutn2vhni1im2iwlwy4ywmxmtk4zgjmzcisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=cssw4-xtpysculnxgt1cwncvx6zsozy9li-9awsfaos&code_challenge_method=s256&sso_reload=true
--- 05 Sep 18:24:41 718 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
logged with the Username:fiAdmin@Qaxpauto1.onmicrosoft.com
--- 05 Sep 18:24:46 768 - Page URL:: https://login.microsoftonline.com/common/login
--- 05 Sep 18:24:46 769 - 4 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 18:24:55 302 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 05 Sep 18:24:55 303 - 5 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 18:24:58 680 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 05 Sep 18:24:58 681 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 18:24:58 802 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (cf0b7666f7e8427fc11eb5e0f03d5112)] -> xpath: //*[@id='immFIAdminHeader' and normalize-space()='Admin Dashboard']]
--- 05 Sep 18:25:02 024 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 05 Sep 18:25:02 025 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 18:25:02 114 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (cf0b7666f7e8427fc11eb5e0f03d5112)] -> xpath: //b[contains(text(),'Dashboard')]]
Successfully navigated to the 'Control Panel' page [ScreenShot] --- 05 Sep 18:25:04 520 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (cf0b7666f7e8427fc11eb5e0f03d5112)] -> id: immAdministration]
--- 05 Sep 18:25:04 845 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (cf0b7666f7e8427fc11eb5e0f03d5112)] -> id: immMenuSystemSettings]
--- 05 Sep 18:25:06 550 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (cf0b7666f7e8427fc11eb5e0f03d5112)] -> xpath: //span[text()='Host Specific']/ancestor::mat-expansion-panel-header]
--- 05 Sep 18:25:06 666 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (cf0b7666f7e8427fc11eb5e0f03d5112)] -> xpath: //span[text()='Others']/ancestor::mat-expansion-panel-header]
--- 05 Sep 18:25:06 760 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (cf0b7666f7e8427fc11eb5e0f03d5112)] -> xpath: //span[text()='Receipt']/ancestor::mat-expansion-panel-header]
--- 05 Sep 18:25:06 862 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (cf0b7666f7e8427fc11eb5e0f03d5112)] -> xpath: //span[text()='Report']/ancestor::mat-expansion-panel-header]
--- 05 Sep 18:25:06 952 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (cf0b7666f7e8427fc11eb5e0f03d5112)] -> 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] --- 05 Sep 18:25:16 096 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 05 Sep 18:25:16 097 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 05 Sep 18:25:22 235 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (cf0b7666f7e8427fc11eb5e0f03d5112)] -> id: immIsEditMode]
--- 05 Sep 18:25:31 102 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 05 Sep 18:25:31 103 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
Cannot invoke "String.trim()" because the return value of "org.openqa.selenium.WebElement.getAttribute(String)" is null [ScreenShot]