Hi…
I am a beginer in Cactus.
I am using cactus for testing my UserLoginAction….
I am having the code sample as …
public class UserLoginTester extends StrutsTestCase {
public UserLoginTester(String testName) {
super(testName);
}
public void testSuccessfulLogin() {
setRequestPathInfo(“/userLogin”);
addRequestParameter(“userEmail”,”support@granwill.com”);
addRequestParameter(“pass”,”granwill”);
actionPerform();
verifyForward(“logged”);
assertEquals(“support@granwill.com”,(String)getSession().getAttribute(“authinticate”));
}
But i’m getting error
“StrutsTestCase cannot be resolved or is not a valid superclass” although I have added the cactus-1.6.1.jar along with all the necessary jars. I’m using cactus-12-1.6.1 …
Can anyone help giving the details of the implementation with the full sample code….
Thanks in adv..
Abhishek