[Wtr-general] Click a button

Angrez Singh angrez at gmail.com
Fri Jul 6 05:27:08 EDT 2007


Try

ie.button(:class, "btn_login_up").click

- Angrez

On 7/6/07, Chitta Ranjan <chitta.ranjan at globallogic.com> wrote:
>
>  Hi,,
>
>
> I want to click a button using any one of these attribute
>
> class                             --------->              btn_login_up
> onmousedown                --------->
> this.className='btn_login_dn'
> onmouseup                    --------->
> this.className='btn_login_up'
> type                               --------->             submit
>
>
> I tried
>
>    ie.button(:type, 'submit').click
>     ie.button(:name, "LOGIN").click        (no name attribute is
> available)
>
>
> But not succeed to click the button
>
>
> Any suggestion
>
> Thanks in advance
> Chitta Ranjan
>
>
>
>
>
>
> _______________________________________________
> Wtr-general mailing list
> Wtr-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/wtr-general
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20070706/975183e7/attachment.html 


More information about the Wtr-general mailing list