Test results
1 suite, 1 failed test
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!})
org.openqa.selenium.NoSuchElementException: Click on Institution Save Button not found in page!! For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception Build info: version: '4.10.0', revision: 'c14d967899' System info: os.name: 'Windows 11', os.arch: 'amd64', os.version: '10.0', java.version: '22' Driver info: driver.version: unknown at com.kinective.mts.support.BrowserActions.clickOnElement(BrowserActions.java:155) at com.kinective.mts.pages.EcsAdmin.clickInsitutionSaveBtn(EcsAdmin.java:368) at com.kinective.mts.testscripts.adminPortal.adminPortal.VerifyNonAdminUserTryingToAddDeleteUpdateTenant(adminPortal.java:765) 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)
(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
P3
VerifyNonAdminUserTryingToAddDeleteUpdateTenant
Smoke
VerifyNonAdminUserTryingToAddDeleteUpdateTenant
Times for IMM_QA_Automation
Total running time: 58 seconds
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...)
   --- 03 Dec 16:05:58 867 - TestCaseID:: VerifyNonAdminUserTryingToAddDeleteUpdateTenant
   --- 03 Dec 16:06:08 890 - 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
   --- 03 Dec 16:06:19 585 - 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=14b1af3e-0af7-438c-a7f0-a0708c7af82e&response_mode=fragment&response_type=code&x-client-sku=msal.js.browser&x-client-ver=2.32.1&client_info=1&code_challenge=-bjvyqcno3hy64psytkp_h-hftl9qf8hygtzxjuadvm&code_challenge_method=s256&nonce=2e0000f3-8443-43b3-bb8f-03a084120504&state=eyjpzci6ijuzmjg0n2iyltrkndctndqwyy1hmtm1ltc5m2exnmvhnju1ysisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&sso_reload=true
   --- 03 Dec 16:06:19 587 - 6 - Page Load Wait: (Sync) - com.kinective.mts.support.Utils.waitForPageLoad(Utils.java:184)
   --- 03 Dec 16:06:20 095 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (5182274e1116f9f34106d3fa9968976c)] -> id: idSIButton9]
   --- 03 Dec 16:06:20 561 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (5182274e1116f9f34106d3fa9968976c)] -> id: i0116]
   --- 03 Dec 16:06:25 845 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (5182274e1116f9f34106d3fa9968976c)] -> id: i0116]
   --- 03 Dec 16:06:26 337 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (5182274e1116f9f34106d3fa9968976c)] -> id: idSIButton9]
   --- 03 Dec 16:06:27 929 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (5182274e1116f9f34106d3fa9968976c)] -> id: i0118]
   --- 03 Dec 16:06:32 256 - Page URL:: https://login.microsoftonline.com/common/login
   --- 03 Dec 16:06:32 256 - 3 - Page Load Wait: (Sync) - com.kinective.mts.support.Utils.waitForPageLoad(Utils.java:184)
   --- 03 Dec 16:06:32 579 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (5182274e1116f9f34106d3fa9968976c)] -> id: lightbox]
   --- 03 Dec 16:06:32 667 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (5182274e1116f9f34106d3fa9968976c)] -> id: idSIButton9]
   --- 03 Dec 16:06:50 051 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (5182274e1116f9f34106d3fa9968976c)] -> xpath: //c-sidebar-nav-link-content[contains(text(),'Institutions')]]
   --- 03 Dec 16:06:53 535 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (5182274e1116f9f34106d3fa9968976c)] -> xpath: //*[@id='immBtnAdd']]
   --- 03 Dec 16:06:54 068 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (5182274e1116f9f34106d3fa9968976c)] -> xpath: //input[@placeholder='Directory (tenant) ID']]
   --- 03 Dec 16:06:55 699 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (5182274e1116f9f34106d3fa9968976c)] -> xpath: //input[@placeholder='Name']]
   --- 03 Dec 16:06:57 385 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (5182274e1116f9f34106d3fa9968976c)] -> xpath: //input[@placeholder='Tenant FQDN']]
   --- 03 Dec 16:06:58 995 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (5182274e1116f9f34106d3fa9968976c)] -> xpath: //input[@placeholder='DefaultAdmin']]
   --- 03 Dec 16:07:03 608 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (5182274e1116f9f34106d3fa9968976c)] -> xpath: //*[@id='immOptionInstEnabled-button']]

Click on Institution Save Button not found in page!! [ScreenShot]
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@3b6ddd1d) 0 ms
init(org.testng.TestRunner@3b6ddd1d) 10102 ms
VerifyNonAdminUserTryingToAddDeleteUpdateTenant({Description=Login as a Normal User and Verify user should be able to add, delete and update any cha...) 20599 ms