I am getting the following error:
c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1336:in `method_missing': document (WIN3
2OLERuntimeError)
OLE error code:80004005 in <Unknown>
<No Description>
HRESULT error code:0x80020009
Exception occurred. from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:133
6:in `document'
from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:754:in `getContainerContent
s'
from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:778:in `getObject'
from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:2899:in `initialize'
from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:429:in `new'
from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:429:in `select_list'
from C:/Documents and Settings/kcapperell/My Documents/Catalog Automatio
n Scripts/ItemShopping.rb:40
Line 40 is where I am selecting the caption in the drop down:
ie.select_list(:name, "frameMain:_ctl5:_ctl1:SearchType").Select("Supplier SKU")
I know that the name is correct and that the selection of "Supplier SKU" is
valid. I dont know why it cannot select it though. Does anybody know why I
might be getting this error?
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general