Hello Satish,

Unit test will currently not run properly 'out of the box' with Watir
ver 1.6.  Please
follow this link: http://wiki.openqa.org/display/WTR/Run+the+Watir+Unit+Tests


Best regards,
Darryl


On May 4, 1:06 pm, satish <[email protected]> wrote:
> I got following error when I try to run unit tests from location "C:
> \ruby\lib\ruby\gems\1.8\gems\watir-1.6.2\unittests\core_tests.rb"
> ==================>ruby core_tests.rb
>
> C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> `gem_original_require': no such file to load -- unittests/setup/lib
> (LoadError)
>         from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> `require'
>         from ./../unittests/setup.rb:21
>         from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> `gem_original_require'
>         from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> `require'
>         from core_tests.rb:8>Exit code: 1
>
> ========================
> I did following too..
> 1). gem update
> 2). Under Security, check Allow active content to run in files on My
> Computer
>
> Can some one help me why I am not able to run these tests. I am
> working on Windows XP, SP-3.
>
> Appreciate your help.
> Thank you very much in advance.
> Satish
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to