Bret
On 4/29/06, Charley Baker <
[EMAIL PROTECTED]> wrote:
Hrrrm, I'm getting errors running the test, main results: 2 tests, 1 assertion, 1 failure, 1 error. Images are missing on the html page under test: list_matter.html. They all refer to AIMS/images/...
Error 1 listed at the bottom.
Here's how I installed:
- Deleted Watir and Rexml files from my Ruby install.
- Pulled Watir from HEAD, ran 'gem build' against the watir.gemspec to create watir-1.5.0.971.gem. Installed the gem.
- Downloaded rexml and installed 3.1.4 from bin/install.rb.
- Sanity version checking:
require 'watir'
require 'rexml/rexml'
p "Watir version: " + Watir::IE::VERSION
p "Rexml version: " + REXML::Version
p "Platform: " + PLATFORM
=> "Watir version: 1.5.0.971"
"Rexml version: 3.1.4"
"Platform: i386-mswin32"
I'm continuing to work on it, but this is what I'm getting now.
Error 1:
1) Error:
test_div_with_contains(TC_Divs_XPath2):
NoMethodError: undefined method `include?' for nil:NilClass
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/functions.rb:142:in `contains'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:451:in `send'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:451:in `expr'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:438:in `each_with_i
ndex'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:438:in `each'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:438:in `each_with_i
ndex'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:438:in `expr'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:387:in `expr'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:283:in `expr'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:277:in `each_with_i
ndex'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:277:in `each'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:277:in `each_with_i
ndex'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:277:in `expr'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:488:in `d_o_s'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:485:in `each_index'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:485:in `d_o_s'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:490:in `d_o_s'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:485:in `each_index'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:485:in `d_o_s'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:490:in `d_o_s'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:485:in `each_index'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:485:in `d_o_s'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:490:in `d_o_s'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:485:in `each_index'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:485:in `d_o_s'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:490:in `d_o_s'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:485:in `each_index'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:485:in `d_o_s'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:490:in `d_o_s'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:485:in `each_index'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:485:in `d_o_s'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:490:in `d_o_s'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:485:in `each_index'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:485:in `d_o_s'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:490:in `d_o_s'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:485:in `each_index'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:485:in `d_o_s'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:490:in `d_o_s'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:485:in `each_index'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:485:in `d_o_s'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:490:in `d_o_s'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:485:in `each_index'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:485:in `d_o_s'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:490:in `d_o_s'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:485:in `each_index'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:485:in `d_o_s'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:490:in `d_o_s'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:485:in `each_index'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:485:in `d_o_s'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:490:in `d_o_s'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:485:in `each_index'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:485:in `d_o_s'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:490:in `d_o_s'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:485:in `each_index'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:485:in `d_o_s'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:490:in `d_o_s'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:485:in `each_index'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:485:in `d_o_s'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:490:in `d_o_s'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:485:in `each_index'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:485:in `d_o_s'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:490:in `d_o_s'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:485:in `each_index'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:485:in `d_o_s'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:476:in `descendant_
or_self'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:315:in `expr'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:125:in `match'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath_parser.rb:56:in `parse'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/xpath.rb:53:in `each'
C:/dev/ruby/lib/ruby/site_ruby/1.8/rexml/element.rb:939:in `each'
C:/dev/ruby/lib/ruby/gems/1.8/gems/watir-1.5.0.971/unittests/../watir.rb:195
4:in `elements_by_xpath'
C:/dev/ruby/lib/ruby/gems/1.8/gems/watir-1.5.0.971/unittests/../watir.rb:194
4:in `element_by_xpath'
C:/dev/ruby/lib/ruby/gems/1.8/gems/watir-1.5.0.971/unittests/../watir.rb:268
2:in `locate'
C:/dev/ruby/lib/ruby/gems/1.8/gems/watir-1.5.0.971/unittests/../watir.rb:215
1:in `assert_exists'
C:/dev/ruby/lib/ruby/gems/1.8/gems/watir- 1.5.0.971/unittests/../watir.rb:221
9:in `text'
C:/dev/ruby/lib/ruby/gems/1.8/gems/watir-1.5.0.971/unittests/div2_xpath_test
.rb:19:in `test_div_with_contains'On 4/29/06, Bret Pettichord <[EMAIL PROTECTED]> wrote:Angrez and i are getting different results when we execute div2_xpath_test.rb.
I'd appreciate it if others could get the latest code from HEAD, execute this test, and tell us what happens. You'll have to install REXML 3.1.4 first.
Bret
_______________________________________________
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
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
