[Wtr-general] Executing javascript in 1.5

Charley Baker charley.baker at gmail.com
Wed Dec 20 11:36:27 EST 2006


You're calling straight into the document ole object, Watir shouldn't be
doing anything but passing the call on to IE. What error are you getting?
Are you running the scripts on the same box with different version of Watir
and seeing it fail?

-Charley

On 12/20/06, Max Russell <mrussell at inpses.co.uk> wrote:
>
>  Has the support for executing javascript changed in 1.5?
>
>
>
> A method I used previously:
>
>
>
>   def run_script(js)
>
>     ie.Document.parentWindow.execScript(js)
>
>   end
>
>
>
> calling the execScript method no longer seems to work….
>
>
>
> *Max Russell*
>
> *Test Analyst.*
>
> *INPS*
>
> * *
>
> *Tel: 01382 223900*
>
> *Fax: 01382 204488*
>
> * *
>
> *Visit our Web site at www.inps.co.uk*
>
> * *
>
> *The information in this internet email is confidential and is intended
> solely for the addressee. Access, copying or re-use of information in it by
> anyone else is not authorised. Any views or opinions presented are solely
> those of the author and do not necessarily represent those of In Practice
> Systems Limited or any of its affiliates. If you are not the intended
> recipient please contact is.helpdesk at inps.co.uk*
>
>
>
> _______________________________________________
> Wtr-general mailing list
> Wtr-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/wtr-general
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20061220/e0f1809b/attachment-0001.html 


More information about the Wtr-general mailing list