Sha256: 0d42c746f529d1925504cad7f66b40fe71822e3b687d450425923deac632aa4f
Contents?: true
Size: 539 Bytes
Versions: 1
Compression:
Stored size: 539 Bytes
Contents
require 'grid' require 'test/unit' class SimpleTest < Test::Unit::TestCase def setup options = {} options[:controller_uri] = 'druby://10.0.1.3:11235' options[:browser_type] = 'webdriver' options[:browser] = 'chrome' options[:loglevel] = Logger::DEBUG @grid = Grid.new(options) @grid.setup end def teardown @grid.teardown end def test_google @grid.iterate do |browser| browser.goto 'altentee.com' assert_match /Automation Company/, browser.title end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
grid-0.4.3 | examples/testunit/basic_test.rb |