Sha256: 6c2c9d9de5f446d51405143057a093851f24c4d6c0b2b5099630924fd1a7d20e
Contents?: true
Size: 682 Bytes
Versions: 1
Compression:
Stored size: 682 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') describe 'Using the Grid Control method' do before(:all) do @controller = Controller.new( :ring_server_port => 12357, :loglevel => Logger::ERROR) @controller.start provider = Provider.new( :ring_server_port => 12357, :loglevel => Logger::ERROR, :browser_type => 'safari') provider.start end after(:all) do @controller.stop end it 'should control a grid' do Watir::Grid.control(:ring_server_port => 12357) do |browser, index| p "I am browser index #{index}" browser.goto "google.com" p browser.title browser.close end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
watirgrid-1.1.1 | spec/control_spec.rb |