Željko Filipin wrote: > I have found the reason why autoit is not installed. > > I am usually logged on as limited user, I only switch to administrator > when needed (I have listened too much of Security Now! podcast, > http://www.grc.com/securitynow.htm). So, I installed watir as limited > user. It seems that autoit can not be installed (or used) unless you > are administrator. > > send_keys_test.rb fails even if administrator installs watir and then > limited user executes test. > > It works fine when I run that test as administrator. > > I logged this in jira (http://jira.openqa.org/browse/WTR-120). This is a great catch. I'm sure this explains the various reports we've had of problems with autoit, and it certainly justifies why it would be wise for us to stop using it.
Let me clarify one point. AutoIt needs to be registered before it can be used. The dll is packaged with the Gem, and what Watir does is that it automatically registers the dll if necessary. If you manually install AutoIt this shouldn't be necessary. That test unregisters AutoIt and then verifies Watir's registration mechanism. I still suspect, however, that if you manually install AutoIt, then the Watir/Autoit calls (except for the registration call) should work. In other words, all the tests, except send_keys_test.rb will pass (until you run send_keys_test -- because it uninstalls AutoIt). Can you manually install AutoIt and then successfully run minmax_test.rb as a limited user? Bret _______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general