1 and 3 are happening because of test-bugs -- the tests don't work right when watir is installed in a directory with a space in the name.

2 fails in:

        table = $ie.table(:id, 'pic_table')
        image = table[1][2].image(:index,1)
        assert_equal("106", image.width)

At the moment i am stumped as to what this failure indicates. It is getting the wrong width for the image. Hmm.

Bret

On 2/2/06, Paul Carvalho <[EMAIL PROTECTED]> wrote:
On 01/02/06, Bret Pettichord <[EMAIL PROTECTED]> wrote:>> However, i specifically created core_tests.rb as a robust subset of> all_tests.rb. I would like to see the details about the 3 failures you found> while running them.>
Hi Bret, I ran the tests again this morning with nothing else running(disabled MSN Messenger, A/V service, etc.) and I got the same errors:
----
C:\Program Files\Watir\unittests>core_tests.rbLoaded suite C:/Program Files/Watir/unittests/core_testsStarted...........................................................-----------Objects in  page -------------
[snip]
.......................F......................................F............................FFinished in 69.985 seconds.
  1) Failure:test_navigation(TC_Navigate) [C:/Program Files/Watir/unittests/../unittests/navigate_test.rb:19]:<" file://c:/program%20files/watir/unittests/html/buttons1.html"> expected but was<"file://c:/program files/watir/unittests/html/buttons1.html">.
  2) Failure:test_links_and_images_in_table(TC_Tables) [C:/Program Files/Watir/unittests/../unittests/table_test.rb:165]:<"106"> expected but was<"28">.
  3) Failure:test_showLinks(TC_showlinks)    [C:/ProgramFiles/Watir/unittests/../unittests/links_test.rb:163:in`test_showLinks'     C:/ProgramFiles/Watir/unittests/../unittests/links_test.rb:163:in`each_with_index'     C:/Program Files/Watir/unittests/../unittests/links_test.rb:163:in `each'     C:/ProgramFiles/Watir/unittests/../unittests/links_test.rb:163:in`each_with_index'     C:/ProgramFiles/Watir/unittests/../unittests/links_test.rb:163:in`test_showLinks']:<"1                             file:///c:/program%20files/watir/unittests/html/links2.html test1"> expected to be =~</^1 + +file:\/\/\/c:\/program files\/watir\/unittests\/html\/links2.html *test1$/>.
154 tests, 929 assertions, 3 failures, 0 errors
----
Hope this helps.  TTYL.  Paul.
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

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

Reply via email to