Thanks Zeljko,
The fire_event did not work, I get the
error:
c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:2039:in
`method_missing': fireEvent (WIN
32OLERuntimeError)
OLE error code:80070057 in htmlfile
Invalid argument.
HRESULT error code:0x80020009
Exception occurred. from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:203
9:in `fire_event'
32OLERuntimeError)
OLE error code:80070057 in htmlfile
Invalid argument.
HRESULT error code:0x80020009
Exception occurred. from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:203
9:in `fire_event'
However, I changed it to click(), and that worked - I'm
in!
So it seems I should just ignore the DIV element? I
tried to build a path through it, i.e.
ie.div(:index,
1).table(:index, 4)[1].fire_event('mymiLogin')
Thanks
for the help
reinier
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Zeljko Filipin
Sent: Tuesday, August 29, 2006 10:52 AM
To: [email protected]
Subject: Re: [Wtr-general] Newbie problem with submitting a login
<tr align="center" >
In your snippet you can do it like this:
ie.table(:index, 4)[1].fire_event('mymiLogin')
Zeljko !DSPAM:15,44f4017099191804284693!
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
