Dave Munns wrote:
> I have built a test tool that has suddenly started terminating with memory 
> access errors.
> The culprit appears to be code that I have added to traverse links in a 
> frame, and if a link exists, it clicks on that link. Using the eclipse IDE 
> debugger, the code appears to be working as expected. I am using Ruby 
> 1.8.5.21 and Watir 1.5.1.1100 with IE 6.x on W2k3 V5.2 w/ SP1. 
>
> Any tips for debugging the memory access error? It  happens in different 
> locations in the test tool, but never gets to execute code that actually 
> clicks the links. Code snippet (dots added for readability):
>   
I suspect the problem is an incompatability between the version of 
win32ole packaged with watir and non-1.8.2 versions of ruby.

I suggest that you do one of the following
1. comment out this line from watir.rb. (Or delete the corresponding 
win32ole file.)

# Use our modified win32ole library
$LOAD_PATH.unshift File.join(File.dirname(__FILE__), 'watir', 'win32ole')

2. use Ruby 1.8.2

This is a known bug in Watir 1.5, and one of the reasons we have not 
officially released it yet.
http://jira.openqa.org/browse/WTR-86

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

Reply via email to