com.kinective.mts.testscripts.adminPortal.adminPortal
VerifyLoginAndLogoutProcess
({Description=Login as FI Admin and Verify the Profile details then logout, UserName=Fiadmin@ctusbank.onmicrosoft.com, Tenant Name=, Application ID=, Tenant FQDN=, Connector Name=, TestID=VerifyLoginAndLogoutProcess, Tenant ID=, DefaultAdmin=, Group Name=, Select Group Role=, Group ID=, Password=iMM2023!})
java.lang.AssertionError: Test Does not match expected [DefaultAdmin] but found []
at org.testng.Assert.fail(Assert.java:99)
at org.testng.Assert.failNotEquals(Assert.java:1037)
at org.testng.Assert.assertEqualsImpl(Assert.java:140)
at org.testng.Assert.assertEquals(Assert.java:122)
at org.testng.Assert.assertEquals(Assert.java:629)
at com.kinective.mts.pages.EcsAdmin.verifyUsername(EcsAdmin.java:323)
at com.kinective.mts.testscripts.adminPortal.adminPortal.VerifyLoginAndLogoutProcess(adminPortal.java:155)
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 and Logout)
VerifyLoginAndLogoutProcess
({Description=Login as Non Admin and Verify the Profile details then logout, UserName=JohnDoe@ctusbank.onmicrosoft.com, Tenant Name=, Application ID=, Tenant FQDN=, Connector Name=, TestID=VerifyLoginAndLogoutProcess, Tenant ID=, DefaultAdmin=, Group Name=, Select Group Role=, Group ID=, Password=iMM2023!})
java.lang.AssertionError: Test Does not match expected [DefaultAdmin] but found []
at org.testng.Assert.fail(Assert.java:99)
at org.testng.Assert.failNotEquals(Assert.java:1037)
at org.testng.Assert.assertEqualsImpl(Assert.java:140)
at org.testng.Assert.assertEquals(Assert.java:122)
at org.testng.Assert.assertEquals(Assert.java:629)
at com.kinective.mts.pages.EcsAdmin.verifyUsername(EcsAdmin.java:323)
at com.kinective.mts.testscripts.adminPortal.adminPortal.VerifyLoginAndLogoutProcess(adminPortal.java:155)
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 and Logout)
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="VerifyLoginAndLogoutProcess"/>
</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
Admin Portal
VerifyLoginAndLogoutProcess
P1
VerifyLoginAndLogoutProcess
Times for IMM_QA_Automation
Total running time: 3 minutes
Reporter output for IMM_QA_Automation
VerifyLoginAndLogoutProcess({Description=Login as FI Admin and Verify the Profile details then logout, UserName=Fiadmin@ctusbank...)
--- 03 Dec 13:08:29 126 - TestCaseID:: VerifyLoginAndLogoutProcess
--- 03 Dec 13:08:36 022 - 7 - Driver::initialize::Get - com.kinective.mts.support.WebDriverFactory.get(WebDriverFactory.java:566)
Verify UI Elements for General settings page
Steps:
--- 03 Dec 13:08:46 149 - 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=5a078f28-b2ac-4fea-9e5c-92147a25411e&response_mode=fragment&response_type=code&x-client-sku=msal.js.browser&x-client-ver=2.32.1&client_info=1&code_challenge=efjopzrmal_nexxoz4c5exr408diuaavkv2-m3gkc8m&code_challenge_method=s256&nonce=9f9a66fc-6efd-4ea5-9009-31e11dca1ace&state=eyjpzci6imq5mzlhngm3ltzhn2qtndnlms04nza4lwjinwjjzde2zdk5myisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&sso_reload=true
--- 03 Dec 13:08:46 150 - 5 - Page Load Wait: (Sync) - com.kinective.mts.support.Utils.waitForPageLoad(Utils.java:184)
--- 03 Dec 13:08:46 515 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (fa6d18b4e529d214548a500cc3d82933)] -> id: idSIButton9]
--- 03 Dec 13:08:46 838 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (fa6d18b4e529d214548a500cc3d82933)] -> id: i0116]
--- 03 Dec 13:08:52 111 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (fa6d18b4e529d214548a500cc3d82933)] -> id: i0116]
--- 03 Dec 13:08:52 517 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (fa6d18b4e529d214548a500cc3d82933)] -> id: idSIButton9]
--- 03 Dec 13:08:54 131 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (fa6d18b4e529d214548a500cc3d82933)] -> id: i0118]
--- 03 Dec 13:08:58 343 - Page URL:: https://login.microsoftonline.com/common/login
--- 03 Dec 13:08:58 343 - 3 - Page Load Wait: (Sync) - com.kinective.mts.support.Utils.waitForPageLoad(Utils.java:184)
--- 03 Dec 13:08:58 677 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (fa6d18b4e529d214548a500cc3d82933)] -> id: lightbox]
--- 03 Dec 13:08:58 743 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (fa6d18b4e529d214548a500cc3d82933)] -> id: idSIButton9]
--- 03 Dec 13:09:35 172 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (fa6d18b4e529d214548a500cc3d82933)] -> xpath: //c-sidebar-nav-link-content[contains(text(),'Institutions')]]
--- 03 Dec 13:09:38 621 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (fa6d18b4e529d214548a500cc3d82933)] -> xpath: //c-sidebar-nav-link-content[contains(text(),'Group Roles')]]
--- 03 Dec 13:09:42 049 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (fa6d18b4e529d214548a500cc3d82933)] -> xpath: //c-sidebar-nav-link-content[contains(text(),'Connectors')]]
--- 03 Dec 13:09:45 469 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (fa6d18b4e529d214548a500cc3d82933)] -> xpath: //c-sidebar-nav-link-content[normalize-space()='Reports']]
--- 03 Dec 13:09:48 920 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (fa6d18b4e529d214548a500cc3d82933)] -> xpath: //*[@id='immDefaultHeaderDropdown']]
--- 03 Dec 13:09:52 353 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (fa6d18b4e529d214548a500cc3d82933)] -> xpath: //*[@id='immDefaultHeaderProfile']]
VerifyLoginAndLogoutProcess({Description=Login as Non Admin and Verify the Profile details then logout, UserName=JohnDoe@ctusban...)
--- 03 Dec 13:10:10 306 - TestCaseID:: VerifyLoginAndLogoutProcess
--- 03 Dec 13:10:13 883 - 3 - Driver::initialize::Get - com.kinective.mts.support.WebDriverFactory.get(WebDriverFactory.java:566)
Verify UI Elements for General settings page
Steps:
--- 03 Dec 13:10:24 815 - 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=421fdab3-902f-430a-9cb1-55bd58398aa7&response_mode=fragment&response_type=code&x-client-sku=msal.js.browser&x-client-ver=2.32.1&client_info=1&code_challenge=_fmdratfjfjjoexccmr4u1j-7bjcnfb5g6hn_osakxq&code_challenge_method=s256&nonce=b7afba8c-6b36-4b7a-be4d-f4b2889afe17&state=eyjpzci6ijniogjln2m1lthlmdgtngfizc1hzje0ltawmgy5nmi2ndi2miisim1ldgeionsiaw50zxjhy3rpb25uexblijoicmvkaxjly3qifx0%3d&sso_reload=true
--- 03 Dec 13:10:24 818 - 6 - Page Load Wait: (Sync) - com.kinective.mts.support.Utils.waitForPageLoad(Utils.java:184)
--- 03 Dec 13:10:26 298 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (4c8c90630cebb16187081768bdb2f7d1)] -> id: idSIButton9]
--- 03 Dec 13:10:26 599 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (4c8c90630cebb16187081768bdb2f7d1)] -> id: i0116]
--- 03 Dec 13:10:31 832 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (4c8c90630cebb16187081768bdb2f7d1)] -> id: i0116]
--- 03 Dec 13:10:32 152 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (4c8c90630cebb16187081768bdb2f7d1)] -> id: idSIButton9]
--- 03 Dec 13:10:33 747 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (4c8c90630cebb16187081768bdb2f7d1)] -> id: i0118]
--- 03 Dec 13:10:38 263 - Page URL:: https://login.microsoftonline.com/common/login
--- 03 Dec 13:10:38 263 - 4 - Page Load Wait: (Sync) - com.kinective.mts.support.Utils.waitForPageLoad(Utils.java:184)
--- 03 Dec 13:10:38 544 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (4c8c90630cebb16187081768bdb2f7d1)] -> id: lightbox]
--- 03 Dec 13:10:38 597 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (4c8c90630cebb16187081768bdb2f7d1)] -> id: idSIButton9]
--- 03 Dec 13:11:12 272 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (4c8c90630cebb16187081768bdb2f7d1)] -> xpath: //c-sidebar-nav-link-content[contains(text(),'Institutions')]]
--- 03 Dec 13:11:15 708 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (4c8c90630cebb16187081768bdb2f7d1)] -> xpath: //c-sidebar-nav-link-content[contains(text(),'Group Roles')]]
--- 03 Dec 13:11:19 121 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (4c8c90630cebb16187081768bdb2f7d1)] -> xpath: //c-sidebar-nav-link-content[contains(text(),'Connectors')]]
--- 03 Dec 13:11:22 553 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (4c8c90630cebb16187081768bdb2f7d1)] -> xpath: //c-sidebar-nav-link-content[normalize-space()='Reports']]
--- 03 Dec 13:11:25 945 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (4c8c90630cebb16187081768bdb2f7d1)] -> xpath: //*[@id='immDefaultHeaderDropdown']]
--- 03 Dec 13:11:29 356 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (4c8c90630cebb16187081768bdb2f7d1)] -> xpath: //*[@id='immDefaultHeaderProfile']]
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
VerifyNonAdminUserTryingToAddDeleteUpdateTenant
VerifyUpdateTenantDetails
field_Validations
loginAsJH_Admin_User
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
VerifyNonAdminUserTryingToAddDeleteUpdateTenant
VerifyUpdateTenantDetails
field_Validations
loginAsJH_Admin_User
Methods in chronological order
com.kinective.mts.testscripts.adminPortal.adminPortal
initialize(org.testng.TestRunner@3b6ddd1d)
0 ms
init(org.testng.TestRunner@3b6ddd1d)
10080 ms
VerifyLoginAndLogoutProcess({Description=Login as FI Admin and Verify the Profile details then logout, UserName=Fiadmin@ctusbank...)
17227 ms
VerifyLoginAndLogoutProcess({Description=Login as Non Admin and Verify the Profile details then logout, UserName=JohnDoe@ctusban...)
115098 ms