Hi

when I use to run following file, it does not do anything, no error
and nothing. It is meant to open a browser and put some information
but nothing happens. Any help would be really appreciated...


require "rubygems"
require 'watir-webdriver'
require "rspec"

describe "TEST Suite" do
  before(:all) do
    client = Selenium::WebDriver::Remote::Http::Default.new
        client.timeout = 230 # seconds – default is 60
        profile = Selenium::WebDriver::Firefox::Profile.new
        driver = Selenium::WebDriver.for(:ff, {:http_client =>
client, :profile => profile})
        $b = Watir::Browser.new(driver)
  end
it "first" do
        puts "test"
end
it "second" do
        puts "test"
end
   after(:all) do
    $b.close
  end
end
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to