[Wtr-general] Error clicking a button...
Charley Baker
charley.baker at gmail.com
Thu Aug 31 15:11:57 EDT 2006
Hey Mark,
It's good you're trying to track down the error by process of elimination,
somehow not something that occurs to a lot of people. It's a bit hard to pin
down what's happening remotely without some more information. Try posting
your script code and possibly some part of the html.
-Charley
On 8/31/06, Cain, Mark <Mark_Cain at rl.gov> wrote:
>
> Here is a curious addition to my previous post. If I put an *"*$ie*.show_all_objects"
> *at the top of the test case then all the object on the page are displayed
> in the output—as expected, nothing curious here. However, if I move the
> "$ie*.show_all_objects" *method to after where the Non-modal windows
> closes then only a very small part of the object show in the output, and
> then the error.
>
>
>
> *--Mark*
>
>
> ------------------------------
>
> *From:* wtr-general-bounces at rubyforge.org [mailto:
> wtr-general-bounces at rubyforge.org] *On Behalf Of *Cain, Mark
> *Sent:* Thursday, August 31, 2006 10:46 AM
> *To:* wtr-general at rubyforge.org
> *Subject:* [Wtr-general] Error clicking a button...
>
>
>
> I am getting the following error when I click a 'Save' button on a page.
> The application has several tabbed pages and on each is the same 'Save,
> Submit, and Clear' button pattern. The other tab pages click the save
> button without error. This error occurs after attaching and closing a
> Non-modal window.
>
>
>
> NoMethodError: undefined method `all' for nil:NilClass
>
> *C:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1257*:in `ole_inner_elements'
>
> *C:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1313*:in
> `locate_input_element'
>
> *C:/ruby/lib/ruby/site_ruby/1.8/watir.rb:3608*:in `locate'
>
> *C:/ruby/lib/ruby/site_ruby/1.8/watir.rb:2337*:in `assert_exists'
>
> *C:/ruby/lib/ruby/site_ruby/1.8/watir.rb:2480*:in `click'
>
> *C:/watir_bonus/working/PER/tc_PERwResloution_test.rb:279*:in
> `test5_ca'
>
>
>
> Has anyone else seen this or similar behavior?
>
> ____________________
> *Mark L. Cain*
> *LMIT - **E*****STARS*(r)* **~ **Lead Test Engineer*
> *1981 Snyder, MSIN: G3-62, Richland, WA 99354**
> Mark_Cain at RL.gov
> 509.376.5458*
> *"640 Kilobytes of computer memory ought to be enough for anybody."** -
> Bill Gates, 1981 *
>
>
>
> _______________________________________________
> Wtr-general mailing list
> Wtr-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/wtr-general
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20060831/d76bd0b7/attachment.html
More information about the Wtr-general
mailing list