[Webtest] How to enable disabled button?
Marek Dębczyński
Marek Dębczyński
Fri, 03 Aug 2007 08:41:25 +0200
Hi Lisa!
Thanks a lot - it works :)
But where did U find this function?
It is not in Canoo Manual :)
Regards,
Marek
Lisa Crispin napisał(a):
> This is probably not useful to you but... I've used
> emulateSetElementAttribute (which I believe is now called
> emulateSetInputFieldAttribute) but that was for input fields, not for
> a button. My code looks like this, maybe something similar works for
> buttons:
> <emulateSetElementAttribute description="enable the annual
> discount"
> name="annualDiscount" attributeName="disabled"
> attributeValue=""/>
>
> On 8/2/07, *Marek Dębczyński* <marek.debczynski@capetechnologies.co=
m
> <mailto:marek.debczynski@capetechnologies.com>> wrote:
>
> Hi All!
>
> I have some troubles with disabled buttons.
> I have got one checkbox which invoke javascript and change button
> properties from disabled to enabled.
>
> - checkbox has got onclick (updateButton)
> - button has got onclick (storeProperty)
>
> But Canoo doesn't change the button status from disabled to enabled=
.
> And without it I cannot Click on it.
>
> Maybe anyone from U have got any idea,
> how to make the button enabled?
>
> Regards,
> Marek
>
>
>
>
>
>
> This message has been processed by CAPE Technologies, Maple House,
> Temple Road, Blackrock, Co. Dublin. Registered in Ireland No. 31995=
9
>
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com <mailto:WebTest@lists.canoo.com>
> http://lists.canoo.com/mailman/listinfo/webtest
>
>
>
>
> --
> Lisa Crispin
> Co-author,
> Testing Extreme Programming
> http://lisa.crispin.home.att.net
>
> This message has been processed by CAPE Technologies, Registered
> Address: Maple House, Temple Road, Blackrock, Co. Dublin. Registered
> in Ireland No. 319959
>
This message has been processed by CAPE Technologies, Maple House, Temple Road, Blackrock, Co. Dublin. Registered in Ireland No. 319959