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 <[EMAIL PROTECTED]> 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

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to