Not able to invoke Httpwatch basic from IE browser using Watir need
urgent help.

Sample Program:
-------------------------

require 'win32ole'      # used to drive HttpWatch

require 'watir'                # the WATIR framework

# Use WATIR to start IE

ie = Watir::IE.new

ie.logger.level = Logger::ERROR

# Create HttpWatch

control = WIN32OLE.new('HttpWatch.Controller')

# Attach HttpWatch to IE

plugin = control.ie.Attach(ie.ie)

# Start Recording HTTP traffic

plugin.Clear()

plugin.Log.EnableFilter(false)

plugin.Record()

ie.goto("www.google.com")

ie.TextField(Find.ByName("q")).TypeText("WatiN");

// Click the Google search button.

ie.Button(Find.ByValue("Google Search")).Click();

ie.WaitForComplete();

# Stop Recording HTTP data in HttpWatch

plugin.Stop()

-- 
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]

Reply via email to