Hi, I am trying to automate httpwatch with watir. Please see my code below:

require 'win32ole'
require 'watir'

# Open the IE browser using Watir
ie = Watir::IE.new

# Attach HttpWatch
control = WIN32OLE.new('HttpWatch.Controller')
plugin = control.Attach(ie.ie)

# Start recording
plugin.Record() 


When I run this in ruby, i receive the following alert:


C:\Users\mmcclarin\Desktop\HTTPWatch>ruby testexample04.rb
testexample04.rb:5:in `<main>': uninitialized constant Watir::IE (NameError)



Any help would be appreciated


-- 
-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to