When I use:
ie.cell(:text, "Sign In").flash
watir understand this full cell (included: password label, password
text field and Sign In).
I have to click on Sign In, how to find this object?
Bret
On Sep 6, 3:28 pm, "Charley Baker" <charley.ba...@gmail.com> wrote:
> You may have to change the child node, it may not be 1 in the array you get
> back, dunno. And I'd hope you are working with Watir 1.5.x.
>
> -c
>
> On 9/6/07, alex <alex.barsht...@gmail.com> wrote:
>
>
>
>
>
> > After: ie.cell(:text, 'Sign
> > In').document.childnodes.item(1).fireevent('onclick')
> > I recieved next message:
> > Search_User.rb:33:in `method_missing': unknown property or method
> > `fireevent' (WIN32OLERuntimeError)
> > HRESULT error code:0x80020006
> > Unknown name. from Search_User.rb:33
>
> > On Sep 6, 1:33 pm, Bret Pettichord <b...@pettichord.com> wrote:
> > > Charley Baker wrote:
> > > > This works for me with a simple version of your cell, there may be an
> > > > easier way, I don't know, it's the first thing I came up with:
>
> > > > browser.cell(:text, 'Sign
> > > > In').document.childnodes.item(1).fireevent('onclick')
>
> > > > Then you tell your developers that font tags are deprecated and never
> > > > to do anything so heinous again. :)
>
> > > This is a good argument for providing a generic ie.element() method that
> > > would work with any type of element.
>
> > > Bret- Hide quoted text -
>
> - Show quoted text -