I was about to ask how you know what cell to click when doing this
manually, if you were going off the contents of the cell or something,
but it's looking like you got that figured out, and also that it
wasn't looking for click, but a mouseover..

On Aug 12, 1:50 am, lifeng jiang <[email protected]> wrote:
> well,I found that the problem is cell  dosn't has  "click" measure,and
> the cell has text attribute,so I use a js function "fire_event",that
> can work
> ie.cell(:text,"xxxx").fire_event('onMouseOver')
>
> thanks
>
> On 8月11日, 下午9时09分, joedio <[email protected]> wrote:
>
>
>
>
>
>
>
> > The code is incorrectly specifying the index as a string not an
> > integer.
>
> > Thus
> >     @utable=ie.div(:id,"mainContainer").table(:index,"2")
> > should be
> >     @utable=ie.div(:id,"mainContainer").table(:index, 2)
>
> > Joe
>
> > On Aug 10, 7:44 pm, lifeng jiang <[email protected]> wrote:
>
> > > hi all:
> > > I am using watir-webdriver with ruby 1.8.6 on windows.I want to click
> > > a td element but which's Upper strata table element has no attribute.I
> > > try to like that but failed:
> > > @utable=ie.div(:id,"mainContainer").table(:index,"2")
> > > @utable.[](2).[](1).[](7).[](1).click
>
> > > Please could someone let me know how we do this
> > > Many thanks in advance.
>
> > > that is the html page:http://paste.ubuntu.org.cn/i87169

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

Reply via email to