Hi all!
I'm using the new Excel interface class to retrieve data from a spreadsheet for
testing our web app. One field on our website is giving me fits.
I've verified with IE Developer that the field is Business Income/Extra
Expense/Rental Value_0
The line in my script (#126) that writes data to this field looks like this:
ie.text_field(:name, "Business Income/Extra Expense/Rental
Value_0").set(account["bldgBI"])
When my script gets to this point, I get the following error:
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1166/./watir.rb:4054:in
`doKeyPress': undefined method `length' for nil:NilClass (NoMethodError)
from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1166/./watir.rb:4026:in `set'
from C:/WatirScripts/CreateQuotes.rb:126
from C:/WatirScripts/CreateQuotes.rb:76:in `each'
from C:/WatirScripts/CreateQuotes.rb:76
Does anyone know if my problem is the length of the field name or if it's
because it includes /'s? Is there any way around the problem?
Thanks in advance for any help you can provide!
-Tiffany
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general