[Wtr-general] unable to click tables

Charley Baker charley.baker at gmail.com
Thu Aug 17 16:53:15 EDT 2006


Vikas,

  I'd take it from your message that you want to click on a table cell, not
the table unless I'm mistaken.

ie.frame(:name,"frameset").frame(:name
,"content").frame(:name,"iframe1").table(:id , 'listTable')[1][6].click

where 1 represents the first row <tr> tag and 6 represents the sixth column
<td> tag, adjust those to the rows/columns in your table so that it finds
your free shipping cell.

-Charley

On 8/17/06, Vikas Bhupalam <bhupalam at gmail.com> wrote:
>
>
>  Hi,
>
> I have a script which i am running on an application which has iframes ,
> there exixts tables inside these frames which i would need to click to
> proceed further. I am aware of arrays to store content of these tables &
> verify, but still not sure if we can click these table
>
> ie.frame(:name,"frameset").frame(:name
> ,"content").frame(:name,"iframe1").table(:id , 'listTable')
>
> The html associated with this is
>
>
> Active Element: [TD], Frame: [frameset/content/iframe1], Index: [61]
>
> <TD style="WIDTH: 40%">QA Base1- Free Shipping&nbsp;</TD>
>
>
>
> Thanks
>
> Vikas
>
> _______________________________________________
> 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/20060817/43a65cd3/attachment.html 


More information about the Wtr-general mailing list