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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
 
Similar Threads
Clarification
most important feature in TestNG
How to have different data provides in TestNG
TestNG - Gettting error [ClassHelper] Could not instantiate
Could not invoke suite() method !!