Greetings:
I'm using ruby 1.8.4 and watir 1.5.1.
I am testing a series of pages that result in the viewing of a pdf
document within the browser. My intent is to test that the pdf can be
viewed under some circumstances and cannot be viewed under another set
of circumstances.
However, when I @ie.goto(@pdf_serving_url) the ie window successfully
navigates to the pdf and acrobat loads, but watir bails out with the
following error:
1) Error:
test_sectionServletAllowed(SectionServletTest):
WIN32OLERuntimeError: unknown property or method `documentelement'
HRESULT error code:0x80020006
Unknown name.
C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1158/./watir.rb:1337:in
`method_missing'
C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1158/./watir.rb:1337:in
`page'
C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1158/./watir.rb:1348:in
`text'
C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1158/./watir.rb:1400:in
`contains_text'
C:/cygwin/home/jason.yankus/projects/edis3-search/src/test/watir/Section
ServletTest.rb:63:in `test_sectionServletShowsPublic'
Any advice?
-jason
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general