I have the Ruby script written using 'net/http', 'watir', 'uri', 'open-
uri' modules. I am able to get the response code by parsing the
Hostname [Net::HTTP.new("#{final_link}", nil)]. The problem with this
is i am able to get the response code for the kind of URLs linke this:
www.yahoo.com, www.google.com. If the URL is something like
http://news.aol.com/article/ex-actor-gets-death-for-yacht-slayings/423179
or http://news.aol.com/videos/video-hub/?query= it throws an error &
stops the script.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to