Test results
1 suite, 1 failed test
com.imm.ereceipt.testscripts.DashBoard.DashBoard
verifyNotifyInArchiveReceiptPage ({Description=verify Notify In Archive Receipt Page, Email=Ctest@gmail.com, Teller LastName=, print signatur=, errorint=2, TestID=verifyNotifyInArchiveReceiptPage, Color Transactions=yes, Member=, UserPwd=iMM2022!, Transtatus=Archived-True;Active-False;Error-False, Receipt=, Report=, Teller=, Teller FirstName=, errorMessage=Invalid Email Address;Invalid Phone Number, Suppress=, Date=, print Disburstments=, Print signature line=, Type=, Transaction=, Header=, Username=ChrisSuperTeller@Qaxpauto1.onmicrosoft.com, SMS=(732) 890-6074, Sign=, Scan=})
java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0 at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64) at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70) at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:266) at java.base/java.util.Objects.checkIndex(Objects.java:359) at java.base/java.util.ArrayList.get(ArrayList.java:427) 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.openqa.selenium.support.pagefactory.internal.LocatingElementListHandler.invoke(LocatingElementListHandler.java:39) at jdk.proxy2/jdk.proxy2.$Proxy20.get(Unknown Source) at com.imm.ereceipt.pages.ArchiveReceiptPage.getErrorMesage(ArchiveReceiptPage.java:181) at com.imm.ereceipt.testscripts.DashBoard.DashBoard.verifyNotifyInArchiveReceiptPage(DashBoard.java:557) 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)
(verify the notify ,print buttons in Archive page)
C:\Users\ratnak\AppData\Local\Temp\testng-eclipse-1592864621\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.DashBoard.DashBoard">
        <methods>
          <include name="verifyNotifyInArchiveReceiptPage"/>
        </methods>
      </class> <!-- com.imm.ereceipt.testscripts.DashBoard.DashBoard -->
    </classes>
  </test> <!-- Default test -->
</suite> <!-- IMM_QA_Automation -->
            
Tests for IMM_QA_Automation
  • Default test (1 class)
Groups for IMM_QA_Automation
DashBoard
verifyNotifyInArchiveReceiptPage
P1
verifyNotifyInArchiveReceiptPage
Smoke
verifyNotifyInArchiveReceiptPage
Times for IMM_QA_Automation
Total running time: 2 minutes
Reporter output for IMM_QA_Automation
verifyNotifyInArchiveReceiptPage({Description=verify Notify In Archive Receipt Page, Email=Ctest@gmail.com, Teller LastName=, print s...)
   --- 22 Jul 19:08:58 145 - TestCaseID:: verifyNotifyInArchiveReceiptPage
   --- 22 Jul 19:09:05 240 - 7 - Driver::initialize::Get - com.imm.ereceipt.support.WebDriverFactory.get(WebDriverFactory.java:565)
verify Notify In Archive Receipt Page
Steps:
 ***** verify Notify In Archive Receipt Page *****
   --- 22 Jul 19:09:10 906 - 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-tellerportal-demo.azurewebsites.net&client-request-id=01983465-dd1b-792a-a655-395eeaa1573d&response_mode=fragment&client_info=1&nonce=01983465-dd1e-753d-913c-4b4a50d4d056&state=eyjpzci6ijaxotgzndy1lwrkmwqtn2zmyy04mdy3ltuxmdbjzmvmytgxocisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.11.1&response_type=code&code_challenge=nrm7pfu3skq9ax-adhuuig2lzwevkxfa9d2wgcsj9ga&code_challenge_method=s256&sso_reload=true
   --- 22 Jul 19:09:10 909 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
   --- 22 Jul 19:09:11 614 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (7859f4d19ff82fa722df36dd07936d43)] -> xpath: //input[@id='i0116']]
 Successfully navigated to 'eReceipts Teller' Page
   --- 22 Jul 19:09:12 341 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (7859f4d19ff82fa722df36dd07936d43)] -> xpath: //input[@id='i0116']]
   --- 22 Jul 19:09:12 865 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (7859f4d19ff82fa722df36dd07936d43)] -> id: idSIButton9]
 Text field 'User ID', Password' and button 'Login, 'Cancel' are displayed in the 'Login' page
   --- 22 Jul 19:09:13 780 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (7859f4d19ff82fa722df36dd07936d43)] -> xpath: //input[@id='i0116']]
   --- 22 Jul 19:09:14 316 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (7859f4d19ff82fa722df36dd07936d43)] -> xpath: //input[@id='i0116']]
   --- 22 Jul 19:09:18 988 - 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-tellerportal-demo.azurewebsites.net&client-request-id=01983465-dd1b-792a-a655-395eeaa1573d&response_mode=fragment&client_info=1&nonce=01983465-dd1e-753d-913c-4b4a50d4d056&state=eyjpzci6ijaxotgzndy1lwrkmwqtn2zmyy04mdy3ltuxmdbjzmvmytgxocisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.11.1&response_type=code&code_challenge=nrm7pfu3skq9ax-adhuuig2lzwevkxfa9d2wgcsj9ga&code_challenge_method=s256&sso_reload=true
   --- 22 Jul 19:09:18 989 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
   --- 22 Jul 19:09:22 893 - 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-tellerportal-demo.azurewebsites.net&client-request-id=01983465-dd1b-792a-a655-395eeaa1573d&response_mode=fragment&client_info=1&nonce=01983465-dd1e-753d-913c-4b4a50d4d056&state=eyjpzci6ijaxotgzndy1lwrkmwqtn2zmyy04mdy3ltuxmdbjzmvmytgxocisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.11.1&response_type=code&code_challenge=nrm7pfu3skq9ax-adhuuig2lzwevkxfa9d2wgcsj9ga&code_challenge_method=s256&sso_reload=true
   --- 22 Jul 19:09:22 894 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
 Password text field is shown [ScreenShot]
   --- 22 Jul 19:09:24 498 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (7859f4d19ff82fa722df36dd07936d43)] -> xpath: //input[@id='i0118']]
   --- 22 Jul 19:09:24 731 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (7859f4d19ff82fa722df36dd07936d43)] -> xpath: //input[@id='i0118']]
   --- 22 Jul 19:09:28 322 - 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-tellerportal-demo.azurewebsites.net&client-request-id=01983465-dd1b-792a-a655-395eeaa1573d&response_mode=fragment&client_info=1&nonce=01983465-dd1e-753d-913c-4b4a50d4d056&state=eyjpzci6ijaxotgzndy1lwrkmwqtn2zmyy04mdy3ltuxmdbjzmvmytgxocisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.11.1&response_type=code&code_challenge=nrm7pfu3skq9ax-adhuuig2lzwevkxfa9d2wgcsj9ga&code_challenge_method=s256&sso_reload=true
   --- 22 Jul 19:09:28 323 - 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:ChrisSuperTeller@Qaxpauto1.onmicrosoft.com
   --- 22 Jul 19:09:33 328 - Page URL:: https://login.microsoftonline.com/common/login
   --- 22 Jul 19:09:33 329 - 4 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
   --- 22 Jul 19:09:42 101 - Page URL:: https://er-tellerportal-demo.azurewebsites.net/dashboard
   --- 22 Jul 19:09:42 103 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
   --- 22 Jul 19:09:45 525 - Page URL:: https://er-tellerportal-demo.azurewebsites.net/dashboard
   --- 22 Jul 19:09:45 526 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
   --- 22 Jul 19:09:45 787 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (7859f4d19ff82fa722df36dd07936d43)] -> id: immOnFilter]
   --- 22 Jul 19:09:49 144 - Page URL:: https://er-tellerportal-demo.azurewebsites.net/dashboard
   --- 22 Jul 19:09:49 145 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
   --- 22 Jul 19:09:49 372 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (7859f4d19ff82fa722df36dd07936d43)] -> xpath: //b[contains(text(),'Dashboard')]]

Successfully navigated to the 'Dashboard' page [ScreenShot]
   --- 22 Jul 19:09:52 077 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (7859f4d19ff82fa722df36dd07936d43)] -> id: immOnRunNonArchiveQuery]
 Clicked 'Non Archived' button
Expected: Archived ( slider -on(true)/off(false))
Actual(Passed): Sucessfully slidered the Archived:true
[ScreenShot]
Expected: Active ( slider -on(true)/off(false))
Actual(Passed): Sucessfully slidered the Active:false
[ScreenShot]
Expected: Error ( slider -on(true)/off(false))
Actual(Passed): Sucessfully slidered the Error:false
[ScreenShot]
 Clicked sliders Button :Transaction status [ScreenShot]
 Clicked sliders Button :Transaction status [ScreenShot]
 Clicked 'Apply' button
   --- 22 Jul 19:10:23 676 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (7859f4d19ff82fa722df36dd07936d43)] -> css selector: tr[id*='immTranRow']]
   --- 22 Jul 19:10:27 413 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (7859f4d19ff82fa722df36dd07936d43)] -> id: immNotify]
   --- 22 Jul 19:10:27 672 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (7859f4d19ff82fa722df36dd07936d43)] -> id: immNotify]
   --- 22 Jul 19:10:28 206 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (7859f4d19ff82fa722df36dd07936d43)] -> id: immEmail]
   --- 22 Jul 19:10:28 413 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (7859f4d19ff82fa722df36dd07936d43)] -> id: immEmail]
   --- 22 Jul 19:10:29 027 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (7859f4d19ff82fa722df36dd07936d43)] -> id: immSMS]
   --- 22 Jul 19:10:34 752 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (7859f4d19ff82fa722df36dd07936d43)] -> xpath: (//*[@id='immNotify'])[2]]
Expected: verify Notify Button is enable after giving 'Email' && 'SMS' value to notify tool
Actual(Passed): verified Notify Button is enable after giving 'Email' && 'SMS' value to notify tool
[ScreenShot]
   --- 22 Jul 19:10:50 510 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (7859f4d19ff82fa722df36dd07936d43)] -> id: immClear]
Expected: verify 'Email' && 'SMS' value are cleared after clicking clear button on notify tool
Actual(Passed): verified 'Email' && 'SMS' value are cleared after clicking clear button on notify tool
[ScreenShot]
   --- 22 Jul 19:10:52 167 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (7859f4d19ff82fa722df36dd07936d43)] -> id: immEmail]
   --- 22 Jul 19:10:52 397 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (7859f4d19ff82fa722df36dd07936d43)] -> id: immCancel]
Expected: verify ArchiveReceipt page apperared after clicking cancel button on notify tool
Actual(Passed): verified ArchiveReceipt page apperared after clicking cancel button on notify tool
[ScreenShot]
   --- 22 Jul 19:10:53 059 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (7859f4d19ff82fa722df36dd07936d43)] -> id: immNotify]
   --- 22 Jul 19:10:53 334 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (7859f4d19ff82fa722df36dd07936d43)] -> id: immNotify]
   --- 22 Jul 19:10:53 804 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (7859f4d19ff82fa722df36dd07936d43)] -> id: immEmail]
   --- 22 Jul 19:10:53 991 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (7859f4d19ff82fa722df36dd07936d43)] -> id: immEmail]
   --- 22 Jul 19:10:54 574 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (7859f4d19ff82fa722df36dd07936d43)] -> id: immSMS]
   --- 22 Jul 19:11:05 919 - Unable to find an element after 5 sec ==> [[RemoteWebDriver: chrome on Windows 10 (7859f4d19ff82fa722df36dd07936d43)] -> xpath: (//*[@id='immNotify'])[2]]
Expected: verify Notify Button is disable after giving 'wrong Email' && 'correct SMS' value to notify tool
Actual(Failed): Notify Button is enable after giving 'wrong Email' && 'correct SMS' value to notify tool
[ScreenShot]

Index 0 out of bounds for length 0 [ScreenShot]
12 ignored methods
com.imm.ereceipt.testscripts.DashBoard.DashBoard
verifySortingInDashBoard
verifyUIElemntsInDashBoard
verifyFiltersInDashBoard
verifyTooltipsInReceiptPage
verifyErrorMessagesInDashBoardPage
verifyReportTooltipsInDashboardPage_ER3814
verifySettingsInTellerPage
verifyValidEmailInNotifyInDashboardPage
verifyTransactionDefaultRequired
verifyTransactionColorsInDashBoard
verifyInvalidEmailInNotifyInDashboardPage
verifyForTransactionInTellerAndSuperTeller
Methods in chronological order
com.imm.ereceipt.testscripts.DashBoard.DashBoard
initialize(org.testng.TestRunner@3fd5d679) 0 ms
init(org.testng.TestRunner@3fd5d679) 738 ms
verifyNotifyInArchiveReceiptPage({Description=verify Notify In Archive Receipt Page, Email=Ctest@gmail.com, Teller LastName=, print s...) 8439 ms