java -jar functionalTests-0.0.1-SNAPSHOT-tests.jar org.testng.TestNG
/test/submissionSuite.xml
when i run the above command in sunOS i get
java.io.FileNotFoundException: /test/submissionSuite.xml (No such file or
directory)
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:507)
at org.testng.TestNG.configure(TestNG.java:956)
at org.testng.TestNG.privateMain(TestNG.java:912)
at org.testng.TestNG.main(TestNG.java:887)
can somebody help me what is right command to use ?
thanks in advance...
--
View this message in context: http://www.nabble.com/How-to-run-test-xmls-which-are-inside-the-jar--tp25190776p25190776.html
Sent from the testng-users mailing list archive at Nabble.com.
sudhi123 wrote:
>
> Hello, i have jar functionalTests-0.0.1-SNAPSHOT-tests.jar. which
> contains my functional tests, and test suites in folder test.
>
> java -jar functionalTests-0.0.1-SNAPSHOT-tests.jar org.testng.TestNG
> /test/submissionSuite.xml
>
> when i run the above command in sunOS i get
>
> java.io.FileNotFoundException: /test/submissionSuite.xml (No such file or
> directory)
> 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:507)
> at org.testng.TestNG.configure(TestNG.java:956)
> at org.testng.TestNG.privateMain(TestNG.java:912)
> at org.testng.TestNG.main(TestNG.java:887)
>
> can somebody help me what is right command to use ?
>
> thanks in advance...
>
>
>
--
View this message in context: http://www.nabble.com/How-to-run-test-xmls-which-are-inside-the-jar--tp25190776p25193340.html