I believe that this is bug introduced by the recent performance 
enhancement to Watir that needs to be backed out until it can be made 
more reliable.

Unrelated to the error message, there is on "rightclick" javascript 
event. I read my JavaScript book on the topic and it said that the event 
is "onClick" but that you have to set the button bits on the event. I'm 
not sure exactly how this would be done.

Bret

Zeljko wrote:
> This is out of my league. Anybody familiar with this error message?
>
> Ċ½eljko
>
>   
>> ie.div(:id,
>> "detailProposal0610760").fire_event("rightclick")
>>
>> It highligts it like it wants to do something but
>> never acts as a right click. This is the message in
>> the prompt that I get if that helps.
>>
>> 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
>> :in `fire_event'
>>         from ../test/test2.rb:180
>>     
> ---------------------------------------------------------------------
> Posted via Jive Forums
> http://forums.openqa.org/thread.jspa?threadID=4007&messageID=11218#11218
> _______________________________________________
> Wtr-general mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/wtr-general
>   

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to