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: Institution 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.clickInstitution(EcsAdmin.java:339)
at com.kinective.mts.testscripts.adminPortal.adminPortal.VerifyNonAdminUserTryingToAddDeleteUpdateTenant(adminPortal.java:753)
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: 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...)
Institution not found in page!! [ScreenShot]
--- 03 Dec 15:55:24 474 - TestCaseID:: VerifyNonAdminUserTryingToAddDeleteUpdateTenant
--- 03 Dec 15:55:33 621 - 9 - Driver::initialize::Get - com.kinective.mts.support.WebDriverFactory.get(WebDriverFactory.java:566)
Verify UI Elements for General settings page
Steps:
--- 03 Dec 15:55:45 170 - 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=650e1646-6177-415f-8d2c-a0b42a65cf49&response_mode=fragment&response_type=code&x-client-sku=msal.js.browser&x-client-ver=2.32.1&client_info=1&code_challenge=-qifm_votg0vvlvieiinhpj9lwsb6zq2mhlg_fkxhx4&code_challenge_method=s256&nonce=b453c4b2-8cac-4cae-a2bc-d837e1881f76&state=eyjpzci6ije2zdrizdm0ltc3mwqtndgzmc1iywrlltc5ztewogzhm2u2nsisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&sso_reload=true
--- 03 Dec 15:55:45 174 - 6 - Page Load Wait: (Sync) - com.kinective.mts.support.Utils.waitForPageLoad(Utils.java:184)
--- 03 Dec 15:55:45 645 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (4f8f9cee86b3ea0b799cf0d11d007230)] -> id: idSIButton9]
--- 03 Dec 15:55:46 030 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (4f8f9cee86b3ea0b799cf0d11d007230)] -> id: i0116]
--- 03 Dec 15:55:51 271 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (4f8f9cee86b3ea0b799cf0d11d007230)] -> id: i0116]
--- 03 Dec 15:55:51 708 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (4f8f9cee86b3ea0b799cf0d11d007230)] -> id: idSIButton9]
--- 03 Dec 15:55:53 274 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (4f8f9cee86b3ea0b799cf0d11d007230)] -> id: i0118]
--- 03 Dec 15:55:57 602 - Page URL:: https://login.microsoftonline.com/common/login
--- 03 Dec 15:55:57 603 - 3 - Page Load Wait: (Sync) - com.kinective.mts.support.Utils.waitForPageLoad(Utils.java:184)
--- 03 Dec 15:55:57 924 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (4f8f9cee86b3ea0b799cf0d11d007230)] -> id: lightbox]
--- 03 Dec 15:55:58 034 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (4f8f9cee86b3ea0b799cf0d11d007230)] -> id: idSIButton9]
--- 03 Dec 15:56:59 095 - Unable to find a element after 29 sec ==> Proxy element for: AjaxElementLocator 'By.xpath: //c-sidebar-nav-link-content[contains(text(),'Institutions')]'
Institution 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
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)
10114 ms
VerifyNonAdminUserTryingToAddDeleteUpdateTenant({Description=Login as a Normal User and Verify user should be able to add, delete and update any cha...)
19727 ms