Test results
1 suite, 1 failed test
com.imm.ereceipt.testscripts.FiManagement.FiManagement
verifyMemberImportFileLocationPath_ER2267 ({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_ER2267, 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@Qaxpauto1.onmicrosoft.com, Sign=})
org.openqa.selenium.NoSuchElementException: Timed out after 5 seconds. Unable to locate the element at org.openqa.selenium.support.pagefactory.AjaxElementLocator.findElement(AjaxElementLocator.java:90) at org.openqa.selenium.support.pagefactory.internal.LocatingElementHandler.invoke(LocatingElementHandler.java:38) at jdk.proxy2/jdk.proxy2.$Proxy17.getText(Unknown Source) at com.imm.ereceipt.pages.MemberImportPage.isErrorMesagePresent(MemberImportPage.java:235) at com.imm.ereceipt.testscripts.FiManagement.FiManagement.verifyMemberImportFileLocationPath_ER2267(FiManagement.java:1004) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:133) at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:598) at org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:173) at org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46) at org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:824) at org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:146) at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) at org.testng.TestRunner.privateRun(TestRunner.java:794) at org.testng.TestRunner.run(TestRunner.java:596) at org.testng.SuiteRunner.runTest(SuiteRunner.java:377) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:371) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:332) at org.testng.SuiteRunner.run(SuiteRunner.java:276) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1212) at org.testng.TestNG.runSuitesLocally(TestNG.java:1134) at org.testng.TestNG.runSuites(TestNG.java:1063) at org.testng.TestNG.run(TestNG.java:1031) at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:115) at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:293) at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:91) Caused by: org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"css selector","selector":"mat-mdc-form-field-error[id*='mat-mdc-error-']"} (Session info: chrome=138.0.7204.184) For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception Build info: version: '4.28.0', revision: 'ac342546e9' System info: os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '17.0.4.1' Driver info: org.openqa.selenium.remote.RemoteWebDriver Command: [3c470589d1bdcdb44c2b770ae69d32d6, findElement {using=css selector, value=mat-mdc-form-field-error[id*='mat-mdc-error-']}] Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 138.0.7204.184, chrome: {chromedriverVersion: 138.0.7204.183 (e90faf484dd..., userDataDir: C:\Users\ratnak\AppData\Loc...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:53016}, goog:loggingPrefs: {performance: ALL}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: Windows 10, proxy: Proxy(), se:bidiEnabled: false, se:cdp: ws://192.168.10.174:4444/se..., se:cdpVersion: 138.0.7204.184, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true} Session ID: 3c470589d1bdcdb44c2b770ae69d32d6 at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480) at org.openqa.selenium.remote.ErrorCodec.decode(ErrorCodec.java:167) at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:138) at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:50) at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:215) at org.openqa.selenium.remote.TracedCommandExecutor.execute(TracedCommandExecutor.java:53) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:545) at org.openqa.selenium.remote.ElementLocation$ElementFinder$2.findElement(ElementLocation.java:165) at org.openqa.selenium.remote.ElementLocation.findElement(ElementLocation.java:59) at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:368) at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:362) at com.epam.healenium.processor.FindElementProcessor.execute(FindElementProcessor.java:23) at com.epam.healenium.processor.BaseProcessor.process(BaseProcessor.java:42) at com.epam.healenium.handlers.proxy.BaseHandler.findElement(BaseHandler.java:63) at com.epam.healenium.handlers.proxy.SelfHealingProxyInvocationHandler.invoke(SelfHealingProxyInvocationHandler.java:39) at jdk.proxy2/jdk.proxy2.$Proxy13.findElement(Unknown Source) at org.openqa.selenium.support.pagefactory.DefaultElementLocator.findElement(DefaultElementLocator.java:68) at org.openqa.selenium.support.pagefactory.AjaxElementLocator.access$001(AjaxElementLocator.java:38) at org.openqa.selenium.support.pagefactory.AjaxElementLocator$SlowLoadingElement.isLoaded(AjaxElementLocator.java:156) at org.openqa.selenium.support.ui.SlowLoadableComponent.get(SlowLoadableComponent.java:79) at org.openqa.selenium.support.pagefactory.AjaxElementLocator.findElement(AjaxElementLocator.java:86) ... 32 more
(verify the Member import file location path)
C:\Users\ratnak\AppData\Local\Temp\testng-eclipse--1494216628\testng-customsuite.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "https://testng.org/testng-1.0.dtd">
<suite thread-count="1" name="IMM_QA_Automation" guice-stage="DEVELOPMENT" verbose="3">
  <parameter name="webSite" value="https://er-tellerportal-demo.azurewebsites.net"/>
  <parameter name="portalType" value="Cloud"/>
  <parameter name="FIName" value="QAXPAuto"/>
  <parameter name="projectKey" value="ER"/>
  <parameter name="deviceHost" value="localhost"/>
  <parameter name="devicePort" value="4444"/>
  <parameter name="browserName" value="chrome_windows"/>
  <parameter name="Host" value="XP"/>
  <parameter name="adminUrl" value="https://er-fiadminportal-demo.azurewebsites.net"/>
  <parameter name="TestType" value="Regression"/>
  <listeners>
    <listener class-name="com.imm.ereceipt.support.MethodInterceptor"/>
  </listeners>
  <test thread-count="1" name="Default test" verbose="2">
    <classes>
      <class name="com.imm.ereceipt.testscripts.FiManagement.FiManagement">
        <methods>
          <include name="verifyMemberImportFileLocationPath_ER2267"/>
        </methods>
      </class> <!-- com.imm.ereceipt.testscripts.FiManagement.FiManagement -->
    </classes>
  </test> <!-- Default test -->
</suite> <!-- IMM_QA_Automation -->
            
Tests for IMM_QA_Automation
  • Default test (1 class)
Groups for IMM_QA_Automation
Member
verifyMemberImportFileLocationPath_ER2267
P1
verifyMemberImportFileLocationPath_ER2267
Smoke
verifyMemberImportFileLocationPath_ER2267
Times for IMM_QA_Automation
Total running time: 1 minutes
Reporter output for IMM_QA_Automation
verifyMemberImportFileLocationPath_ER2267({Archived Transactions=, Archive=, print signatur=, Name=, MultipleWorkstation=, WorkstationDeleteOp...)
   --- 06 Aug 09:11:17 720 - TestCaseID:: verifyMemberImportFileLocationPath_ER2267
   --- 06 Aug 09:11:34 847 - 17 - Driver::initialize::Get - com.imm.ereceipt.support.WebDriverFactory.get(WebDriverFactory.java:565)
verify the Member import file location path
Steps:
   --- 06 Aug 09:11:42 625 - 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=01987f82-3f0a-7933-bec4-a88d828776f3&response_mode=fragment&client_info=1&nonce=01987f82-3f16-7dbf-93dc-12abe0fffc6c&state=eyjpzci6ijaxotg3zjgyltnmmgqtnzzimi04owfmltmyzdcwodu0otywmsisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=ylr1bxgc9lgu1rqpto9eeoe-gq6eilimtlrvmekimva&code_challenge_method=s256&sso_reload=true
   --- 06 Aug 09:11:42 629 - 4 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
   --- 06 Aug 09:11:43 169 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3c470589d1bdcdb44c2b770ae69d32d6)] -> xpath: //input[@id='i0116']]
 Successfully navigated to 'eReceipts FI Admin' Page
   --- 06 Aug 09:11:43 509 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3c470589d1bdcdb44c2b770ae69d32d6)] -> xpath: //input[@id='i0116']]
   --- 06 Aug 09:11:43 812 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3c470589d1bdcdb44c2b770ae69d32d6)] -> id: idSIButton9]
 Text field 'User ID', Password' and button 'Login, 'Cancel' are displayed in the 'Login' page
   --- 06 Aug 09:11:44 077 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3c470589d1bdcdb44c2b770ae69d32d6)] -> xpath: //input[@id='i0116']]
   --- 06 Aug 09:11:44 336 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3c470589d1bdcdb44c2b770ae69d32d6)] -> xpath: //input[@id='i0116']]
   --- 06 Aug 09:11:49 174 - 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=01987f82-3f0a-7933-bec4-a88d828776f3&response_mode=fragment&client_info=1&nonce=01987f82-3f16-7dbf-93dc-12abe0fffc6c&state=eyjpzci6ijaxotg3zjgyltnmmgqtnzzimi04owfmltmyzdcwodu0otywmsisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=ylr1bxgc9lgu1rqpto9eeoe-gq6eilimtlrvmekimva&code_challenge_method=s256&sso_reload=true
   --- 06 Aug 09:11:49 175 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
   --- 06 Aug 09:11:53 266 - 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=01987f82-3f0a-7933-bec4-a88d828776f3&response_mode=fragment&client_info=1&nonce=01987f82-3f16-7dbf-93dc-12abe0fffc6c&state=eyjpzci6ijaxotg3zjgyltnmmgqtnzzimi04owfmltmyzdcwodu0otywmsisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=ylr1bxgc9lgu1rqpto9eeoe-gq6eilimtlrvmekimva&code_challenge_method=s256&sso_reload=true
   --- 06 Aug 09:11:53 267 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
 Password text field is shown [ScreenShot]
   --- 06 Aug 09:11:55 215 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3c470589d1bdcdb44c2b770ae69d32d6)] -> xpath: //input[@id='i0118']]
   --- 06 Aug 09:11:55 494 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3c470589d1bdcdb44c2b770ae69d32d6)] -> xpath: //input[@id='i0118']]
   --- 06 Aug 09:11:59 660 - 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=01987f82-3f0a-7933-bec4-a88d828776f3&response_mode=fragment&client_info=1&nonce=01987f82-3f16-7dbf-93dc-12abe0fffc6c&state=eyjpzci6ijaxotg3zjgyltnmmgqtnzzimi04owfmltmyzdcwodu0otywmsisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=ylr1bxgc9lgu1rqpto9eeoe-gq6eilimtlrvmekimva&code_challenge_method=s256&sso_reload=true
   --- 06 Aug 09:11:59 661 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
 Entered values for the fields in 'Login' page [ScreenShot]
 logged with the Username:fiAdmin@Qaxpauto1.onmicrosoft.com
   --- 06 Aug 09:12:04 865 - Page URL:: https://login.microsoftonline.com/common/login
   --- 06 Aug 09:12:04 866 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
   --- 06 Aug 09:12:15 351 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
   --- 06 Aug 09:12:15 352 - 7 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
   --- 06 Aug 09:12:19 202 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
   --- 06 Aug 09:12:19 203 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
   --- 06 Aug 09:12:19 472 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3c470589d1bdcdb44c2b770ae69d32d6)] -> xpath: //b[text()='Admin Dashboard']]
   --- 06 Aug 09:12:22 677 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
   --- 06 Aug 09:12:22 678 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
   --- 06 Aug 09:12:22 874 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3c470589d1bdcdb44c2b770ae69d32d6)] -> xpath: //b[contains(text(),'Dashboard')]]

Successfully navigated to the 'Control Panel' page [ScreenShot]
   --- 06 Aug 09:12:23 379 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3c470589d1bdcdb44c2b770ae69d32d6)] -> id: immAdministration]
   --- 06 Aug 09:12:25 901 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3c470589d1bdcdb44c2b770ae69d32d6)] -> id: immAdministration]
   --- 06 Aug 09:12:28 903 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3c470589d1bdcdb44c2b770ae69d32d6)] -> id: immMenuMemberImportOnDemand]

Successfully navigated to the 'Member Import' page [ScreenShot]
   --- 06 Aug 09:12:31 508 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3c470589d1bdcdb44c2b770ae69d32d6)] -> id: immFilePathOnDemand]
   --- 06 Aug 09:12:31 848 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3c470589d1bdcdb44c2b770ae69d32d6)] -> id: immFilePathOnDemand]
 Fill the file Path for 'On Demand'
   --- 06 Aug 09:12:36 167 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3c470589d1bdcdb44c2b770ae69d32d6)] -> 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 09:12:40 282 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3c470589d1bdcdb44c2b770ae69d32d6)] -> id: immFilePathOnDemand]
   --- 06 Aug 09:12:40 460 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (3c470589d1bdcdb44c2b770ae69d32d6)] -> id: immFilePathOnDemand]
 Fill the file Path for 'On Demand' with Invalid Path
   --- 06 Aug 09:12:50 183 - Unable to find an element after 5 sec ==> [[RemoteWebDriver: chrome on Windows 10 (3c470589d1bdcdb44c2b770ae69d32d6)] -> 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]
   --- 06 Aug 09:13:06 393 - Moved to element..

Timed out after 5 seconds. Unable to locate the element [ScreenShot]
33 ignored methods
com.imm.ereceipt.testscripts.FiManagement.FiManagement
verifyMemberImportSchedulePageDate_ER2258
createAddGroupInRolesPage
verifySortingInRolePage
verifyMemberImportSchedulePageDefaults_ER2257
verifyBranchInBranchesPage
verifySearchCriteriaInRolePage
verifyMemberImportFilePathToolTip_ER2274
verifyMemberImportOnDemandPageFileExtensions_ER2268
verifyMemberImportSchedulePageCustom_ER2263
verifyAddMulitpleWorkstationUsingJFairy
verifyAddWorkstationsUnderMultipleBranches
verifyCopyWorkstationInfo
verifyImagingSystem
verifyMemberImportSchedulePageWeekly_ER2262
verifyMemberImportOnDemandPageClearAndX_ER2269
verifySearchCriteriaInWorkstationPortPage
verifyMemberImportSchedulePageOneTime_ER2260
verifyMemberImportInAgentPage
veriyDeleteOptonsinBranch
verifySearchCriteriaInAgentPage
verifyMemberImportOnDemandPage
createAddGroupInAgentPage
verifyMemberImportSchedulePage
verifyAddMulitpleBrances
verifyMemberImportSchedulePageDaily_ER2261
verifyMemberImportOnDemandPageDiffSizes_ER2270
verifyWorkStationInWorkstationsPage
verifyCopyBranchInfo
verifyMemberImportPageTimeAndDatePickers
checkMemberManagerRole
verifySortingInAgentPage
verifyAddWorkstationsUnderBranch
verifyAddMulitpleBrancesUsingJFairy
Methods in chronological order
com.imm.ereceipt.testscripts.FiManagement.FiManagement
initialize(org.testng.TestRunner@d0b814d) 0 ms
init(org.testng.TestRunner@d0b814d) 1157 ms
verifyMemberImportFileLocationPath_ER2267({Archived Transactions=, Archive=, print signatur=, Name=, MultipleWorkstation=, WorkstationDeleteOp...) 19265 ms