com.kinective.omniconnect.groundControl.testscripts.loginTest.loginTest
loginSearchAndOpenAsset
({ASSET SELECTOR PAGEMAP=searchAsset:test_general_ledger_accounting,QAAutomation02,ProductDemo04,QAAutomation01,prod_mortgage;
selectAssetId:QAAutomation03,QAAutomation02,ProductDemo04,QAAutomation01,5068;
clickAssetId:N,N,N,N,Y;
assetRow:;, TestID=loginSearchAndOpenAsset, LOGIN PAGEMAP=userName:monil.shah@kinective.io;
password:ab7UPKi34CnZIrG25Dl05g==;
key:HelloMonil!ThisIsOMNI;, Description=Login and validate the Home Page, Search and Select the Assets})
(#TC1 Login and validate the Home Page, Search and Select the Assets)
loginWithInvalidCredentials
({ASSET SELECTOR PAGEMAP=, TestID=loginWithInvalidCredentials, LOGIN PAGEMAP=userName:monil.shah@kinective.io;
password:ab7UPKi34CnZIrG23Dl05g==;
key:HelloMonil!ThisIsOMNI;, Description=Login with wrong credentials and validate the error message})
(#TC2 Login with wrong credentials and validate the error message)
C:\Users\Monil Shah\Documents\Gitlab\QAAutomation\testxml\GC_Chrome_Omni_connect_ground_control_test.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "https://testng.org/testng-1.0.dtd">
<suite thread-count="500" name="Ground Control QA Automation" guice-stage="DEVELOPMENT" verbose="3">
<parameter name="webSite" value="https://ground-control-test.nxtsoft.com"/>
<parameter name="projectKey" value="DPF"/>
<parameter name="deviceHost" value="localhost"/>
<parameter name="sessionUrl" value="https://ground-control-test.nxtsoft.com"/>
<parameter name="devicePort" value="4444"/>
<parameter name="browserName" value="chrome_windows"/>
<test thread-count="1" parallel="methods" name="Ground_Control_QA_Chrome" verbose="3">
<classes>
<class name="com.kinective.omniconnect.groundControl.testscripts.loginTest.loginTest"/>
</classes>
</test> <!-- Ground_Control_QA_Chrome -->
</suite> <!-- Ground Control QA Automation -->
Tests for Ground Control QA Automation
- Ground_Control_QA_Chrome (1 class)
Groups for Ground Control QA Automation
Smoke
loginSearchAndOpenAsset
loginWithInvalidCredentials
Ui
loginSearchAndOpenAsset
loginWithInvalidCredentials
login
loginSearchAndOpenAsset
loginWithInvalidCredentials
Times for Ground Control QA Automation
Total running time: 3 minutes
Reporter output for Ground Control QA Automation
loginSearchAndOpenAsset({ASSET SELECTOR PAGEMAP=searchAsset:test_general_ledger_accounting,QAAutomation02,ProductDemo04,QAAu...)
Test Passed.
--- 05 Dec 15:32:08 172 - TestCaseID:: loginSearchAndOpenAsset
--- 05 Dec 15:32:14 585 - 6 - Driver::initialize::Get - com.kinective.omniconnect.support.WebDriverFactory.get(WebDriverFactory.java:566)
Login and validate the Home Page, Search and Select the Assets
Steps:
--- 05 Dec 15:32:31 553 - Page URL:: https://ground-control-test.nxtsoft.com/login
--- 05 Dec 15:32:31 553 - 3 - Page Load Wait: (Sync) - com.kinective.omniconnect.support.Utils.waitForPageLoad(Utils.java:115)
--- 05 Dec 15:32:32 853 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (f0bb3b64292a89aeb1d9d6a9e2ddd955)] -> xpath: //input[@id='mat-input-0']]
--- 05 Dec 15:32:37 049 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (f0bb3b64292a89aeb1d9d6a9e2ddd955)] -> xpath: //input[@id='mat-input-1']]
--- 05 Dec 15:32:41 287 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (f0bb3b64292a89aeb1d9d6a9e2ddd955)] -> xpath: //button[@type='submit']]
--- 05 Dec 15:32:42 725 - waiting for Loading-Spinner to be disappeared.
--- 05 Dec 15:32:55 086 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (f0bb3b64292a89aeb1d9d6a9e2ddd955)] -> xpath: //*[text()='Select an Asset']//following::div[@class='search-bar']]
--- 05 Dec 15:33:01 103 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (f0bb3b64292a89aeb1d9d6a9e2ddd955)] -> xpath: //*[text()='Select an Asset']//following::div[@class='search-bar']//child::input]
--- 05 Dec 15:33:03 389 - waiting for Loading-Spinner to be disappeared.
--- 05 Dec 15:33:09 511 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (f0bb3b64292a89aeb1d9d6a9e2ddd955)] -> xpath: //*[text()='Select an Asset']//following::div[@class='search-bar']//child::input]
--- 05 Dec 15:33:12 045 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (f0bb3b64292a89aeb1d9d6a9e2ddd955)] -> xpath: (//td[contains(translate(text(),'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz'),'qaautomation03')])[1]]
--- 05 Dec 15:33:17 791 - Moved to element..
--- 05 Dec 15:33:20 355 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (f0bb3b64292a89aeb1d9d6a9e2ddd955)] -> xpath: //*[text()='Select an Asset']//following::div[@class='search-bar']//child::input]
--- 05 Dec 15:33:22 161 - waiting for Loading-Spinner to be disappeared.
--- 05 Dec 15:33:28 170 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (f0bb3b64292a89aeb1d9d6a9e2ddd955)] -> xpath: //*[text()='Select an Asset']//following::div[@class='search-bar']//child::input]
--- 05 Dec 15:33:31 194 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (f0bb3b64292a89aeb1d9d6a9e2ddd955)] -> xpath: (//td[contains(translate(text(),'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz'),'qaautomation02')])[1]]
--- 05 Dec 15:33:41 556 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (f0bb3b64292a89aeb1d9d6a9e2ddd955)] -> xpath: //*[text()='Select an Asset']//following::div[@class='search-bar']//child::input]
--- 05 Dec 15:33:42 376 - waiting for Loading-Spinner to be disappeared.
--- 05 Dec 15:33:48 467 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (f0bb3b64292a89aeb1d9d6a9e2ddd955)] -> xpath: //*[text()='Select an Asset']//following::div[@class='search-bar']//child::input]
--- 05 Dec 15:33:51 282 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (f0bb3b64292a89aeb1d9d6a9e2ddd955)] -> xpath: (//td[contains(translate(text(),'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz'),'productdemo04')])[1]]
--- 05 Dec 15:34:01 074 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (f0bb3b64292a89aeb1d9d6a9e2ddd955)] -> xpath: //*[text()='Select an Asset']//following::div[@class='search-bar']//child::input]
--- 05 Dec 15:34:02 099 - waiting for Loading-Spinner to be disappeared.
--- 05 Dec 15:34:08 082 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (f0bb3b64292a89aeb1d9d6a9e2ddd955)] -> xpath: //*[text()='Select an Asset']//following::div[@class='search-bar']//child::input]
--- 05 Dec 15:34:10 934 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (f0bb3b64292a89aeb1d9d6a9e2ddd955)] -> xpath: (//td[contains(translate(text(),'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz'),'qaautomation01')])[1]]
--- 05 Dec 15:34:21 004 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (f0bb3b64292a89aeb1d9d6a9e2ddd955)] -> xpath: //*[text()='Select an Asset']//following::div[@class='search-bar']//child::input]
--- 05 Dec 15:34:21 959 - waiting for Loading-Spinner to be disappeared.
--- 05 Dec 15:34:27 165 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (f0bb3b64292a89aeb1d9d6a9e2ddd955)] -> xpath: //*[text()='Select an Asset']//following::div[@class='search-bar']//child::input]
--- 05 Dec 15:34:29 305 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (f0bb3b64292a89aeb1d9d6a9e2ddd955)] -> xpath: (//td[contains(translate(text(),'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopqrstuvwxyz'),'5068')])[1]]
--- 05 Dec 15:34:35 305 - Moved to element..
--- 05 Dec 15:34:36 490 - waiting for Loading-Spinner to be disappeared.
Test Passed.
loginWithInvalidCredentials({ASSET SELECTOR PAGEMAP=, TestID=loginWithInvalidCredentials, LOGIN PAGEMAP=userName:monil.shah@kine...)
Test Passed.
--- 05 Dec 15:34:49 510 - TestCaseID:: loginWithInvalidCredentials
--- 05 Dec 15:34:52 087 - 2 - Driver::initialize::Get - com.kinective.omniconnect.support.WebDriverFactory.get(WebDriverFactory.java:566)
Login with wrong credentials and validate the error message
Steps:
--- 05 Dec 15:35:07 897 - Page URL:: https://ground-control-test.nxtsoft.com/login
--- 05 Dec 15:35:07 897 - 3 - Page Load Wait: (Sync) - com.kinective.omniconnect.support.Utils.waitForPageLoad(Utils.java:115)
--- 05 Dec 15:35:08 850 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (a257ef280193f5a012f6bd0aa5decba1)] -> xpath: //input[@id='mat-input-0']]
--- 05 Dec 15:35:11 774 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (a257ef280193f5a012f6bd0aa5decba1)] -> xpath: //input[@id='mat-input-1']]
--- 05 Dec 15:35:15 360 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (a257ef280193f5a012f6bd0aa5decba1)] -> xpath: //button[@type='submit']]
--- 05 Dec 15:35:16 842 - waiting for Loading-Spinner to be disappeared.
--- 05 Dec 15:35:34 641 - Element is displayed:: [[RemoteWebDriver: chrome on Windows 11 (a257ef280193f5a012f6bd0aa5decba1)] -> css selector: div.ng-star-inserted.mat-form-field-underline.ng-tns-c52-5]
Test Passed.
0 ignored methods
Methods in chronological order
com.kinective.omniconnect.groundControl.testscripts.loginTest.loginTest
initialize(org.testng.TestRunner@2e385cce)
0 ms
init(org.testng.TestRunner@2e385cce)
20229 ms
loginSearchAndOpenAsset({ASSET SELECTOR PAGEMAP=searchAsset:test_general_ledger_accounting,QAAutomation02,ProductDemo04,QAAu...)
27266 ms
loginWithInvalidCredentials({ASSET SELECTOR PAGEMAP=, TestID=loginWithInvalidCredentials, LOGIN PAGEMAP=userName:monil.shah@kine...)
184776 ms