HI,
try putting the URL in a string and then do the
assert.
strUrl="www.google.com"
assert(strUrl.include?"google")
Hope this helps.
Amol
--- "Ravishankar, MG" <[EMAIL PROTECTED]>
wrote:
>
> try
>
> test_var = ie.link(:url,/#{test_search}/).exists?
>
> ----
> I am still not able to successfully search for a
> partial URL. For
> example, I tried using the .exists? method as such:
>
> test_search = 'B8110+002'
> test_var = ie.link(:url,/test_search).exists?
> puts test_var
>
> It returns false despite the fact that I know a link
> on the open page
> contain the following partial url:
>
> %2F0%2F0%2F3.0%2F162%2Fnull%2F915&sp=SB8110+002
> ----
>
> This e-mail message is being sent solely for use by
> the intended recipient(s) and may contain
> confidential information. Any unauthorized review,
> use, disclosure or distribution is prohibited. If
> you are not the intended recipient, please contact
> the sender by phone or reply by e-mail, delete the
> original message and destroy all copies. Thank you.
> _______________________________________________
> Wtr-general mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/wtr-general
>
No Body Has ever Collided With The Sky...So Sky Is The Limit!
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general