From: Dossy Date: 2002-07-17T02:21:07+09:00 Subject: Win32OLE: Is getting MSIE HTTP status possible? Hi, I'm using Ruby, Win32OLE, Microsoft Internet Explorer and Test::Unit to automate web testing (hopefully to eliminate any need for our team to use WinRunner + WebTest for most of our testing). Is there any way to get the HTTP status code from IE through COM? As in, to tell if the page displayed was HTTP status 200 OK vs. 404 Not Found or 500 Server Error, etc.? Parsing the displayed page works in the specific case, but not in the general case -- where we may not be able to control the 404 display, or the 404 page is a javascript or meta-refresh redirect to another page. I still need to know that the original URL that was navigated to returned HTTP status 404 from the webserver. I think I'm out of luck here, but I figured I'd ask the gurus first, before giving up hope. -- Dossy -- Dossy Shiobara mail: dossy@panoptic.com Panoptic Computer Network web: http://www.panoptic.com/ "He realized the fastest way to change is to laugh at your own folly -- then you can let go and quickly move on." (p. 70)