Posted on 2006-11-21 07:35:38-08 by spiderik
Problem with login
I am solving the problem with Webrobot seqential execution of methods GET and POST. I need to test following. I login into the page (authorization made with aspx), on welcome screen I open the tag to different window, there I fill the form and send it. The problem is that, when I am unauthorized and I authorize, the login page redirects me to the welcome page, I need to open the referred page though. Is there some way how to preserve the session as I was still logged in? My critical part of testplan follows (it doesn't work)
<request> <method value='POST'/ > <url value='http://server.domain/referredpage.aspx'/> <data> <parm name='username' value='test'/> <parm name='password' value='test'/> </data> #I tryed to fill in name and passwd first, but the redirection to the welcome site follows <data> <parm name='To' value='tomas.nekolny@cdt.cz'/> </data> <description value='posting'/> </request>
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.