Test results
1 suite
com.kinective.mts.testscripts.adminPortal.adminPortal
VerifyNonAdminUserTryingToAddDeleteUpdateGroupRole ({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=VerifyNonAdminUserTryingToAddDeleteUpdateGroupRole, Tenant ID=, DefaultAdmin=, Group Name=Test NonAdmin Group, Select Group Role=Admins, Group ID=2ef6a2ef-67ae-4011-8eab-b5257465d116, 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="VerifyNonAdminUserTryingToAddDeleteUpdateGroupRole"/>
        </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
P9
VerifyNonAdminUserTryingToAddDeleteUpdateGroupRole
Smoke
VerifyNonAdminUserTryingToAddDeleteUpdateGroupRole
Times for IMM_QA_Automation
Total running time: 1 minutes
Reporter output for IMM_QA_Automation
VerifyNonAdminUserTryingToAddDeleteUpdateGroupRole({Description=Login as a Normal User and Verify user should be able to add, delete and update any cha...)
   --- 04 Dec 18:40:35 531 - TestCaseID:: VerifyNonAdminUserTryingToAddDeleteUpdateGroupRole
   --- 04 Dec 18:40:42 553 - 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
   --- 04 Dec 18:40:51 235 - 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=dedb2357-c7e6-4079-b7b9-03f266004c01&response_mode=fragment&response_type=code&x-client-sku=msal.js.browser&x-client-ver=2.32.1&client_info=1&code_challenge=r7dtetkfif4twsgiggkidale5jebduzmns0u0frmfbm&code_challenge_method=s256&nonce=f0403129-9160-41a8-b660-74f066fef613&state=eyjpzci6ija1mdq0owjiltg2zdgtndjhzi05nzfjltawmgnlowuzogjlmsisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&sso_reload=true
   --- 04 Dec 18:40:51 238 - 4 - Page Load Wait: (Sync) - com.kinective.mts.support.Utils.waitForPageLoad(Utils.java:184)
   --- 04 Dec 18:40:51 662 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (cde8de995495af3f70401dd9d3d63c97)] -> id: idSIButton9]
   --- 04 Dec 18:40:52 130 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (cde8de995495af3f70401dd9d3d63c97)] -> id: i0116]
   --- 04 Dec 18:40:57 433 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (cde8de995495af3f70401dd9d3d63c97)] -> id: i0116]
   --- 04 Dec 18:40:57 834 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (cde8de995495af3f70401dd9d3d63c97)] -> id: idSIButton9]
   --- 04 Dec 18:40:59 386 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (cde8de995495af3f70401dd9d3d63c97)] -> id: i0118]
   --- 04 Dec 18:41:03 982 - Page URL:: https://login.microsoftonline.com/common/login
   --- 04 Dec 18:41:03 984 - 4 - Page Load Wait: (Sync) - com.kinective.mts.support.Utils.waitForPageLoad(Utils.java:184)
   --- 04 Dec 18:41:04 342 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (cde8de995495af3f70401dd9d3d63c97)] -> id: lightbox]
   --- 04 Dec 18:41:04 451 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (cde8de995495af3f70401dd9d3d63c97)] -> id: idSIButton9]
   --- 04 Dec 18:41:21 624 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (cde8de995495af3f70401dd9d3d63c97)] -> xpath: //c-sidebar-nav-link-content[contains(text(),'Group Roles')]]
   --- 04 Dec 18:41:25 084 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (cde8de995495af3f70401dd9d3d63c97)] -> xpath: //button[@id='immBtnAdd']]
   --- 04 Dec 18:41:25 497 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (cde8de995495af3f70401dd9d3d63c97)] -> xpath: //input[@placeholder='Group Id']]
   --- 04 Dec 18:41:27 176 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (cde8de995495af3f70401dd9d3d63c97)] -> xpath: //input[@placeholder='Group Name']]
   --- 04 Dec 18:41:33 437 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (cde8de995495af3f70401dd9d3d63c97)] -> xpath: //button[@id='immBtnSave']]
 Verified user is not able to add group role
   --- 04 Dec 18:41:36 653 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (cde8de995495af3f70401dd9d3d63c97)] -> xpath: //c-sidebar-nav-link-content[contains(text(),'Group Roles')]]
   --- 04 Dec 18:41:37 412 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (cde8de995495af3f70401dd9d3d63c97)] -> xpath: //span[@class='mdc-button__label'][contains(text(),'Edit')]]
   --- 04 Dec 18:41:40 578 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (cde8de995495af3f70401dd9d3d63c97)] -> xpath: //input[@placeholder='Group Name']]
 Verified save button is
   --- 04 Dec 18:41:46 378 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (cde8de995495af3f70401dd9d3d63c97)] -> xpath: //c-sidebar-nav-link-content[contains(text(),'Group Roles')]]
   --- 04 Dec 18:41:47 096 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (cde8de995495af3f70401dd9d3d63c97)] -> xpath: //span[contains(text(),'Delete')]]
 Verified user is not able to delete group role
   --- 04 Dec 18:41:52 514 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (cde8de995495af3f70401dd9d3d63c97)] -> xpath: //*[@id='immDefaultHeaderDropdown']]
   --- 04 Dec 18:41:52 948 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (cde8de995495af3f70401dd9d3d63c97)] -> xpath: //*[@id='immDefaultHeaderLogout']]
   --- 04 Dec 18:41:56 389 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (cde8de995495af3f70401dd9d3d63c97)] -> 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
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@47987356) 0 ms
init(org.testng.TestRunner@47987356) 10086 ms
VerifyNonAdminUserTryingToAddDeleteUpdateGroupRole({Description=Login as a Normal User and Verify user should be able to add, delete and update any cha...) 17491 ms