[Webtest] Basic Authorization

Mikael Eriksson webtest@lists.canoo.com
Fri, 21 Mar 2003 00:24:55 +0100


Now I'm talking to myself :-)

In fact, looking at the code it seems that the clicklink step should be 
able to take
username/password attributes as well as the invoke step. (Both inherits from a
class "Target" that defines them).

Or am I missing your point so that you are trying to use them and that it does
not work in webtest?

Oh well... late in night for me, hope this helps anyway.

Regards
/Mikael


At 00:19 2003-03-21 +0100, you wrote:

>Have you tried setting the username/password in the invoke step that
>normally starts a testcase?
>
>(Invoke takes those parameters but it might be that they are only useful
>if it is the invoke step that triggers the authorization. Anyway, the invoke
>code might be useful to look at. )
>
>Regards
>/Mikael