Test results
1 suite, 1 failed test
com.kinective.mts.testscripts.adminPortal.adminPortal
VerifyInstitutionFieldsValidationsErrorMessages ({Description=Login as a Admin user and trying to pass invalid parameters in the Add Institution fields and verify the errors, UserName=Fiadmin@ctusbank.onmicrosoft.com, Tenant Name=, Application ID=, Tenant FQDN=, Connector Name=, TestID=VerifyInstitutionFieldsValidationsErrorMessages, Tenant ID=, DefaultAdmin=, Group Name=, Select Group Role=, Group ID=, Password=iMM2023!})
java.lang.AssertionError: Expected text does not match actual text at com.kinective.mts.pages.EcsAdmin.invalidTenantfieldValidations(EcsAdmin.java:545) at com.kinective.mts.testscripts.adminPortal.adminPortal.VerifyInstitutionFieldsValidationsErrorMessages(adminPortal.java:1103) 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.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) at java.base/java.lang.Thread.run(Thread.java:1570)
(Admin Portal Validations)
C:\Users\sa_altaf.shaikh\git\ECS_Repo\testxml\Smoke\Chrome_Admin_Method1.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "https://testng.org/testng-1.0.dtd">
<suite thread-count="500" name="IMM_QA_Automation" guice-stage="DEVELOPMENT" verbose="3">
  <parameter name="webSite" value="https://qa.immecs.app/adm/#/institutions"/>
  <parameter name="projectKey" value="MTS"/>
  <parameter name="deviceHost" value="localhost"/>
  <parameter name="sessionUrl" value="https://qa.immecs.app/adm/#/institutions"/>
  <parameter name="devicePort" value="4444"/>
  <parameter name="browserName" value="chrome_windows"/>
  <listeners>
    <listener class-name="com.kinective.mts.support.MethodInterceptor"/>
  </listeners>
  <test thread-count="1" parallel="methods" name="IMM_Test_Chrome" verbose="3">
    <classes>
      <class name="com.kinective.mts.testscripts.adminPortal.adminPortal">
        <methods>
          <include name="VerifyInstitutionFieldsValidationsErrorMessages"/>
        </methods>
      </class> <!-- com.kinective.mts.testscripts.adminPortal.adminPortal -->
    </classes>
  </test> <!-- IMM_Test_Chrome -->
</suite> <!-- IMM_QA_Automation -->
            
Tests for IMM_QA_Automation
  • IMM_Test_Chrome (1 class)
Groups for IMM_QA_Automation
Times for IMM_QA_Automation
Total running time: 1 minutes
Reporter output for IMM_QA_Automation
VerifyInstitutionFieldsValidationsErrorMessages({Description=Login as a Admin user and trying to pass invalid parameters in the Add Institution fiel...)
   --- 10 Dec 14:29:11 584 - TestCaseID:: VerifyInstitutionFieldsValidationsErrorMessages
   --- 10 Dec 14:29:19 237 - 7 - Driver::initialize::Get - com.kinective.mts.support.WebDriverFactory.get(WebDriverFactory.java:566)
Verify UI Elements for General settings page
Steps:
 https://qa.immecs.app/adm/#/institutions
   --- 10 Dec 14:29:28 066 - Page URL:: https://login.microsoftonline.com/organizations/oauth2/v2.0/authorize?client_id=36574351-3de3-4d3f-9925-0aab0c9fbf11&scope=.default%20openid%20profile%20offline_access&redirect_uri=https%3a%2f%2fqa.immecs.app%2fadm%2fv1%2f&client-request-id=199e0220-ef87-4923-a4d7-1db102de2887&response_mode=fragment&response_type=code&x-client-sku=msal.js.browser&x-client-ver=2.32.1&client_info=1&code_challenge=u52lerygycxr_sxtve66xf4zjgm9ccb9kbfk6nf5qbg&code_challenge_method=s256&nonce=cbecf3f0-1744-4757-ace0-6dcc7e2013f2&state=eyjpzci6ije4zdizytq5ltq4mwmtndexzs04mmqylty5zde5oti5ytezmcisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&sso_reload=true
   --- 10 Dec 14:29:28 070 - 4 - Page Load Wait: (Sync) - com.kinective.mts.support.Utils.waitForPageLoad(Utils.java:184)
   --- 10 Dec 14:29:28 436 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (b37ce469b9f1ac285a3ff951c0f3f486)] -> id: idSIButton9]
   --- 10 Dec 14:29:28 752 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (b37ce469b9f1ac285a3ff951c0f3f486)] -> id: i0116]
   --- 10 Dec 14:29:34 015 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (b37ce469b9f1ac285a3ff951c0f3f486)] -> id: i0116]
   --- 10 Dec 14:29:34 604 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (b37ce469b9f1ac285a3ff951c0f3f486)] -> id: idSIButton9]
   --- 10 Dec 14:29:36 233 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (b37ce469b9f1ac285a3ff951c0f3f486)] -> id: i0118]
   --- 10 Dec 14:29:40 507 - Page URL:: https://login.microsoftonline.com/common/login
   --- 10 Dec 14:29:40 507 - 3 - Page Load Wait: (Sync) - com.kinective.mts.support.Utils.waitForPageLoad(Utils.java:184)
   --- 10 Dec 14:29:40 817 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (b37ce469b9f1ac285a3ff951c0f3f486)] -> id: lightbox]
   --- 10 Dec 14:29:40 912 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (b37ce469b9f1ac285a3ff951c0f3f486)] -> id: idSIButton9]
   --- 10 Dec 14:29:57 477 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (b37ce469b9f1ac285a3ff951c0f3f486)] -> xpath: //c-sidebar-nav-link-content[contains(text(),'Institutions')]]
   --- 10 Dec 14:30:00 972 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (b37ce469b9f1ac285a3ff951c0f3f486)] -> id: immBtnAdd]
   --- 10 Dec 14:30:04 477 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (b37ce469b9f1ac285a3ff951c0f3f486)] -> xpath: //input[@placeholder='Directory (tenant) ID']]
   --- 10 Dec 14:30:04 929 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (b37ce469b9f1ac285a3ff951c0f3f486)] -> xpath: //input[@placeholder='Name']]
   --- 10 Dec 14:30:05 414 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (b37ce469b9f1ac285a3ff951c0f3f486)] -> xpath: //input[@placeholder='Tenant FQDN']]
   --- 10 Dec 14:30:05 883 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (b37ce469b9f1ac285a3ff951c0f3f486)] -> xpath: //input[@placeholder='DefaultAdmin']]
   --- 10 Dec 14:30:06 422 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (b37ce469b9f1ac285a3ff951c0f3f486)] -> xpath: //*[@id='immBtnCancel']]
   --- 10 Dec 14:30:09 873 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (b37ce469b9f1ac285a3ff951c0f3f486)] -> id: immOptionInstEnabled-button]
   --- 10 Dec 14:30:24 815 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (b37ce469b9f1ac285a3ff951c0f3f486)] -> xpath: //*[@id='immBtnCancel']]
   --- 10 Dec 14:30:28 025 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (b37ce469b9f1ac285a3ff951c0f3f486)] -> id: immBtnAdd]
   --- 10 Dec 14:30:31 199 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (b37ce469b9f1ac285a3ff951c0f3f486)] -> xpath: //input[@placeholder='Directory (tenant) ID']]
   --- 10 Dec 14:30:32 541 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (b37ce469b9f1ac285a3ff951c0f3f486)] -> xpath: //input[@placeholder='Name']]
   --- 10 Dec 14:30:33 925 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (b37ce469b9f1ac285a3ff951c0f3f486)] -> xpath: //input[@placeholder='Tenant FQDN']]
   --- 10 Dec 14:30:35 264 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (b37ce469b9f1ac285a3ff951c0f3f486)] -> xpath: //input[@placeholder='DefaultAdmin']]
 Filled Invalid Tenant Details
   --- 10 Dec 14:30:39 648 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (b37ce469b9f1ac285a3ff951c0f3f486)] -> id: immOptionInstEnabled-button]
 Verify invalid tenant Validations
21 ignored methods
com.kinective.mts.testscripts.adminPortal.adminPortal
VerifyUpdateConnectorName
smoke_Test_Scripts
VerifyConnectorFieldsValidationsErrorMessages
VerifyAddGroupRole
VerifyOnboardingTenant
loginAs_SymitarAdmin
updating_Records
VerifyNonAdminUserTryingToAddDeleteUpdateGroupRole
loginAsJH_Institution_Admin
deleting_All_records
deleting_Records
VerifyUpdateGroupRole
VerifyAddConnector
VerifyGroupRoleFieldsValidationsErrorMessages
loginAsJH_Non_Admin_User
VerifyNonAdminUserTryingToAddDeleteUpdateConnector
VerifyNonAdminUserTryingToAddDeleteUpdateTenant
VerifyUpdateTenantDetails
field_Validations
loginAsJH_Admin_User
VerifyLoginAndLogoutProcess
Methods in chronological order
com.kinective.mts.testscripts.adminPortal.adminPortal
initialize(org.testng.TestRunner@6283d8b8) 0 ms
init(org.testng.TestRunner@6283d8b8) 10079 ms
VerifyInstitutionFieldsValidationsErrorMessages({Description=Login as a Admin user and trying to pass invalid parameters in the Add Institution fiel...) 18040 ms