I have a script that works just fine under 1.4.1 but I wanted to upgrade to the 
latest because I wanted to get FireWatir a shot and the script fails now.  Here 
is the short version of the script:

@ie.goto('http://atlas.asp.net/atlastoolkit/HoverMenu/HoverMenu.aspx')
assert_equal('Have product idea', @ie.span(:id, 
'ctl00_ContentPlaceHolder1_GridView1_ctl02_Label1').text())
assert_equal('hidden', @ie.div(:id, 
'ctl00_ContentPlaceHolder1_GridView1_ctl02_PopupMenu').getOLEObject().style.visibility)

Works great under 1.4.1.  Under 1.5.1.1079, I get this error:

  1) Error:
test_recorded(TC_recorded):
NoMethodError: undefined method `style' for nil:NilClass
    C:/temp/test3.rb:19:in `test_recorded'

Any ideas?
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=3866&messageID=10633#10633
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to