[Wtr-general] Clicking on the link in table

Paul Carvalho tester.paul at gmail.com
Wed May 17 10:07:40 EDT 2006


I've found that sometimes I can just click on the table cell itself to
accomplish the same thing.

For example, try something like this:

$ie.frame("mainFrame").table(:index, 2)[1][1].click

Does this work for you (check first that you have the right table and
cell)?  Thanks for including the HTML.

Paul.


On 17/05/06, Manish Sapariya <manishs at reconnex.net> wrote:
>
> Hi,
> In the attached html code, I have two tables in 2nd Frame.
>
> There is a link in first table "Create New Policy". I cannot
> click on this link by
>
> $ie.frame("mainFrame").link(:text,"Create New Policy).click.
>
> However, the link in 2nd table can be clicked when I say
>
> $ie.frame("mainFrame").link(:text, "edit").click
>
> I am not a web-developer, but only difference I noticed that
> the second link is enclosed in <a> </a> tag, whereas the first
> one is not.
>
> Any ideas?
>
> Thanks and Regards,
> Manish
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20060517/a1d4903a/attachment.html 


More information about the Wtr-general mailing list