Technically, you didn't send us the full link in your post.  You sent us only a part of the full link.  Can you simplify your regex?  That is, is this good enough?

   $ie.link(:url, /selectTerritory/).click

Occam's razor works for me.  Keep it as simple as possible.

Paul.


On 28/09/06, Adrian Lewis <[EMAIL PROTECTED]> wrote:

Hi,

I am having difficulties using regex and clicking on a link.

the full link is:

"_javascript_:PC_7_0_G6_selectTerritory('1',%20'select')"

the regex I am using is:

$ie.link(:url, /_javascript_.*selectTerritory('1',%20'select')/).click

and I receive an UnknownObjectException

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

Reply via email to