aspose file tools*
The moose likes Testing and the fly likes Unable to run DataSource related testcases in TestNG with command prompt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark "Unable to run DataSource related testcases in TestNG with command prompt" Watch "Unable to run DataSource related testcases in TestNG with command prompt" New topic
Author

Unable to run DataSource related testcases in TestNG with command prompt

sumit anand kumar
Ranch Hand

Joined: Apr 28, 2010
Posts: 83
Hi All,

I have some test cases written in TestNG that uses @DataSource and am able to run those with Eclipse.
However when i try to run through command prompt giving the testng.xml file, the test is skipped/failed.

Dont know why? Please help



the testng file

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unable to run DataSource related testcases in TestNG with command prompt