[Wtr-general] Can I access caption attribute of a checkbox?
Bret Pettichord
bret at pettichord.com
Wed Jun 21 14:20:17 EDT 2006
On 6/21/06, Amitha Shetty <amithashettyb at yahoo.co.in> wrote:
>
> Hi,
> I installed watir 1[1].5.1.gem.
> When I say ie.frame(:index,1).checkboxes[1].attribute_value("caption")
> it prints nill.
> But when I say ie.frame(:index,1).checkboxes[1].attribute_value("name")
> it prints 'ID_1'.
> Still I am not able to retrieve the actual display name of the checkbox
> i.e 'Male'.
>
I can't help without looking at the actual HTML that is generated.
Bret
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20060621/7f658a68/attachment.html
More information about the Wtr-general
mailing list