Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unable to run DataSource related testcases in TestNG with command prompt

 
sumit anand kumar
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic