Selenium rc with cruise control - testng error message - cannot instantiate 'test'
I am currently trying to set up cruisecontrol to run my selenium test suite. Everything works fine, until I ran the build I got the following message:
call target [execute-test] in build file C: \ Project \ src \ build.xml
Enter C: \ Project \ src \ build.xml ...
Exit C: \ Project \ src \ build.xml.
task location = "C: \ Project \ src \ build.xml: 30:" name = "antcall" time = "0 seconds"
target name = "execute-test" time = "0 seconds"
task location = "C: \ Project \ src \ build.xml: 37: "name =" testng "time =" 0 seconds "
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 '
"Characters around the executable and arguments and not part of the command.
[Parser] Run:
C: \ Project \ SRC \ TestSuite.xml
[ TestRunner
] Run tests in 'testInpagePlacement' with parallel mode: false
[RunInfo] Add method selector: org. testng.internal.XmlMethodSelector@9664a1 priority: 10
[ClassHelper] Failed to instantiate testcase1: testcase1
[ClassHelper] Failed to instantiate testcase1: testcase1
==================== ============================
[Smoke test]
[Total tests: 0, Errors: 0, Missing: 0]
===== =========================================
[org.testng.TestNGException:]
[Cannot find class at classpath: testcase1]
at org.testng.xml.XmlClass.getSupportClass (XmlClass.java:55)
at org.testng.internal.Utils.xmlClassesToClasses (Utils.java:79)
at org.testng.TestRunner .initMethods (TestRunner.java:289)
at org.testng.TestRunner.init (TestRunner.java:235)
at org.testng.TestRunner.init (TestRunner.java:197)
at org.testng.TestRunner. (TestRunner.java:141)
at org.testng.SuiteRunner $ DefaultTestRunnerFactory.newTestRunner (SuiteRunner.java:488)
at org.testng.SuiteRunner.privateRun (SuiteRunner.java:250)
at org.testrng.SuiteRunner.unner. java: 204)
to org.testng.TestNG.createAndRunSuiteRunners (TestNG.java:877)
at org.testng.TestNG.runSuitesLocally (TestNG.java:842)
at org.testng.TestNG.run (TestNG.java:751)
at org.testng.TestNG.privateMain (TestNG.java:914)
at org.testng. TestNG.main (TestNG.java:887)
Tests failed.
This was running on a network server, I tested testuite.xml locally via intellij and everything works fine. I feel like this is a network server configuration issue, please let me know if my assumption is wrong and point me in the right direction to fix this issue.
Thanks.
source to share