Test# Passed# Skipped# Retried# FailedTime (ms)Included GroupsExcluded Groups
IMM_QA_Automation
Default test000161,876
ClassMethodStartTime (ms)
IMM_QA_Automation
Default test — failed
com.imm.ereceipt.testscripts.Reports.ReportsverifyUIElementsInReports175846633061647554

Default test

com.imm.ereceipt.testscripts.Reports.Reports#verifyUIElementsInReports

Parameter #1
{UserPwd=iMM2022!, Description=verify UI Elements In Report Page, Teller ID=, errorMessage=, Teller Email=, View=, Date=25, Clear=, Workstation=, errorint=, TestID=verifyUIElementsInReports, Transaction=, Header=, Username=ChrisSuperTeller@Qaxpauto1.onmicrosoft.com, Export=, Member #=, Search Text=, Level=}
Messages
   --- 21 Sep 10:51:56 687 - TestCaseID:: verifyUIElementsInReports

   --- 21 Sep 10:52:10 645 - 13 - Driver::initialize::Get - com.imm.ereceipt.support.WebDriverFactory.get(WebDriverFactory.java:565)

verify UI Elements In Report Page
Steps:

   --- 21 Sep 10:52:15 909 - 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=01996cc2-d8fa-71f6-979b-90eb1db6e9ba&response_mode=fragment&client_info=1&nonce=01996cc2-d8fb-7b50-9d88-0e2612dea491&state=eyjpzci6ijaxotk2y2mylwq4zmitn2zlny1imtk5ltrhnwu5ntk0zdyzmyisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.11.1&response_type=code&code_challenge=hlaiphzh081fkqmx7vblldcxeuswtea2us4r6me7_ba&code_challenge_method=s256&sso_reload=true

   --- 21 Sep 10:52:15 909 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)

   --- 21 Sep 10:52:16 102 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (0a65698c6069a2eec151bf7a7562bc0e)] -> xpath: //input[@id='i0116']]

 Successfully navigated to 'eReceipts Teller' Page

   --- 21 Sep 10:52:16 262 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (0a65698c6069a2eec151bf7a7562bc0e)] -> xpath: //input[@id='i0116']]

   --- 21 Sep 10:52:16 395 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (0a65698c6069a2eec151bf7a7562bc0e)] -> id: idSIButton9]

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

   --- 21 Sep 10:52:16 535 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (0a65698c6069a2eec151bf7a7562bc0e)] -> xpath: //input[@id='i0116']]

   --- 21 Sep 10:52:16 643 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (0a65698c6069a2eec151bf7a7562bc0e)] -> xpath: //input[@id='i0116']]

   --- 21 Sep 10:52:20 196 - 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=01996cc2-d8fa-71f6-979b-90eb1db6e9ba&response_mode=fragment&client_info=1&nonce=01996cc2-d8fb-7b50-9d88-0e2612dea491&state=eyjpzci6ijaxotk2y2mylwq4zmitn2zlny1imtk5ltrhnwu5ntk0zdyzmyisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.11.1&response_type=code&code_challenge=hlaiphzh081fkqmx7vblldcxeuswtea2us4r6me7_ba&code_challenge_method=s256&sso_reload=true

   --- 21 Sep 10:52:20 196 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)

   --- 21 Sep 10:52:23 690 - 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=01996cc2-d8fa-71f6-979b-90eb1db6e9ba&response_mode=fragment&client_info=1&nonce=01996cc2-d8fb-7b50-9d88-0e2612dea491&state=eyjpzci6ijaxotk2y2mylwq4zmitn2zlny1imtk5ltrhnwu5ntk0zdyzmyisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.11.1&response_type=code&code_challenge=hlaiphzh081fkqmx7vblldcxeuswtea2us4r6me7_ba&code_challenge_method=s256&sso_reload=true

   --- 21 Sep 10:52:23 690 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)

 Password text field is shown [ScreenShot]

   --- 21 Sep 10:52:27 562 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (0a65698c6069a2eec151bf7a7562bc0e)] -> xpath: //input[@id='i0118']]

   --- 21 Sep 10:52:27 663 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (0a65698c6069a2eec151bf7a7562bc0e)] -> xpath: //input[@id='i0118']]

   --- 21 Sep 10:52:31 093 - 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=01996cc2-d8fa-71f6-979b-90eb1db6e9ba&response_mode=fragment&client_info=1&nonce=01996cc2-d8fb-7b50-9d88-0e2612dea491&state=eyjpzci6ijaxotk2y2mylwq4zmitn2zlny1imtk5ltrhnwu5ntk0zdyzmyisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.11.1&response_type=code&code_challenge=hlaiphzh081fkqmx7vblldcxeuswtea2us4r6me7_ba&code_challenge_method=s256&sso_reload=true

   --- 21 Sep 10:52:31 097 - 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

   --- 21 Sep 10:52:35 656 - Page URL:: https://login.microsoftonline.com/common/login

   --- 21 Sep 10:52:35 656 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)

   --- 21 Sep 10:52:42 899 - Page URL:: https://er-tellerportal-demo.azurewebsites.net/dashboard

   --- 21 Sep 10:52:42 899 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)

   --- 21 Sep 10:52:46 206 - Page URL:: https://er-tellerportal-demo.azurewebsites.net/dashboard

   --- 21 Sep 10:52:46 206 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)

   --- 21 Sep 10:52:46 312 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (0a65698c6069a2eec151bf7a7562bc0e)] -> id: immOnFilter]

   --- 21 Sep 10:52:49 609 - Page URL:: https://er-tellerportal-demo.azurewebsites.net/dashboard

   --- 21 Sep 10:52:49 611 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)

   --- 21 Sep 10:52:49 717 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (0a65698c6069a2eec151bf7a7562bc0e)] -> xpath: //b[contains(text(),'Dashboard')]]


Successfully navigated to the 'Dashboard' page [ScreenShot]

   --- 21 Sep 10:52:50 097 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (0a65698c6069a2eec151bf7a7562bc0e)] -> id: immTellerReport]

   --- 21 Sep 10:52:52 281 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (0a65698c6069a2eec151bf7a7562bc0e)] -> id: immTellerReport]


Successfully navigated to the 'report' page [ScreenShot]

   --- 21 Sep 10:52:55 871 - Page URL:: https://er-tellerportal-demo.azurewebsites.net/reports

   --- 21 Sep 10:52:55 871 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)

   --- 21 Sep 10:52:55 996 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (0a65698c6069a2eec151bf7a7562bc0e)] -> id: immOnFilter]

 Successfully Verified the UI elements 'Logging' page [ScreenShot]



Cannot invoke "String.trim()" because the return value of "org.openqa.selenium.WebElement.getAttribute(String)" is null [ScreenShot]
Exception
java.lang.NullPointerException: Cannot invoke "String.trim()" because the return value of "org.openqa.selenium.WebElement.getAttribute(String)" is null at com.imm.ereceipt.support.BrowserActions.getTextFromAttribute(BrowserActions.java:308) at com.imm.ereceipt.pages.ReportPage.checkHostLabel(ReportPage.java:233) at com.imm.ereceipt.testscripts.Reports.Reports.verifyUIElementsInReports(Reports.java:109) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) 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:1596) 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)

back to summary