Test results
1 suite
com.imm.ereceipt.testscripts.Login.Login
verifyAdminPortalLogin ({=, TestID=verifyAdminPortalLogin, UserPwd=iMM2022!, Type=Admin, Description=Verify Admin Portal login details, Username=Fiadmin@Qaxpauto1.onmicrosoft.com, Version=, DocumentURL=}) (Verify log in Admin Portal)
C:\Users\dhima\git\eReceipts\IMM_EReceiptsWeb_Automation\testxml\Regression\XP\QAXPAuto\EReceiptChrome_demo.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="IMM_Test_Chrome" verbose="3">
    <classes>
      <class name="com.imm.ereceipt.testscripts.Login.Login">
        <methods>
          <include name="verifyAdminPortalLogin"/>
        </methods>
      </class> <!-- com.imm.ereceipt.testscripts.Login.Login -->
    </classes>
  </test> <!-- IMM_Test_Chrome -->
</suite> <!-- IMM_QA_Automation -->
            
Tests for IMM_QA_Automation
  • IMM_Test_Chrome (1 class)
Groups for IMM_QA_Automation
LoginAdmin
verifyAdminPortalLogin
P1
verifyAdminPortalLogin
Smoke
verifyAdminPortalLogin
Times for IMM_QA_Automation
Total running time: 1 minutes
Reporter output for IMM_QA_Automation
verifyAdminPortalLogin({=, TestID=verifyAdminPortalLogin, UserPwd=iMM2022!, Type=Admin, Description=Verify Admin Portal log...)
   --- 13 Aug 17:20:15 842 - TestCaseID:: verifyAdminPortalLogin
   --- 13 Aug 17:20:18 476 - 2 - Driver::initialize::Get - com.imm.ereceipt.support.WebDriverFactory.get(WebDriverFactory.java:565)
Verify Admin Portal login details
Steps:
 ***** Verify Admin Portal login details *****
   --- 13 Aug 17:20:30 667 - 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=0198a344-70e5-7b8d-bc89-8569ea6fd36d&response_mode=fragment&client_info=1&nonce=0198a344-70e6-720e-850e-928bea9945e3&state=eyjpzci6ijaxothhmzq0ltcwztytnzaxzc1izwi3ltk5zwu1nza4zwe0nyisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=uqtdqi8-b2rqxgh4wp7plrt3lgdlxs6abx9idwp8ths&code_challenge_method=s256&sso_reload=true
   --- 13 Aug 17:20:30 668 - 11 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
   --- 13 Aug 17:20:31 924 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (33374d17946cae6c3672a758a94266b4)] -> xpath: //input[@id='i0116']]
 Successfully navigated to 'eReceipts Admin' Page
   --- 13 Aug 17:20:32 804 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (33374d17946cae6c3672a758a94266b4)] -> xpath: //input[@id='i0116']]
   --- 13 Aug 17:20:33 661 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (33374d17946cae6c3672a758a94266b4)] -> xpath: //input[@id='i0116']]
   --- 13 Aug 17:20:38 369 - 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=0198a344-70e5-7b8d-bc89-8569ea6fd36d&response_mode=fragment&client_info=1&nonce=0198a344-70e6-720e-850e-928bea9945e3&state=eyjpzci6ijaxothhmzq0ltcwztytnzaxzc1izwi3ltk5zwu1nza4zwe0nyisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=uqtdqi8-b2rqxgh4wp7plrt3lgdlxs6abx9idwp8ths&code_challenge_method=s256&sso_reload=true
   --- 13 Aug 17:20:38 369 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
   --- 13 Aug 17:20:42 291 - 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=0198a344-70e5-7b8d-bc89-8569ea6fd36d&response_mode=fragment&client_info=1&nonce=0198a344-70e6-720e-850e-928bea9945e3&state=eyjpzci6ijaxothhmzq0ltcwztytnzaxzc1izwi3ltk5zwu1nza4zwe0nyisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=uqtdqi8-b2rqxgh4wp7plrt3lgdlxs6abx9idwp8ths&code_challenge_method=s256&sso_reload=true
   --- 13 Aug 17:20:42 291 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
 Password text field is shown [ScreenShot]
   --- 13 Aug 17:20:43 773 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (33374d17946cae6c3672a758a94266b4)] -> xpath: //input[@id='i0118']]
   --- 13 Aug 17:20:44 618 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (33374d17946cae6c3672a758a94266b4)] -> xpath: //input[@id='i0118']]
   --- 13 Aug 17:20:49 276 - 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=0198a344-70e5-7b8d-bc89-8569ea6fd36d&response_mode=fragment&client_info=1&nonce=0198a344-70e6-720e-850e-928bea9945e3&state=eyjpzci6ijaxothhmzq0ltcwztytnzaxzc1izwi3ltk5zwu1nza4zwe0nyisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&x-client-sku=msal.js.browser&x-client-ver=4.12.0&response_type=code&code_challenge=uqtdqi8-b2rqxgh4wp7plrt3lgdlxs6abx9idwp8ths&code_challenge_method=s256&sso_reload=true
   --- 13 Aug 17:20:49 276 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
 Entered values for the fields in 'Login' page [ScreenShot]
   --- 13 Aug 17:20:54 394 - Page URL:: https://login.microsoftonline.com/common/login
   --- 13 Aug 17:20:54 394 - 4 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
   --- 13 Aug 17:21:09 717 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/#code=1.aweb73_yusvmr0c_nh8d-vcnuwgd8lgobffisuceyytr8ihmaqbhaq.agabbaiaaabvrspeuwamram2jaf1xrqeawds_wua9p8y7gyqrhjh6rcgcv4txxuy6xhz2kcewj2jglqqvosoo53x3c189lo14e3xekgelhwc_pykraj9dh5-lulkv9_tn9b5ys2hznrwuz4wvtrxhwrztiughohh52abuznrhqhy2k_pudnhkylg8y8mj9qi2wsgwxjmcdf9yf58n8x53tvm8tzrgce8rgs3gq1taj_gkxvdcqef2xd3zjwmhyzmjc9nsffqayqhxivy-cneak0g-cvndfd4ms35fxsp_t0z4daftpw0aayjo-msipp0baojzsoj6b-chdofbspue4nnu5yr3ynk48saa7islguxf5-uoqv1b7yrlbmsrb30r0lqxo6xcyacrtzu5tmqq-julv2prcmdsyertf74q4oovmzf-hiskd83ah2enmnfccxe_t1ycwvmmf8kc95phhctyssa6xbjlqx7t-f6hcylop3kjajeuoba2llcxawwozxajzv4ulrlsldy5hrcnrpobimvns7eo4qmdicffivol02h21mzszcs6gmz8lvaihmnvc17azzifmqu0or2_soikas9zgsqa8xdnftdpxh0xgdbaxc5zlzub_p8oxhdpgutmgezm_f-bqunn6hvy6qdb5qitv7ze0mzeyw-m4arrgdyczj7vle-nls-fclkxe7zcme7yykxke9m049oqzbgoqzmn_0pvescuhkgurf4ubzra1tgllubwr0sqjbqh26esgqjvcbuh-hjghe7izb4ju1vyxsdk_lerqdnqulsunf52fqve-ar0ctstfoegnor6poorg4f0a4zrf_w16eklshk2qkq8jgtc7qjwamyqneshwqz3he4r0evo6_jv6_uugpxzjqmgxagd97b6glfusnow22sj98lfovvfrl2i91pbunxtu084dmcmrnbfskxue1zlsejzlhuew&client_info=eyj1awqioiixmdhmy2nkns1lytvlltrlnwutotvins00zjbmnzfkntexndcilcj1dglkijoiymfmmjdmzwytnjzjns00mdq3lwjmowutmwywm2y5ntcynzuxin0&state=eyjpzci6ijaxothhmzq0ltcwztytnzaxzc1izwi3ltk5zwu1nza4zwe0nyisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&session_state=007c15b9-3a20-0a6c-bf08-dc54bd0f257b
   --- 13 Aug 17:21:09 717 - 11 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
   --- 13 Aug 17:21:14 827 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
   --- 13 Aug 17:21:14 827 - 5 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
   --- 13 Aug 17:21:18 775 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (33374d17946cae6c3672a758a94266b4)] -> xpath: //b[text()='Admin Dashboard']]
   --- 13 Aug 17:21:22 197 - Page URL:: https://er-fiadminportal-demo.azurewebsites.net/admin
   --- 13 Aug 17:21:22 200 - 3 - Page Load Wait: (Sync) - com.imm.ereceipt.support.Utils.waitForPageLoad(Utils.java:112)
   --- 13 Aug 17:21:23 080 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (33374d17946cae6c3672a758a94266b4)] -> xpath: //b[contains(text(),'Dashboard')]]

Successfully navigated to the 'Admin' page [ScreenShot]
 ***** Clicked on Log Out*****

Test Passed.
10 ignored methods
com.imm.ereceipt.testscripts.Login.Login
verifyTellerAndAdminLogin
verifyHeaderItemsTellerPortal
verifyHelpMenuTellerPortal
verifyLoginWithWrongCredentailsAdminPortal
verifyLoginWithWrongCredentails
verifyUIElementsInAdminControlPanel
verifyHelpMenuAdminPortal
verifyDocumentationAboutInDashBoardPage
verifyTellerAndSuperTellerLogin
verifyDocumentationAboutInAdminControlPanel
Methods in chronological order
com.imm.ereceipt.testscripts.Login.Login
initialize(org.testng.TestRunner@f171912) 0 ms
init(org.testng.TestRunner@f171912) 48 ms
verifyAdminPortalLogin({=, TestID=verifyAdminPortalLogin, UserPwd=iMM2022!, Type=Admin, Description=Verify Admin Portal log...) 2827 ms