Hi Chris,

I installed 'watir' from the tar ball. Steps I followed:

1. Manually copied 'watir.rb' & 'watir' folder to [ruby installation directory]/lib/ruby/site_ruby/1.8/
2. Manually copied 'doc', 'examples', 'unittests' folders to [watir installation directory]

I was able to run the core tests successfullly.

$ruby core_tests.rb
Loaded suite core_tests
Started
............................................................................................................................................................................
Finished in 88.906 seconds.

172 tests, 991 assertions, 0 failures, 0 errors

But when I tried to run xpath_tests.rb or all_tests.rb I got lots of exceptions & errors. One thing that was strange was two IE instances were getting opened when I tried to run any of these files. Then one got closed & there were lot of failures each was saying 'The object invoked has disconnected from its clients.'. So what I think is the IE instance that was closed (don't know how) was the correct IE that was being referenced in the tests. The IE instance that remained open (don't know how it got opened) is the one that is not used anywhere in the scripts.

Anyways, successful run of core_tests.rb indicates that xpath is working fine because xpath unit tests are also included in the core tests.

Regards,
Angrez
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to