Thanks for your response.

Here is what i have in my env.rb file
require "rubygems"
require 'win32ole'
require 'watir-webdriver'
include Watir

Here is the sample source code.
Given /^I open a browser$/ do
#    Watir::Browser.default = $bro
    $browser = Watir::Browser.new :firefox
end

Given /^Navigate to Recipe Editor home page\.$/ do
    url = "mam#{$env}.scrippsnetworks.com/entree/"
    puts url
    $browser.goto(url)
    $browser.maximize
end

Let me know, if you need more information.

Thanks again,



On Wednesday, June 20, 2012 3:39:03 AM UTC-4, Željko Filipin wrote:
>
> On Tue, Jun 19, 2012 at 9:10 PM, John Cena <pavaknsha...@gmail.com> wrote:
> > I am getting "already initialized constant VERSION superclass mismatch 
> for class UnknownObjectException."
>
> Looks like you have several problems here. Please post minimal amount of 
> code that still reproduces the error.
>
> Željko
> --
> filipin.eu 
>  

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com

Reply via email to