[Webtest] [dev] Best way to set credentials

Dierk Koenig webtest@lists.canoo.com
Tue, 2 Aug 2005 18:51:36 +0200


That is reasonable.

go for it :-)
Mittie

> -----Original Message-----
> From: webtest-admin@lists.canoo.com
> [mailto:webtest-admin@lists.canoo.com]On Behalf Of Paul King
> Sent: Dienstag, 2. August 2005 13:59
> To: webtest@gate2.canoo.com
> Subject: Re: [Webtest] [dev] Best way to set credentials
> 
> 
> 
> I have a slight preference for Marc's suggestion over config.
> It seems closer to how a browser works - potentially asking you
> for several passwords for different sites (or parts of sites).
> Plus if a site is partly protected, a config-based setting
> might mask steps which shouldn't be protected but accidentally
> have been protected.
> 
> Paul.
> 
> Dierk Koenig wrote:
> > How about putting this in the config instead of into each step?
> > 
> > cheers
> > Mittie
> > 
> > 
> >>-----Original Message-----
> >>From: webtest-admin@lists.canoo.com
> >>[mailto:webtest-admin@lists.canoo.com]On Behalf Of Marc Guillemot
> >>Sent: Dienstag, 2. August 2005 10:49
> >>To: webtest@lists.canoo.com
> >>Subject: [Webtest] [dev] Best way to set credentials
> >>
> >>
> >>Hi,
> >>
> >>I've seen that many steps have now userName and password 
> >>attributes to receive pages that require basic authorization. 
> >>This feature is still missing on some steps (like setRadioButton) 
> >>and doesn't make any sense on others like followFrame 
> >>at this one doesn't perform any request.
> >>
> >>What about changing these attributes to a nested step like:
> >><authorization username="..." password=".." [host="..." 
> >>[port="..."] ...]/>
> >>
> >>This would:
> >>- avoid to add too many attributes to all steps making them 
> >>easier to understand
> >>- allow to have many credential provider in one step for 
> >>different hosts (unlikely to happen, but who knows)
> >>- allow to specify the type of authorization (basic, NTLM, ...)
> >>
> >>What do you think?
> >>
> >>Marc.
> >>_______________________________________________
> >>WebTest mailing list
> >>WebTest@lists.canoo.com
> >>http://lists.canoo.com/mailman/listinfo/webtest
> >>
> > 
> > _______________________________________________
> > WebTest mailing list
> > WebTest@lists.canoo.com
> > http://lists.canoo.com/mailman/listinfo/webtest
> > 
> > 
> 
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
>