Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

in Eclipse - web.xml not found

 
Kaizar Laxmidhar
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am new to junit, I have created StrutsTestCase for my application but facing below error while running the test case in Eclipse.
junit. framework. AssertionFailedError : The /WEB-INF/web.xml was not found.
Your help will be appriciated.
Here is the code

setConfigFile("/WEB-INF/struts-config.xml");
setRequestPathInfo("/CalendarSearchAction.do");
addRequestParameter("OutboundDay","20");
addRequestParameter("OutboundMonth","7");
addRequestParameter("OutboundYear","2008");
actionPerform();

Regards,
Kaizar
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic