wood burning stoves 2.0*
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
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

 
Don't get me started about those stupid light bulbs.
 
subject: Unable to run DataSource related testcases in TestNG with command prompt
 
Similar Threads
How to have different data provides in TestNG
Clarification
TestNG - Gettting error [ClassHelper] Could not instantiate
Could not invoke suite() method !!
most important feature in TestNG