Test # Passed # Skipped # Failed Time (ms) Included Groups Excluded Groups
IMM_QA_Automation
Default test 0 0 1 96,875
Class Method Start Time (ms)
IMM_QA_Automation
Default test — failed
com.imm.ereceipt.testscripts.FiManagement.FiManagement verifyMemberImportFileLocationPath: verify the Member import file location path 1715545163548 88435

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: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)
 Password text field is shown [ScreenShot]
   --- 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)
 Entered values for the fields in 'Login' page [ScreenShot]
 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.
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