Test results
1 suite
com.imm.ereceipt.testscripts.LoggingArchive.LoggingArchive
verifyDefaultsInArchivesPage ({UserPwd=iMM2022!, Description=verify defaults In Archives Page with Teller,Date, Category=, select=, Reference=, Teller=1468, Teller FirstName=, errorMessage=, Teller LastName=, Teller Email=, Machine=, Date=180, Clear=, errorint=, TestID=verifyDefaultsInArchivesPage, Reprocess=, Transaction=, Header=, Username=fiAdmin@Qaxpauto.onmicrosoft.com, Export=, Level=, Member=, ArchiveStatus=Not Processed}) (Verify UI Elements in Archives Page)
C:\Users\ratnak\AppData\Local\Temp\testng-eclipse-1115232063\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.LoggingArchive.LoggingArchive">
        <methods>
          <include name="verifyDefaultsInArchivesPage"/>
        </methods>
      </class> <!-- com.imm.ereceipt.testscripts.LoggingArchive.LoggingArchive -->
    </classes>
  </test> <!-- Default test -->
</suite> <!-- IMM_QA_Automation -->
            
Tests for IMM_QA_Automation
  • Default test (1 class)
Groups for IMM_QA_Automation
Archives
verifyDefaultsInArchivesPage
P1
verifyDefaultsInArchivesPage
Smoke
verifyDefaultsInArchivesPage
Times for IMM_QA_Automation
Total running time: 49 seconds
Reporter output for IMM_QA_Automation
verifyDefaultsInArchivesPage({UserPwd=iMM2022!, Description=verify defaults In Archives Page with Teller,Date, Category=, select=...)
   --- 11 Mar 20:29:58 027 - TestCaseID:: verifyDefaultsInArchivesPage
   --- 11 Mar 20:30:09 423 - 11 - Driver::initialize::Get - com.imm.ereceipt.support.WebDriverFactory.get(WebDriverFactory.java:557)
verify defaults In Archives Page with Teller,Date
Steps:
 ***** verify defaults In Archives Page with Teller,Date *****
   --- 11 Mar 20:30:14 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-fiadminportal-demo.azurewebsites.net&client-request-id=877f039b-ed65-4378-bafd-1d866a5dce45&response_mode=fragment&response_type=code&x-client-sku=msal.js.browser&x-client-ver=2.39.0&client_info=1&code_challenge=kd8ddpjh2t-8d1k851lwufketrebrehqbgwxgjsjp5u&code_challenge_method=s256&nonce=12be4dbe-6bdc-4040-97d3-f1b40df32b37&state=eyjpzci6ijfizjzkzgvilwrlnzytngfmzi1iyzcwlwzjogm5mdlkn2qyocisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&sso_reload=true
   --- 11 Mar 20:30:14 702 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
   --- 11 Mar 20:30:15 114 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (b11421108a2c25260658ed56ac82645a)] -> xpath: //input[@id='i0116']]
 Successfully navigated to 'eReceipts FI Admin' Page
   --- 11 Mar 20:30:15 354 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (b11421108a2c25260658ed56ac82645a)] -> xpath: //input[@id='i0116']]
   --- 11 Mar 20:30:15 623 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (b11421108a2c25260658ed56ac82645a)] -> id: idSIButton9]
 Text field 'User ID', Password' and button 'Login, 'Cancel' are displayed in the 'Login' page
   --- 11 Mar 20:30:15 730 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (b11421108a2c25260658ed56ac82645a)] -> xpath: //input[@id='i0116']]
   --- 11 Mar 20:30:15 836 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (b11421108a2c25260658ed56ac82645a)] -> xpath: //input[@id='i0116']]
   --- 11 Mar 20:30:19 719 - 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=877f039b-ed65-4378-bafd-1d866a5dce45&response_mode=fragment&response_type=code&x-client-sku=msal.js.browser&x-client-ver=2.39.0&client_info=1&code_challenge=kd8ddpjh2t-8d1k851lwufketrebrehqbgwxgjsjp5u&code_challenge_method=s256&nonce=12be4dbe-6bdc-4040-97d3-f1b40df32b37&state=eyjpzci6ijfizjzkzgvilwrlnzytngfmzi1iyzcwlwzjogm5mdlkn2qyocisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&sso_reload=true
   --- 11 Mar 20:30:19 720 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
   --- 11 Mar 20:30:23 295 - 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=877f039b-ed65-4378-bafd-1d866a5dce45&response_mode=fragment&response_type=code&x-client-sku=msal.js.browser&x-client-ver=2.39.0&client_info=1&code_challenge=kd8ddpjh2t-8d1k851lwufketrebrehqbgwxgjsjp5u&code_challenge_method=s256&nonce=12be4dbe-6bdc-4040-97d3-f1b40df32b37&state=eyjpzci6ijfizjzkzgvilwrlnzytngfmzi1iyzcwlwzjogm5mdlkn2qyocisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&sso_reload=true
   --- 11 Mar 20:30:23 299 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
 Password text field is shown [ScreenShot]
   --- 11 Mar 20:30:24 539 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (b11421108a2c25260658ed56ac82645a)] -> xpath: //input[@id='i0118']]
   --- 11 Mar 20:30:24 666 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (b11421108a2c25260658ed56ac82645a)] -> xpath: //input[@id='i0118']]
   --- 11 Mar 20:30:28 100 - 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=877f039b-ed65-4378-bafd-1d866a5dce45&response_mode=fragment&response_type=code&x-client-sku=msal.js.browser&x-client-ver=2.39.0&client_info=1&code_challenge=kd8ddpjh2t-8d1k851lwufketrebrehqbgwxgjsjp5u&code_challenge_method=s256&nonce=12be4dbe-6bdc-4040-97d3-f1b40df32b37&state=eyjpzci6ijfizjzkzgvilwrlnzytngfmzi1iyzcwlwzjogm5mdlkn2qyocisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&sso_reload=true
   --- 11 Mar 20:30:28 101 - 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@Qaxpauto.onmicrosoft.com
   --- 11 Mar 20:30:32 693 - Page URL:: https://login.microsoftonline.com/common/login
   --- 11 Mar 20:30:32 695 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
   --- 11 Mar 20:30:42 651 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
   --- 11 Mar 20:30:42 652 - 6 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
   --- 11 Mar 20:30:45 949 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
   --- 11 Mar 20:30:45 950 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
   --- 11 Mar 20:30:46 129 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (b11421108a2c25260658ed56ac82645a)] -> xpath: //b[text()='Admin Dashboard']]
   --- 11 Mar 20:30:49 347 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
   --- 11 Mar 20:30:49 353 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
   --- 11 Mar 20:30:49 502 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (b11421108a2c25260658ed56ac82645a)] -> xpath: //mat-toolbar/div/button[2]/span]

Successfully navigated to the 'Control Panel' page [ScreenShot]
   --- 11 Mar 20:30:49 877 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (b11421108a2c25260658ed56ac82645a)] -> xpath: //mat-toolbar/div/button[2]/span]
   --- 11 Mar 20:30:52 143 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (b11421108a2c25260658ed56ac82645a)] -> xpath: //mat-toolbar/div/button[2]/span]
   --- 11 Mar 20:30:54 533 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 10 (b11421108a2c25260658ed56ac82645a)] -> id: immMenuArchive]

Successfully navigated to the 'Archives' page [ScreenShot]
 Successfully checked the default UI elements and current date in 'Archives' page [ScreenShot]
Expected: verify the Archive status default
Actual(Passed): Succefully verified the 'Not process' & 'Error' are checked by default and 'Success' is not check by default
[ScreenShot]

Test Passed.
6 ignored methods
com.imm.ereceipt.testscripts.LoggingArchive.LoggingArchive
verifyUIElementsInLoggingPage
verifySelectAllInArchivesPage
verifyErrorMessagesinArchivesPage
verifySortingInArchivesPage
verifyErrorMessagesinLoggingPage
verifyUIElementsInArchivesPage
Methods in chronological order
com.imm.ereceipt.testscripts.LoggingArchive.LoggingArchive
initialize(org.testng.TestRunner@c732e1c) 0 ms
init(org.testng.TestRunner@c732e1c) 212 ms
verifyDefaultsInArchivesPage({UserPwd=iMM2022!, Description=verify defaults In Archives Page with Teller,Date, Category=, select=...) 12195 ms