--- 12 May 16:19:15 705 - TestCaseID:: verifyMemberImportFileLocationPath
--- 12 May 16:19:23 560 - 8 - Driver::initialize::Get - com.imm.ereceipt.support.WebDriverFactory.get(WebDriverFactory.java:557)
***** verify the Member import file location path *****
***** verify the Member import file location path *****
--- 12 May 16:19:29 168 - 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=56043353-dc35-4f97-acbc-d69822b3d0ca&response_mode=fragment&response_type=code&x-client-sku=msal.js.browser&x-client-ver=2.38.4&client_info=1&code_challenge=rx3vhbffosfjhv694fr3wywzjxuqowudkno-ejsdj4m&code_challenge_method=s256&nonce=3a018f2f-38fc-47e7-a1b3-7472e8cafcdb&state=eyjpzci6imvly2zlowi5ltk3ogytndgzmy04odaylwuwogy3otg4zgexncisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&sso_reload=true
--- 12 May 16:19:29 168 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:111)
--- 12 May 16:19:29 390 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (c4b2f01deb63bb9690562b003877787a)] -> xpath: //input[@id='i0116']]
Successfully navigated to 'eReceipts FI Admin' Page
--- 12 May 16:19:29 549 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (c4b2f01deb63bb9690562b003877787a)] -> xpath: //input[@id='i0116']]
--- 12 May 16:19:29 719 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (c4b2f01deb63bb9690562b003877787a)] -> id: idSIButton9]
Text field 'User ID', Password' and button 'Login, 'Cancel' are displayed in the 'Login' page
--- 12 May 16:19:29 849 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (c4b2f01deb63bb9690562b003877787a)] -> xpath: //input[@id='i0116']]
--- 12 May 16:19:29 984 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (c4b2f01deb63bb9690562b003877787a)] -> xpath: //input[@id='i0116']]
--- 12 May 16:19:34 190 - 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=56043353-dc35-4f97-acbc-d69822b3d0ca&response_mode=fragment&response_type=code&x-client-sku=msal.js.browser&x-client-ver=2.38.4&client_info=1&code_challenge=rx3vhbffosfjhv694fr3wywzjxuqowudkno-ejsdj4m&code_challenge_method=s256&nonce=3a018f2f-38fc-47e7-a1b3-7472e8cafcdb&state=eyjpzci6imvly2zlowi5ltk3ogytndgzmy04odaylwuwogy3otg4zgexncisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&sso_reload=true
--- 12 May 16:19:34 190 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:111)
--- 12 May 16:19:37 964 - 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=56043353-dc35-4f97-acbc-d69822b3d0ca&response_mode=fragment&response_type=code&x-client-sku=msal.js.browser&x-client-ver=2.38.4&client_info=1&code_challenge=rx3vhbffosfjhv694fr3wywzjxuqowudkno-ejsdj4m&code_challenge_method=s256&nonce=3a018f2f-38fc-47e7-a1b3-7472e8cafcdb&state=eyjpzci6imvly2zlowi5ltk3ogytndgzmy04odaylwuwogy3otg4zgexncisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&sso_reload=true
--- 12 May 16:19:37 965 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:111)
--- 12 May 16:19:39 101 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (c4b2f01deb63bb9690562b003877787a)] -> xpath: //input[@id='i0118']]
--- 12 May 16:19:39 237 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (c4b2f01deb63bb9690562b003877787a)] -> xpath: //input[@id='i0118']]
--- 12 May 16:19:42 827 - 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=56043353-dc35-4f97-acbc-d69822b3d0ca&response_mode=fragment&response_type=code&x-client-sku=msal.js.browser&x-client-ver=2.38.4&client_info=1&code_challenge=rx3vhbffosfjhv694fr3wywzjxuqowudkno-ejsdj4m&code_challenge_method=s256&nonce=3a018f2f-38fc-47e7-a1b3-7472e8cafcdb&state=eyjpzci6imvly2zlowi5ltk3ogytndgzmy04odaylwuwogy3otg4zgexncisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&sso_reload=true
--- 12 May 16:19:42 827 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:111)
logged with the Username:fiAdmin@Qaxpauto.onmicrosoft.com
--- 12 May 16:19:47 663 - Page URL:: https://login.microsoftonline.com/common/login
--- 12 May 16:19:47 664 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:111)
--- 12 May 16:19:57 687 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 12 May 16:19:57 687 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:111)
--- 12 May 16:20:00 975 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 12 May 16:20:00 975 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:111)
--- 12 May 16:20:01 146 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (c4b2f01deb63bb9690562b003877787a)] -> xpath: //b[text()='Admin Dashboard']]
--- 12 May 16:20:04 336 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 12 May 16:20:04 336 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:111)
--- 12 May 16:20:04 467 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (c4b2f01deb63bb9690562b003877787a)] -> xpath: //mat-toolbar/div/button[2]/span]
Successfully navigated to the 'Control Panel' page [ScreenShot] --- 12 May 16:20:04 850 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (c4b2f01deb63bb9690562b003877787a)] -> xpath: //mat-toolbar/div/button[2]/span]
--- 12 May 16:20:07 013 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (c4b2f01deb63bb9690562b003877787a)] -> xpath: //mat-toolbar/div/button[2]/span]
--- 12 May 16:20:09 729 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (c4b2f01deb63bb9690562b003877787a)] -> id: immMenuMemberImportOnDemand]
Successfully navigated to the 'Member Import' page [ScreenShot] --- 12 May 16:20:12 231 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (c4b2f01deb63bb9690562b003877787a)] -> id: immFilePathOnDemand]
--- 12 May 16:20:12 324 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (c4b2f01deb63bb9690562b003877787a)] -> id: immFilePathOnDemand]
Fill the file Path for 'On Demand'
--- 12 May 16:20:16 173 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (c4b2f01deb63bb9690562b003877787a)] -> id: immOnDemandImport]
Expected: verify the import button is enable after correct filePath is given
Actual(Passed): Successfully verified the import button is enabled after correct filepath is given[ScreenShot] Click on clear button
Expected: verify the import file path is empty after clicking clear button
Actual(Passed): Successfully verified the import file path is empty after clicking clear button[ScreenShot] --- 12 May 16:20:20 135 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (c4b2f01deb63bb9690562b003877787a)] -> id: immFilePathOnDemand]
--- 12 May 16:20:20 217 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (c4b2f01deb63bb9690562b003877787a)] -> id: immFilePathOnDemand]
Fill the file Path for 'On Demand' with Invalid Path
--- 12 May 16:20:29 245 - Unable to find an element after 5 sec ==> [[RemoteWebDriver: chrome on Windows 10 (c4b2f01deb63bb9690562b003877787a)] -> id: immOnDemandImport]
Expected: verify the import button is disable after Invalid filePath is given
Actual(Passed): Successfully verified the import button is disable after Invalid filepath is given[ScreenShot] Expected: verify the error message is present after Invalid filePath is given
Actual(Passed): Successfully verified the error message is present after Invalid filePath is given[ScreenShot] Click on X clear button
Expected: verify the import file path is empty after clicking X clear tool tip
Actual(Passed): Successfully verified the import file path is empty after clicking X clear tool tip[ScreenShot] --- 12 May 16:20:41 673 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (c4b2f01deb63bb9690562b003877787a)] -> id: immFilePathOnDemand]
--- 12 May 16:20:41 749 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (c4b2f01deb63bb9690562b003877787a)] -> id: immFilePathOnDemand]
Fill the file Path for UNC path
--- 12 May 16:20:50 715 - Unable to find an element after 5 sec ==> [[RemoteWebDriver: chrome on Windows 10 (c4b2f01deb63bb9690562b003877787a)] -> id: immOnDemandImport]
Expected: verify the import button is enable after correct filePath is given
Actual(Failed): Failed to verify the import button is enabled after correct filepath is given[ScreenShot]
Test Failed. Check the steps above in red color.