[ 
http://jira.openqa.org/browse/WTR-440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=19790#action_19790
 ] 

Ethan commented on WTR-440:
---------------------------

I think that dropping AutoIt entirely is an excellent recommendation. My 
experience has been that, wherever possible, going through the system for 
simulating things (such key-typing) is inferior to going through the DOM (via 
WIN32OLE); simulating through the DOM always works (when implemented properly, 
though that can be tricky) and is generally more cross-browser compatible. 
Going through the system may fail when windows is locked and is usually 
IE-specific, and is error-prone because reliably focusing what you want is very 
hard (sometimes impossible, again when the system is locked). 

Some stuff has to be done through the system, like File Upload dialogs and 
javascript popups. For comparing AutoIt to native windows calls (via Win32API 
or FFI), I have come to dislike autoit very much. Generally with AutoIt you 
refer to a window by window title, which is error-prone if you happen to have 
multiple windows around with the same title. With native windows api calls you 
use the hwnd, which is unique. Since the underlying mechanism of AutoIt is just 
windows API calls, using it really gains you nothing but a rather poor API 
layer. 

> Update AutoIt  ActiveX Control library (AutoItX3.dll)  bundled with Watir to 
> current version
> --------------------------------------------------------------------------------------------
>
>                 Key: WTR-440
>                 URL: http://jira.openqa.org/browse/WTR-440
>             Project: Watir
>          Issue Type: Improvement
>          Components: Gem installer
>    Affects Versions: 1.6.5
>         Environment: Windows all versions
>            Reporter: Joe DiMauro
>
> The AutoIt v3 ActiveX Control library (AutoItX3.dll) bundled with Watir1.6.5 
> is a very old version, (version 3.1.1.0), built back in 2005.
> As of 6/1/2010 the version of the library that is distributed with AutoIt's 
> installer is version 3.3.6.1. It contains many improvements, fixes and new 
> commands, functions and features, that could be useful with Watir if it were 
> included, instead of the down-rev version that is currently bundled with 
> Watir.
> See AutoIt's change log for details on the changes (from 3.1.1.0 to the 
> current version):
>   http://www.autoitscript.com/autoit3/docs/history.htm
> The current AutoItX3 installer is available as a free download at:
>  http://www.autoitscript.com/autoit3/index.shtml
> There is also a 64-bit version of the library (AutoITX3_x64.dll) that might 
> be of use to install with Watir on 64-bit systems.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.openqa.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

Reply via email to