[Webtest] having problem with clickButton
Bob AFC
webtest@lists.canoo.com
Sat, 22 Apr 2006 19:59:48 -0400
Thanks,
But this really smacks of a bug or a bad install or something.
everything else works well, and I was considering using webtest for qa on my
project except for this.
It seems I can locate the button by any means I want to - so long as there
is no name attribute in the tag. I suppose there is a chance that it doesn't
like the exact name I am using - but that would be very pathological.
And yes, the button is in the one and only form on the page.
----- Original Message -----
From: "Paul King" <paulk@asert.com.au>
To: <webtest@gate2.canoo.com>
Sent: Saturday, April 22, 2006 7:57 PM
Subject: Re: [Webtest] having problem with clickButton
>
> This seems a bit strange. There are many selftest cases using the name
> attribute. If you have a name attribute for your (input) button then
> your test can use some other attribute to identify the button and you
> can leave out the name attribute or you must have the exact same name
> attribute in your test and in your HTML.
>
> Perhaps this is an edge case. Is your <input...> inside a form?
>
> Cheers, Paul.
>
> Bob AFC wrote:
>> the clickButton command does not work if the button is named. The example
>> online showed the button without a name so I removed the name from my
>> button and the action works fine.
>> Since my site design used the button name, this is annoying.
>> Ideas
>
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
>
>