--- 06 Aug 08:57:20 874 - TestCaseID:: verifyMemberImportFileLocationPath_ER2267
--- 06 Aug 08:57:27 622 - 6 - Driver::initialize::Get - com.imm.ereceipt.support.WebDriverFactory.get(WebDriverFactory.java:565)
verify the Member import file location path
Steps:
--- 06 Aug 08:57:32 834 - 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=01987f75-491b-7961-a5ac-54003226bb58&response_mode=fragment&client_info=1&nonce=01987f75-491d-7fbe-a887-381b4cda6d78&state=eyjpzci6ijaxotg3zjc1ltq5mwqtnzi1nc1izdu5ltizzjljyzlmmmzknyisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=lrggv0mp9heevvgsurassoms8dluctv6i_sjjvgw27o&code_challenge_method=s256&sso_reload=true
--- 06 Aug 08:57:32 838 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Aug 08:57:33 341 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (d9a5c16ed564ea4b5e0f749dc7c3670e)] -> xpath: //input[@id='i0116']]
Successfully navigated to 'eReceipts FI Admin' Page
--- 06 Aug 08:57:33 682 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (d9a5c16ed564ea4b5e0f749dc7c3670e)] -> xpath: //input[@id='i0116']]
--- 06 Aug 08:57:33 967 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (d9a5c16ed564ea4b5e0f749dc7c3670e)] -> id: idSIButton9]
Text field 'User ID', Password' and button 'Login, 'Cancel' are displayed in the 'Login' page
--- 06 Aug 08:57:34 220 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (d9a5c16ed564ea4b5e0f749dc7c3670e)] -> xpath: //input[@id='i0116']]
--- 06 Aug 08:57:34 641 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (d9a5c16ed564ea4b5e0f749dc7c3670e)] -> xpath: //input[@id='i0116']]
--- 06 Aug 08:57:38 785 - 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=01987f75-491b-7961-a5ac-54003226bb58&response_mode=fragment&client_info=1&nonce=01987f75-491d-7fbe-a887-381b4cda6d78&state=eyjpzci6ijaxotg3zjc1ltq5mwqtnzi1nc1izdu5ltizzjljyzlmmmzknyisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=lrggv0mp9heevvgsurassoms8dluctv6i_sjjvgw27o&code_challenge_method=s256&sso_reload=true
--- 06 Aug 08:57:38 786 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Aug 08:57:42 649 - 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=01987f75-491b-7961-a5ac-54003226bb58&response_mode=fragment&client_info=1&nonce=01987f75-491d-7fbe-a887-381b4cda6d78&state=eyjpzci6ijaxotg3zjc1ltq5mwqtnzi1nc1izdu5ltizzjljyzlmmmzknyisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=lrggv0mp9heevvgsurassoms8dluctv6i_sjjvgw27o&code_challenge_method=s256&sso_reload=true
--- 06 Aug 08:57:42 650 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Aug 08:57:44 681 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (d9a5c16ed564ea4b5e0f749dc7c3670e)] -> xpath: //input[@id='i0118']]
--- 06 Aug 08:57:44 965 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (d9a5c16ed564ea4b5e0f749dc7c3670e)] -> xpath: //input[@id='i0118']]
--- 06 Aug 08:57:48 825 - 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=01987f75-491b-7961-a5ac-54003226bb58&response_mode=fragment&client_info=1&nonce=01987f75-491d-7fbe-a887-381b4cda6d78&state=eyjpzci6ijaxotg3zjc1ltq5mwqtnzi1nc1izdu5ltizzjljyzlmmmzknyisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=lrggv0mp9heevvgsurassoms8dluctv6i_sjjvgw27o&code_challenge_method=s256&sso_reload=true
--- 06 Aug 08:57:48 826 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
logged with the Username:fiAdmin@Qaxpauto1.onmicrosoft.com
--- 06 Aug 08:57:54 021 - Page URL:: https://login.microsoftonline.com/common/login
--- 06 Aug 08:57:54 022 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Aug 08:58:02 768 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 06 Aug 08:58:02 769 - 5 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Aug 08:58:06 120 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 06 Aug 08:58:06 121 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Aug 08:58:06 396 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (d9a5c16ed564ea4b5e0f749dc7c3670e)] -> xpath: //b[text()='Admin Dashboard']]
--- 06 Aug 08:58:09 633 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
--- 06 Aug 08:58:09 634 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
--- 06 Aug 08:58:09 833 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (d9a5c16ed564ea4b5e0f749dc7c3670e)] -> xpath: //b[contains(text(),'Dashboard')]]
Successfully navigated to the 'Control Panel' page [ScreenShot] --- 06 Aug 08:58:10 264 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (d9a5c16ed564ea4b5e0f749dc7c3670e)] -> id: immAdministration]
--- 06 Aug 08:58:12 781 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (d9a5c16ed564ea4b5e0f749dc7c3670e)] -> id: immAdministration]
--- 06 Aug 08:58:15 822 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (d9a5c16ed564ea4b5e0f749dc7c3670e)] -> id: immMenuMemberImportOnDemand]
Successfully navigated to the 'Member Import' page [ScreenShot] --- 06 Aug 08:58:18 449 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (d9a5c16ed564ea4b5e0f749dc7c3670e)] -> id: immFilePathOnDemand]
--- 06 Aug 08:58:18 638 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (d9a5c16ed564ea4b5e0f749dc7c3670e)] -> id: immFilePathOnDemand]
Fill the file Path for 'On Demand'
--- 06 Aug 08:58:22 905 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (d9a5c16ed564ea4b5e0f749dc7c3670e)] -> 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] --- 06 Aug 08:58:27 028 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (d9a5c16ed564ea4b5e0f749dc7c3670e)] -> id: immFilePathOnDemand]
--- 06 Aug 08:58:27 224 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (d9a5c16ed564ea4b5e0f749dc7c3670e)] -> id: immFilePathOnDemand]
Fill the file Path for 'On Demand' with Invalid Path
--- 06 Aug 08:58:37 163 - Unable to find an element after 5 sec ==> [[RemoteWebDriver: chrome on Windows 10 (d9a5c16ed564ea4b5e0f749dc7c3670e)] -> 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] --- 06 Aug 08:59:17 220 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (d9a5c16ed564ea4b5e0f749dc7c3670e)] -> id: immFilePathOnDemand]
--- 06 Aug 08:59:17 460 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (d9a5c16ed564ea4b5e0f749dc7c3670e)] -> id: immFilePathOnDemand]
Fill the file Path for UNC path
--- 06 Aug 08:59:21 455 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (d9a5c16ed564ea4b5e0f749dc7c3670e)] -> 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]
Test Passed.