| Issue 28: | Test suite file not found | |
| 3 people starred this issue and may be notified of changes. | Back to list |
My Eclipse project workspace is in the default location in Windows which is C:\Documents and Settings\Raj.Tiwari\workspace\MyProject I have created a testng suite xml file. I right click on it and bring up the debug launch config creator. I supply all the necessary information. However, when I hit Debug, testng fails with the following: java.io.FileNotFoundException: C:\Documents and Settings\Raj.Tiwari\workspace\MyProject\Documents C:\Documents and Settings\Raj.Tiwari\workspace\MyProject\and C:\Documents and Settings\Raj.Tiwari\workspace\MyProject\Settings\Raj.Tiwari\workspace\MyProject\src\test\com\sharon\util\FooTest.xml (The filename, directory name, or volume label syntax is incorrect) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at org.testng.xml.Parser.<init>(Parser.java:68) at org.testng.TestNG.setTestSuites(TestNG.java:475) at org.testng.TestNG.configure(TestNG.java:902) at org.testng.remote.RemoteTestNG.configure(RemoteTestNG.java:49) at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:122) WARNING: No test suite found. Nothing to run I am not sure where the multiple file locations are coming from. Any ideas what might be going wrong here?
Jan 28, 2010
#1
yy199...@gmail.com
Jun 1, 2010
Hi There I am also getting the same error.. any kind of inputs are greatly appreciated. Thanks Sneha
Nov 17, 2010
Hi, using the latest testng jar will solve this problem. moshe |