Hello Friends I have a cactus suite of test with some data alreadyy in the code. So now I am trying to refactor it so I can put in a html screen where the user enters the data and i validate it using struts and if everything is ok i forward the request to cactus test suite.
Basically till action i have the data and I set in request as a attibute but when it reaches the test sute the request attributes are lost can you please help or suggest me a way to customize these cactus tests by dynamic data.
Regards Farouk
Farouk Sherefudheen
Ranch Hand
Joined: Jan 27, 2004
Posts: 32
posted
0
Anyone please help>?
Robertis Tongbram
Greenhorn
Joined: Jun 14, 2004
Posts: 4
posted
0
Why not set the test data in session . You can then remove it from the session somewhere in the cactus test (or in the action class just before u set it).
Ken Loh
Ranch Hand
Joined: Feb 16, 2005
Posts: 190
posted
0
Some key codes would help in others understanding your problem.
Farouk Sherefudheen
Ranch Hand
Joined: Jan 27, 2004
Posts: 32
posted
0
I tried setting in session in action but when i retrieve and iterate over the session attributes inside my begin or test method in cactus i cannot find the set attributes. This is my problem can you help plz