Can you paste the code you are executing here?

Joe

On Mon, Feb 4, 2013 at 10:22 PM, Phuoc Can Hua <[email protected]> wrote:
>
>
> On Tuesday, 5 February 2013 13:58:04 UTC+11, Joe Fl wrote:
>>
>> Make sure to remove the require statement for firewatir and replace it
>> with
>> require 'watir-webdriver'.
>>
>> Joe
>>
>>
>
> Doesn't seem I have require firewatir anywhere. I added require
> watir-webdriver and got this error:
> C:/Ruby192/lib/ruby/gems/1.9.1/gems/watir-webdriver-0.6.2/lib/watir-webdriver/exception.rb:8:in
> `<module:Exception>': superclass m
> ismatch for class UnknownObjectException (TypeError)
>         from
> C:/Ruby192/lib/ruby/gems/1.9.1/gems/watir-webdriver-0.6.2/lib/watir-webdriver/exception.rb:4:in
> `<module:Watir>'
>         from
> C:/Ruby192/lib/ruby/gems/1.9.1/gems/watir-webdriver-0.6.2/lib/watir-webdriver/exception.rb:3:in
> `<top (required)>'
>         from
> C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
> `require'
>         from
> C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
> `require'
>         from
> C:/Ruby192/lib/ruby/gems/1.9.1/gems/watir-webdriver-0.6.2/lib/watir-webdriver.rb:6:in
> `<top (required)>'
>         from
> C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:59:in
> `require'
>         from
> C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:59:in `rescue
> in require'
>         from
> C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:35:in
> `require'
>         from C:/hms_auto_test/HMS/HMSCommon_SP3/HMSTestCase.rb:2:in `<top
> (required)>'
>         from
> C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
> `require'
>         from
> C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
> `require'
>         from
> C:/hms_auto_test/HMS/TestCases/HMS/HMS_Priority1_Add_TestCases.rb:4:in `<top
> (required)>'
>         from
> C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
> `require'
>         from
> C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
> `require'
>         from C:/hms_auto_test/HMS/TestSuites/HMS_TestSuite.rb:8:in `<top
> (required)>'
>         from
> C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
> `require'
>         from
> C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
> `require'
>         from ../../main/runHMSTests.rb:8:in `<main>'
>
> --
> --
> 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.
>
>

-- 
-- 
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