I installed watirgrid on my Mac: OS X 10.7.5, Mac default Ruby 1.8.7 with 
all the needed gems, watir, webdriver, rubygems, etc

require 'rubygems'
require 'watir-webdriver' 
require 'watir'
require 'watirgrid'
require 'controller'
require 'provider'


# Here's some basic examples in plain Ruby with Watirgrid and WebDriver

# Start a Controller using defaults
  controller = Controller.new
  controller.start

# Start 2 Providers with WebDriver

  provider = Provider.new(:browser_type => 'firefox')
  provider.start


# Control the Providers via the Grid

  $browser = Watir::Browser.new(:firefox)
 
  grid = Watir::Grid.new
  grid.start(:take_all => true)

when run it, it gave me uninitialized constant Watir::Grid (NameError)
the controller and the provide didn't work if I didn't add require 
'controller' and require 'provider' there
I was trying to get this sample work 
from http://wiki.openqa.org/display/WTR/WatirGrid

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/groups/opt_out.


Reply via email to