Hi bill,

 

thx for the help. I tried the execScript method but i got weird error.

 

When i checked it with ie.frame("mainFrame").document.parentWindow.execScript("alert('TEST');")

It worked perfect but then i used ie.frame("mainFrame").document.parentWindow.execScript("myfunction('TEST');")

And watir told me

 

Z:/Watir/scripts/frame.rb:44:in `method_missing': execScript (WIN32OLERuntimeError)

 

Maybe you have an idea ? im done after checking the whole Watir Archieve for similar problems and other local

tests. My boss is already looking for a similar software which is able to handle this :/

 

best regards

michael ehrich

 


Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Attebery, Bill
Gesendet: Donnerstag, 5. Oktober 2006 18:54
An: [email protected]
Betreff: Re: [Wtr-general] JavasScript Menu .click not working

 

Sounds like you may be encountering the same thing I found when trying to work with the google ajax tree – seems that the click event is actually being handled at the window level and not the browser level (or something along those lines) – so using onClick or .click through water isn’t the same.

 

 

 

http://www.mail-archive.com/[email protected]/msg04974.html

 

 

Hi,

 

im not sure if my posts actually reach the mailinglist cuz i did not seem to get any answers so far.

I’m still messing with the problem described in that post http://www.mail-archive.com/wtr-general%40rubyforge.org/msg05416.html

maybe someone can help me or maybe someone can tell me where i can report that bug. Because for me it seems like

this is a bug. No error is reported but i still only get a little blink and no click which is very weird cuz i tried a simple

version of that menu myself and it worked pretty well. So ist maybe a frame bug or i dont know. Doesnt look like ist

right.

 

Best regards

Michael Ehrich

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

Reply via email to