[Wtr-general] JavasScript Menu .click not working
Michael Ehrich
meh at konomy.com
Fri Oct 6 02:14:43 EDT 2006
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: wtr-general-bounces at rubyforge.org
[mailto:wtr-general-bounces at rubyforge.org] Im Auftrag von Attebery, Bill
Gesendet: Donnerstag, 5. Oktober 2006 18:54
An: wtr-general at rubyforge.org
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/wtr-general@rubyforge.org/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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20061006/ef86e674/attachment-0001.html
More information about the Wtr-general
mailing list