To reproduce the SystemStackError error, you can use the w3schools page:
require 'watir-classic'
browser = Watir::Browser.new
browser.goto('http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_select')
browser.frame(:name, 'view').select_list.select('Saab')
Or if you want to do it locally, you can create a page with an iframe and
select list:
main.htm:
<html>
<body>
<iframe name="view" src="frame.htm">
</body>
</html>
frame.htm:
<html>
<body>
<select>
<option value="volvo">Volvo</option>
<option value="saab">Saab</option>
<option value="opel">Opel</option>
<option value="audi">Audi</option>
</select>
</body>
</html>
Note: The problem can be seen with iframes as well as framesets.
Hope that helps.
- Justin
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
[email protected]
http://groups.google.com/group/watir-general
[email protected]