ERROR: Child Process Error: Javac exited with code: 1

350 views
Skip to first unread message

vidyasag...@gmail.com

unread,
Mar 23, 2018, 11:59:02 AM3/23/18
to codename-taurus
Hi,
I'm facing the below error while running the test script having Java - selenium with TestNG. The test script contains the


F:\K\ATF\ATF>bzt taurustest.yml.txt
21:14:42 INFO: Taurus CLI Tool v1.10.5
21:14:42 INFO: Starting with configs: ['taurustest.yml.txt']
21:14:42 INFO: Configuring...
21:14:42 INFO: Artifacts dir: F:\Kinnser\ATF\ATF\2018-03-23_21-14-42.907848
21:14:42 WARNING: at path 'execution': 'execution' should be a list
21:14:42 INFO: Preparing...
21:14:42 WARNING: Selenium supports concurrency in cloud provisioning mode only
For details look at http://gettaurus.org/docs/Cloud.md
21:14:43 INFO: Installing Python Tcl library environment variable...
21:14:44 ERROR: Child Process Error: Javac exited with code: 1
 F:\K\ATF\ATF\src\test\java\KHScripts\Security\KH_Security_KH1515.java:10: error: package DataSource does not exist
import DataSource.Datatable;
                 ^
F:\K\ATF\ATF\src\test\java\KHScripts\Security\KH_Security_KH1515.java:11: error: package DataSource does not exist
import DataSource.GlobalData;
                 ^
F:\K\ATF\ATF\src\test\java\KHScripts\Security\KH_Security_KH1515.java:12: error: package components does not exist
import components.ApplicationHeader;
                 ^
F:\K\ATF\ATF\src\test\java\KHScripts\Security\KH_Security_KH1515.java:13: error: package components does not exist
import components.Browser;
                 ^
F:\K\ATF\ATF\src\test\java\KHScripts\Security\KH_Security_KH1515.java:14: error: package components does not exist
import components.Config;
                 ^

5 errors
21:14:44 INFO: Post-processing...
21:14:44 INFO: Artifacts dir: F:\K\ATF\ATF\2018-03-23_21-14-42.907848
21:14:44 WARNING: Done performing with code: 1
Message has been deleted

Andrey Pokhilko

unread,
Mar 23, 2018, 1:16:56 PM3/23/18
to codenam...@googlegroups.com

Hi,

It is Java compilation error. You test source code requires DataSource package, which were not provided. Do you know where is that DataSource package? Maybe some custom JAR file or another source code?

--

Andrey Pokhilko
Open Source Initiatives Leader
CA
          BlazeMeter

23.03.2018 18:59, vidyasag...@gmail.com пишет:
CAUTION: This email originated from outside of CA. Do not click links or open attachments unless you recognize the sender and know the content is safe.

--
You received this message because you are subscribed to the Google Groups "codename-taurus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codename-taur...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/codename-taurus/28eeaf83-e282-417e-ab2b-02cada84045a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

vidyasag...@gmail.com

unread,
Mar 23, 2018, 1:22:41 PM3/23/18
to codename-taurus
In this test script I’m using data source for input data i.e the data is fetched from Json and excel files . So how to handle this type of test scripts , please let me know

Andrey Pokhilko

unread,
Mar 23, 2018, 1:33:45 PM3/23/18
to codenam...@googlegroups.com

I'm sorry, I did not understand...

--

Andrey Pokhilko
Open Source Initiatives Leader
CA
          BlazeMeter

23.03.2018 20:22, vidyasag...@gmail.com пишет:
CAUTION: This email originated from outside of CA. Do not click links or open attachments unless you recognize the sender and know the content is safe.


In this test script I’m using data source for input data i.e the data is fetched from Json and excel files . So how to handle this type of test scripts , please let me know

--
You received this message because you are subscribed to the Google Groups "codename-taurus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codename-taur...@googlegroups.com.
To view this discussion on the web visit https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_msgid_codename-2Dtaurus_19afa8bc-2Db36e-2D43c5-2Da61e-2Da8a04e04c151-2540googlegroups.com&d=DwIFaQ&c=_hRq4mqlUmqpqlyQ5hkoDXIVh6I6pxfkkNxQuL0p-Z0&r=TYaXQ-5u93AENE9irpiEsQDvdSpc1NV3Mu3uPc4zqskaIMBFIWPTByAIcCm5xjEb&m=dOAqJ32OcIBc791ZdSyBnna3w8qlUlLgXtbbYfLHAW4&s=o0UkNdd9QYZA_ZH_84Ia4K0D6uFTUKjn-RiDGILTsnk&e=.
For more options, visit https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_optout&d=DwIFaQ&c=_hRq4mqlUmqpqlyQ5hkoDXIVh6I6pxfkkNxQuL0p-Z0&r=TYaXQ-5u93AENE9irpiEsQDvdSpc1NV3Mu3uPc4zqskaIMBFIWPTByAIcCm5xjEb&m=dOAqJ32OcIBc791ZdSyBnna3w8qlUlLgXtbbYfLHAW4&s=BPG1DSx8SMkUKeuKZh2UN5zwnoI_pGvLTZlZEDAVD98&e=.

vidyasag...@gmail.com

unread,
Mar 23, 2018, 1:35:45 PM3/23/18
to codename-taurus
So this test script contains login page , the login credentials are entered from json or excel file which is using external jar

Andrey Pokhilko

unread,
Mar 23, 2018, 1:37:42 PM3/23/18
to codenam...@googlegroups.com

You then need to specify your additional JARs as "additional-classpath" items, see here: http://gettaurus.org/docs/JUnit/#Configuration-Options

--

Andrey Pokhilko
Open Source Initiatives Leader
CA
          BlazeMeter

23.03.2018 20:35, vidyasag...@gmail.com пишет:
CAUTION: This email originated from outside of CA. Do not click links or open attachments unless you recognize the sender and know the content is safe.


So this test script contains login page , the login credentials are entered from json or excel file which is using external jar

--
You received this message because you are subscribed to the Google Groups "codename-taurus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codename-taur...@googlegroups.com.
To view this discussion on the web visit https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_msgid_codename-2Dtaurus_087a9325-2Dc608-2D47ba-2Db8d5-2Debeb6de31510-2540googlegroups.com&d=DwIBaQ&c=_hRq4mqlUmqpqlyQ5hkoDXIVh6I6pxfkkNxQuL0p-Z0&r=TYaXQ-5u93AENE9irpiEsQDvdSpc1NV3Mu3uPc4zqskaIMBFIWPTByAIcCm5xjEb&m=hNT7JgJ-1GSoCzp_SWA1qz7SIs0b5nme2Z4w0-kJPCQ&s=0esuUPzzV401tcylf-ntizf1SIVxEZOadDUoqhAYbNY&e=.
For more options, visit https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_optout&d=DwIBaQ&c=_hRq4mqlUmqpqlyQ5hkoDXIVh6I6pxfkkNxQuL0p-Z0&r=TYaXQ-5u93AENE9irpiEsQDvdSpc1NV3Mu3uPc4zqskaIMBFIWPTByAIcCm5xjEb&m=hNT7JgJ-1GSoCzp_SWA1qz7SIs0b5nme2Z4w0-kJPCQ&s=Fw0WSOw3qN4P0hI2GzdLbvgqfSEDmC6CYjsDggtZyUE&e=.

vidyasag...@gmail.com

unread,
Mar 23, 2018, 1:40:52 PM3/23/18
to codename-taurus
Sorry to say that I tried all the things but nothing worked .

I’m using Java selenium with TestNG .

So if you could help me in resolving this issue it will be of great help

Gayathri Budati

unread,
Sep 23, 2020, 1:38:14 PM9/23/20
to codename-taurus
I am facing similar issue when compiling the selenium automation test case with cucumber util. Has your issue been resolved ?

Alla

unread,
Sep 30, 2020, 7:03:15 AM9/30/20
to codename-taurus
Hello Gayathri,

Could you please give more details about your problem? And please create a new topic for it.
Also, we do not support Cucumber. How exactly do you use it?
And please check whether your JAR file, probably there is a problem with it.

BR,
Alla
Reply all
Reply to author
Forward
0 new messages