Test# Passed# Skipped# FailedTime (ms)Included GroupsExcluded Groups
IMM_QA_Automation
Default test001100,321
ClassMethodStartTime (ms)
IMM_QA_Automation
Default test — failed
com.imm.ereceipt.testscripts.FiManagement.FiManagementverifyMemberImportFileLocationPath171554475043089177

Default test

com.imm.ereceipt.testscripts.FiManagement.FiManagement#verifyMemberImportFileLocationPath

Parameter #1
{Archived Transactions=, Archive=, print signatur=, Name=, MultipleWorkstation=, WorkstationDeleteOption=, BranchName=, Agent=, UserPwd=iMM2022!, BranchDeleteOption=, Receipt=, Role=, Brand=, Print signature line=, TimeZone=, Header=, MappedOption=, Scan=, PortNumber=, FromWks=, FromBranch=, Description=verify the Member import file location path, weeks=, Operation=, Clear=, TestID=verifyMemberImportFileLocationPath, Phone=, WorkstationName=, ToBranch=, ToWks=verifyMemberImportOnDemandPage, Subscription Names=, FilePath=member import email underscore.csv, Transtatus=Archived-false;Active-true;Error-false, Report=, Index_Field_Name=, Agents=, Text=, Hold Notice=, Suppress=, SchedualType=, Date=, Platfrom=, GroupId=, print Disburstments=, SMTP=, Imaging System=, MultipleBranches=, Username=fiAdmin@Qaxpauto.onmicrosoft.com, Sign=}
Messages
   --- 12 May 16:12:20 235 - TestCaseID:: verifyMemberImportFileLocationPath

   --- 12 May 16:12:30 441 - 10 - 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:12:36 139 - 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=f60063cb-2150-40eb-9ce9-64a11ffbaa47&response_mode=fragment&response_type=code&x-client-sku=msal.js.browser&x-client-ver=2.38.4&client_info=1&code_challenge=u-gd_h3b0idhatm5zq6gxqax-esnc3dlkhqtwvhnsdm&code_challenge_method=s256&nonce=b4a61112-f7d4-4c9f-9e94-a2fa86a2103a&state=eyjpzci6ijnmzddjnwjiltjimzatnda5zs1hntqxlti3yjc2nmyyyjixnsisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&sso_reload=true

   --- 12 May 16:12:36 141 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:111)

   --- 12 May 16:12:36 658 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (57704ad490ca7035b26ba2b82e0396b1)] -> xpath: //input[@id='i0116']]

 Successfully navigated to 'eReceipts FI Admin' Page

   --- 12 May 16:12:36 848 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (57704ad490ca7035b26ba2b82e0396b1)] -> xpath: //input[@id='i0116']]

   --- 12 May 16:12:37 118 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (57704ad490ca7035b26ba2b82e0396b1)] -> id: idSIButton9]

 Text field 'User ID', Password' and button 'Login, 'Cancel' are displayed in the 'Login' page

   --- 12 May 16:12:37 269 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (57704ad490ca7035b26ba2b82e0396b1)] -> xpath: //input[@id='i0116']]

   --- 12 May 16:12:37 493 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (57704ad490ca7035b26ba2b82e0396b1)] -> xpath: //input[@id='i0116']]

   --- 12 May 16:12:41 056 - 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=f60063cb-2150-40eb-9ce9-64a11ffbaa47&response_mode=fragment&response_type=code&x-client-sku=msal.js.browser&x-client-ver=2.38.4&client_info=1&code_challenge=u-gd_h3b0idhatm5zq6gxqax-esnc3dlkhqtwvhnsdm&code_challenge_method=s256&nonce=b4a61112-f7d4-4c9f-9e94-a2fa86a2103a&state=eyjpzci6ijnmzddjnwjiltjimzatnda5zs1hntqxlti3yjc2nmyyyjixnsisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&sso_reload=true

   --- 12 May 16:12:41 056 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:111)

   --- 12 May 16:12:44 498 - 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=f60063cb-2150-40eb-9ce9-64a11ffbaa47&response_mode=fragment&response_type=code&x-client-sku=msal.js.browser&x-client-ver=2.38.4&client_info=1&code_challenge=u-gd_h3b0idhatm5zq6gxqax-esnc3dlkhqtwvhnsdm&code_challenge_method=s256&nonce=b4a61112-f7d4-4c9f-9e94-a2fa86a2103a&state=eyjpzci6ijnmzddjnwjiltjimzatnda5zs1hntqxlti3yjc2nmyyyjixnsisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&sso_reload=true

   --- 12 May 16:12:44 498 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:111)

 Password text field is shown [ScreenShot]

   --- 12 May 16:12:45 919 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (57704ad490ca7035b26ba2b82e0396b1)] -> xpath: //input[@id='i0118']]

   --- 12 May 16:12:46 654 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (57704ad490ca7035b26ba2b82e0396b1)] -> xpath: //input[@id='i0118']]

   --- 12 May 16:12:50 368 - 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=f60063cb-2150-40eb-9ce9-64a11ffbaa47&response_mode=fragment&response_type=code&x-client-sku=msal.js.browser&x-client-ver=2.38.4&client_info=1&code_challenge=u-gd_h3b0idhatm5zq6gxqax-esnc3dlkhqtwvhnsdm&code_challenge_method=s256&nonce=b4a61112-f7d4-4c9f-9e94-a2fa86a2103a&state=eyjpzci6ijnmzddjnwjiltjimzatnda5zs1hntqxlti3yjc2nmyyyjixnsisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&sso_reload=true

   --- 12 May 16:12:50 369 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:111)

 Entered values for the fields in 'Login' page [ScreenShot]

 logged with the Username:fiAdmin@Qaxpauto.onmicrosoft.com

   --- 12 May 16:12:54 879 - Page URL:: https://login.microsoftonline.com/common/login

   --- 12 May 16:12:54 880 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:111)

   --- 12 May 16:13:04 760 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin

   --- 12 May 16:13:04 761 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:111)

   --- 12 May 16:13:08 055 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin

   --- 12 May 16:13:08 055 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:111)

   --- 12 May 16:13:08 469 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (57704ad490ca7035b26ba2b82e0396b1)] -> xpath: //b[text()='Admin Dashboard']]

   --- 12 May 16:13:11 772 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin

   --- 12 May 16:13:11 772 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:111)

   --- 12 May 16:13:11 906 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (57704ad490ca7035b26ba2b82e0396b1)] -> xpath: //mat-toolbar/div/button[2]/span]


Successfully navigated to the 'Control Panel' page [ScreenShot]

   --- 12 May 16:13:12 309 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (57704ad490ca7035b26ba2b82e0396b1)] -> xpath: //mat-toolbar/div/button[2]/span]

   --- 12 May 16:13:14 490 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (57704ad490ca7035b26ba2b82e0396b1)] -> xpath: //mat-toolbar/div/button[2]/span]

   --- 12 May 16:13:17 296 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (57704ad490ca7035b26ba2b82e0396b1)] -> id: immMenuMemberImportOnDemand]


Successfully navigated to the 'Member Import' page [ScreenShot]

   --- 12 May 16:13:19 886 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (57704ad490ca7035b26ba2b82e0396b1)] -> id: immFilePathOnDemand]

   --- 12 May 16:13:19 979 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (57704ad490ca7035b26ba2b82e0396b1)] -> id: immFilePathOnDemand]

 Fill the file Path for 'On Demand'

   --- 12 May 16:13:23 734 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (57704ad490ca7035b26ba2b82e0396b1)] -> 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:13:27 766 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (57704ad490ca7035b26ba2b82e0396b1)] -> id: immFilePathOnDemand]

   --- 12 May 16:13:27 865 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (57704ad490ca7035b26ba2b82e0396b1)] -> id: immFilePathOnDemand]

 Fill the file Path for 'On Demand' with Invalid Path

   --- 12 May 16:13:36 917 - Unable to find an element after 5 sec ==> [[RemoteWebDriver: chrome on Windows 10 (57704ad490ca7035b26ba2b82e0396b1)] -> 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:13:49 345 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (57704ad490ca7035b26ba2b82e0396b1)] -> id: immFilePathOnDemand]

   --- 12 May 16:13:49 433 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (57704ad490ca7035b26ba2b82e0396b1)] -> id: immFilePathOnDemand]

 Fill the file Path for UNC path

   --- 12 May 16:13:58 274 - Unable to find an element after 5 sec ==> [[RemoteWebDriver: chrome on Windows 10 (57704ad490ca7035b26ba2b82e0396b1)] -> 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.
Exception
java.lang.AssertionError: Test Failed. Check the steps above in red color. at org.testng.Assert.fail(Assert.java:93) at com.imm.ereceipt.support.Log.fail(Log.java:530) at com.imm.ereceipt.support.Log.testCaseResult(Log.java:253) at com.imm.ereceipt.testscripts.FiManagement.FiManagement.verifyMemberImportFileLocationPath(FiManagement.java:1025) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108) at org.testng.internal.Invoker.invokeMethod(Invoker.java:661) at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193) at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109) at org.testng.TestRunner.privateRun(TestRunner.java:744) at org.testng.TestRunner.run(TestRunner.java:602) at org.testng.SuiteRunner.runTest(SuiteRunner.java:380) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340) at org.testng.SuiteRunner.run(SuiteRunner.java:289) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301) at org.testng.TestNG.runSuitesLocally(TestNG.java:1226) at org.testng.TestNG.runSuites(TestNG.java:1144) at org.testng.TestNG.run(TestNG.java:1115) at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:132) at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:230) at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:76)

back to summary