Test results
1 suite
com.kinective.mts.testscripts.adminPortal.adminPortal
VerifyNonAdminUserTryingToAddDeleteUpdateTenant ({Description=Login as a Normal User and Verify user should be able to add, delete and update any changes, UserName=JohnDoe@ctusbank.onmicrosoft.com, Tenant Name=, Application ID=, Tenant FQDN=, Connector Name=, TestID=VerifyNonAdminUserTryingToAddDeleteUpdateTenant, Tenant ID=, DefaultAdmin=, Group Name=, Select Group Role=, Group ID=, Password=iMM2023!}) (Login as Non-Admin User)
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="VerifyNonAdminUserTryingToAddDeleteUpdateTenant"/>
        </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
P8
VerifyNonAdminUserTryingToAddDeleteUpdateTenant
Smoke
VerifyNonAdminUserTryingToAddDeleteUpdateTenant
Times for IMM_QA_Automation
Total running time: 1 minutes
Reporter output for IMM_QA_Automation
VerifyNonAdminUserTryingToAddDeleteUpdateTenant({Description=Login as a Normal User and Verify user should be able to add, delete and update any cha...)
   --- 04 Dec 18:28:55 783 - TestCaseID:: VerifyNonAdminUserTryingToAddDeleteUpdateTenant
   --- 04 Dec 18:29:05 711 - 10 - 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
   --- 04 Dec 18:29:15 747 - 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=350adcf4-494b-4a07-8797-0d639d33d244&response_mode=fragment&response_type=code&x-client-sku=msal.js.browser&x-client-ver=2.32.1&client_info=1&code_challenge=nbqf-z9rqvir9n2psverwra15-oi8ci2aotrd-uteja&code_challenge_method=s256&nonce=aa3feb05-8b75-4e31-be24-0c5bd93bcad9&state=eyjpzci6ijq5nwqzyzawltrkyzqtndmyzi05mzgxltnhyziwnjc1zwriysisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&sso_reload=true
   --- 04 Dec 18:29:15 749 - 5 - Page Load Wait: (Sync) - com.kinective.mts.support.Utils.waitForPageLoad(Utils.java:184)
   --- 04 Dec 18:29:16 189 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (539847be2c63bf94dd0b1beaf48875ee)] -> id: idSIButton9]
   --- 04 Dec 18:29:16 534 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (539847be2c63bf94dd0b1beaf48875ee)] -> id: i0116]
   --- 04 Dec 18:29:22 382 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (539847be2c63bf94dd0b1beaf48875ee)] -> id: i0116]
   --- 04 Dec 18:29:22 890 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (539847be2c63bf94dd0b1beaf48875ee)] -> id: idSIButton9]
   --- 04 Dec 18:29:24 472 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (539847be2c63bf94dd0b1beaf48875ee)] -> id: i0118]
   --- 04 Dec 18:29:28 844 - Page URL:: https://login.microsoftonline.com/common/login
   --- 04 Dec 18:29:28 844 - 3 - Page Load Wait: (Sync) - com.kinective.mts.support.Utils.waitForPageLoad(Utils.java:184)
   --- 04 Dec 18:29:29 148 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (539847be2c63bf94dd0b1beaf48875ee)] -> id: lightbox]
   --- 04 Dec 18:29:29 226 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (539847be2c63bf94dd0b1beaf48875ee)] -> id: idSIButton9]
   --- 04 Dec 18:29:43 839 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (539847be2c63bf94dd0b1beaf48875ee)] -> xpath: //c-sidebar-nav-link-content[contains(text(),'Institutions')]]
   --- 04 Dec 18:29:47 291 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (539847be2c63bf94dd0b1beaf48875ee)] -> xpath: //*[@id='immBtnAdd']]
   --- 04 Dec 18:29:47 735 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (539847be2c63bf94dd0b1beaf48875ee)] -> xpath: //input[@placeholder='Directory (tenant) ID']]
   --- 04 Dec 18:29:49 277 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (539847be2c63bf94dd0b1beaf48875ee)] -> xpath: //input[@placeholder='Name']]
   --- 04 Dec 18:29:50 824 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (539847be2c63bf94dd0b1beaf48875ee)] -> xpath: //input[@placeholder='Tenant FQDN']]
   --- 04 Dec 18:29:52 361 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (539847be2c63bf94dd0b1beaf48875ee)] -> xpath: //input[@placeholder='DefaultAdmin']]
   --- 04 Dec 18:29:56 947 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (539847be2c63bf94dd0b1beaf48875ee)] -> xpath: //*[@id='immOptionInstEnabled-button']]
   --- 04 Dec 18:30:00 138 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (539847be2c63bf94dd0b1beaf48875ee)] -> xpath: //c-sidebar-nav-link-content[contains(text(),'Institutions')]]
   --- 04 Dec 18:30:01 446 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (539847be2c63bf94dd0b1beaf48875ee)] -> xpath: //span[@class='mdc-button__label'][contains(text(),'Edit')]]
   --- 04 Dec 18:30:04 649 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (539847be2c63bf94dd0b1beaf48875ee)] -> xpath: //input[@placeholder='Name']]
   --- 04 Dec 18:30:05 997 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (539847be2c63bf94dd0b1beaf48875ee)] -> xpath: //input[@placeholder='Tenant FQDN']]
   --- 04 Dec 18:30:07 435 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (539847be2c63bf94dd0b1beaf48875ee)] -> xpath: //input[@placeholder='DefaultAdmin']]
 Verified user is not able to update institution details
   --- 04 Dec 18:30:14 928 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (539847be2c63bf94dd0b1beaf48875ee)] -> xpath: //c-sidebar-nav-link-content[contains(text(),'Institutions')]]
   --- 04 Dec 18:30:18 339 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (539847be2c63bf94dd0b1beaf48875ee)] -> xpath: //span[@class='mdc-button__label'][contains(text(),'Delete')]]
 Verified user is not able to delete institution
   --- 04 Dec 18:30:21 768 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (539847be2c63bf94dd0b1beaf48875ee)] -> xpath: //*[@id='immDefaultHeaderDropdown']]
   --- 04 Dec 18:30:22 193 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (539847be2c63bf94dd0b1beaf48875ee)] -> xpath: //*[@id='immDefaultHeaderLogout']]
   --- 04 Dec 18:30:25 663 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (539847be2c63bf94dd0b1beaf48875ee)] -> xpath: //small[contains(text(),'Signed in')]]
 Logout

Test Passed.
21 ignored methods
com.kinective.mts.testscripts.adminPortal.adminPortal
VerifyUpdateConnectorName
smoke_Test_Scripts
VerifyConnectorFieldsValidationsErrorMessages
VerifyAddGroupRole
VerifyOnboardingTenant
VerifyInstitutionFieldsValidationsErrorMessages
loginAs_SymitarAdmin
updating_Records
VerifyNonAdminUserTryingToAddDeleteUpdateGroupRole
loginAsJH_Institution_Admin
deleting_All_records
deleting_Records
VerifyUpdateGroupRole
VerifyAddConnector
VerifyGroupRoleFieldsValidationsErrorMessages
loginAsJH_Non_Admin_User
VerifyNonAdminUserTryingToAddDeleteUpdateConnector
VerifyUpdateTenantDetails
field_Validations
loginAsJH_Admin_User
VerifyLoginAndLogoutProcess
Methods in chronological order
com.kinective.mts.testscripts.adminPortal.adminPortal
initialize(org.testng.TestRunner@47987356) 0 ms
init(org.testng.TestRunner@47987356) 10086 ms
VerifyNonAdminUserTryingToAddDeleteUpdateTenant({Description=Login as a Normal User and Verify user should be able to add, delete and update any cha...) 20428 ms