I am using a macro containing 2 attributes:
<attribute name="user"/>
<attribute name="password"/>
and using name as fieldidentifier:
<setInputField name="username" value="@{user}"/>
<setInputField name="password" value="@{password}"/>
I didn't try forLabel, XPath is the last hope that works every-time. But this
means quite less readability.
Greetings,
Dennis Winter
-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Andrew Sickorsky
Gesendet: Mittwoch, 16. Januar 2008 12:43
An: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; Winter, Dennis
Betreff: Re: AW: AW: AW: [Webtest] SetInputField doesnt work after htmlunit
upgrade
Hello!
d'you use forLabel attribute for setInputField step? As for me forLabel
attribute seems not working for such steps in current builds
Regards,
Andrew
> I have to correct my self:
>
> Each test which uses SetInputField doesn't work in build 1649 which I
> cannot understand.
>
> Dennis Winter
>
>
> -------------------
> I think my problem was just copying a project from build[1551] to
> build[1649]. After importing my Project into build 1649 it worked
>
>
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Im Auftrag von Marc Guillemot
> Gesendet: Freitag, 11. Januar 2008 13:41
> An: [EMAIL PROTECTED]
> Betreff: Re: AW: AW: [Webtest] SetInputField doesnt work after htmlunit
> upgrade
>
> no, it isn't.
>
> What is the cause of the problem here: no link found with the specified
> label?
>
> Cheers,
> Marc.
>
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest