com.kinective.omniconnect.groundControl.testscripts.testCalyx.testCalyx
calyxTestAutomation
({TestID=calyxTestAutomation, LOGIN PAGEMAP=userName:monil.shah@kinective.io;
password:JcCFRFZ6NEh6pXmFsaxYkg==;
key:Login;, Description=Login and validate the Home Page, Search and Select the Assets, AUTHENTICATION PAGEMAP=clientId:1g4e2uooct33p11bp1ldtrkqb8;
clientSecret:1p6j4fndgnrvtt52a12qh3c6uhopu00ahvebu6dvs112npi0dbe1;})
java.lang.Exception: Failed to verify XML Data
at com.kinective.omniconnect.groundControl.pages.GCCaalyxAutomation.verifyXMLData(GCCaalyxAutomation.java:221)
at com.kinective.omniconnect.groundControl.testscripts.testCalyx.testCalyx.calyxTestAutomation(testCalyx.java:98)
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:1583)
Caused by: java.lang.RuntimeException: Failed to parse XML file: C:\Users\Monil Shah\Documents\Gitlab\QAAutomation\downloaded-files\qa_file_name.xml
at com.kinective.omniconnect.support.XMLUtility.readXMLFileAsDocument(XMLUtility.java:73)
at com.kinective.omniconnect.support.XMLUtility.getDataVersionByName(XMLUtility.java:187)
at com.kinective.omniconnect.groundControl.pages.GCCaalyxAutomation.verifyXMLData(GCCaalyxAutomation.java:216)
... 14 more
Caused by: java.io.FileNotFoundException: C:\Users\Monil Shah\Documents\Gitlab\QAAutomation\downloaded-files\qa_file_name.xml (The system cannot find the file specified)
at java.base/java.io.FileInputStream.open0(Native Method)
at java.base/java.io.FileInputStream.open(FileInputStream.java:213)
at java.base/java.io.FileInputStream.<init>(FileInputStream.java:152)
at java.base/java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.base/sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:84)
at java.base/sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:180)
at java.xml/com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:654)
at java.xml/com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:150)
at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:861)
at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:825)
at java.xml/com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
at java.xml/com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:247)
at java.xml/com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:342)
at java.xml/javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:206)
at com.kinective.omniconnect.support.XMLUtility.readXMLFileAsDocument(XMLUtility.java:71)
... 16 more
(#TC1 calyx test automation)
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.testCalyx.testCalyx"/>
</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
calyxTestAutomation
calyx
calyxTestAutomation
Times for Ground Control QA Automation
Total running time: 34 seconds
Reporter output for Ground Control QA Automation
calyxTestAutomation({TestID=calyxTestAutomation, LOGIN PAGEMAP=userName:monil.shah@kinective.io;
password:JcCFRFZ6NEh6pX...)
Failed to verify XML Data
Calyx Test Automation
Steps:
--- 27 Oct 13:50:12 449 - TestCaseID:: calyxTestAutomation
--- 27 Oct 13:50:16 648 - 4 - Driver::initialize::Get - com.kinective.omniconnect.support.WebDriverFactory.get(WebDriverFactory.java:566)
--- 27 Oct 13:50:22 944 - Page URL:: https://auth.nxtsoft.com/login?response_type=code&client_id=1g4e2uooct33p11bp1ldtrkqb8&redirect_uri=https://auth.nxtsoft.com/callback
--- 27 Oct 13:50:22 945 - 3 - Page Load Wait: (Sync) - com.kinective.omniconnect.support.Utils.waitForPageLoad(Utils.java:115)
Failed to verify XML Data
0 ignored methods
Methods in chronological order
com.kinective.omniconnect.groundControl.testscripts.testCalyx.testCalyx
initialize(org.testng.TestRunner@44784e2f)
0 ms
init(org.testng.TestRunner@44784e2f)
31162 ms
calyxTestAutomation({TestID=calyxTestAutomation, LOGIN PAGEMAP=userName:monil.shah@kinective.io;
password:JcCFRFZ6NEh6pX...)
35605 ms