hi guys i hav created a java file by using MockObjectStrutsTestCases which
tests for a simple login form which takes Login Name & password as a
input.in this file i hav following method

public void testSuccessfulLogin() {

        setConfigFile("/WEB-INF/struts-config.xml");

        setRequestPathInfo("/login");
        addRequestParameter("username","cdp");
        addRequestParameter("password","[EMAIL PROTECTED]");

        actionPerform();

        String[] actionErrors = {"username.required","password.required"};
        verifyActionErrors(actionErrors);
}

if i run the above test junit window shows that ther  r no errors,but shows
a warning that WB-INF\web.xml not found  does any1 knows why?

Reply via email to