Note that there are some explanatory texts on larger screens.

plurals
  1. POselenium rc with cruise control - testng error message - could not instantiate 'test'
    primarykey
    data
    text
    <p>I'm currently trying to set up cruisecontrol to run my selenium test suite. Everything works fine until I run the build, I got the following message:</p> <p>calling target(s) [execute-test] in build file C:\Project\src\build.xml <br>Entering C:\Project\src\build.xml... <br>Exiting C:\Project\src\build.xml. <br>task location="C:\Project\src\build.xml:30: " name="antcall" time="0 seconds" <br>target name="execute-test" time="0 seconds" <br>task location="C:\Project\src\build.xml:37: " name="testng" time="0 seconds" <br>Executing 'C:\Program Files (x86)\Java\jdk1.6.0_06\jre\bin\java.exe' with arguments: '-ea' '-classpath' 'C:\testng;C:\testng\testng-5.9-jdk15.jar;C:\testng\commons-lang-2.0.jar;C:\testng\testng-5.9-jdk14.jar' 'org.testng.TestNG' '@C:\DOCUME~1\SERVER~1\LOCALS~1\Temp\1\testng10509' <p> The ' characters around the executable and arguments are not part of the command. <br>[Parser] Running: <br>C:\Project\src\TestSuite.xml <br>[TestRunner] Running the tests in 'testInpagePlacement' with parallel mode:false <br>[RunInfo] Adding method selector: org.testng.internal.XmlMethodSelector@9664a1 priority: 10 <br>[ClassHelper] Could not instantiate testcase1: testcase1 <br>[ClassHelper] Could not instantiate testcase1: testcase1 <br>=============================================== <br>[Smoke test] <br>[Total tests run: 0, Failures: 0, Skips: 0] <br>=============================================== <br>[org.testng.TestNGException:] <br>[Cannot find class in classpath: testcase1] <br>at org.testng.xml.XmlClass.getSupportClass(XmlClass.java:55) <br>at org.testng.internal.Utils.xmlClassesToClasses(Utils.java:79) <br>at org.testng.TestRunner.initMethods(TestRunner.java:289) <br>at org.testng.TestRunner.init(TestRunner.java:235) <br>at org.testng.TestRunner.init(TestRunner.java:197) <br>at org.testng.TestRunner.(TestRunner.java:141) <br>at org.testng.SuiteRunner$DefaultTestRunnerFactory.newTestRunner(SuiteRunner.java:488) <br>at org.testng.SuiteRunner.privateRun(SuiteRunner.java:250) <br>at org.testng.SuiteRunner.run(SuiteRunner.java:204) <br>at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:877) <br>at org.testng.TestNG.runSuitesLocally(TestNG.java:842) <br>at org.testng.TestNG.run(TestNG.java:751) <br>at org.testng.TestNG.privateMain(TestNG.java:914) <br>at org.testng.TestNG.main(TestNG.java:887) <br>The tests failed.</p> <p>This was run on a network server, I'd tested the testsuite.xml locally through intellij and everything works fine. I feel like this is a config issue with the network server, please let me know if my assumption is wrong and point me to the right direction to fix this issue.</p> <p>Thanks.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload