[MacRuby-devel] [ANN] AXElements: UI Automation with MacRuby

Mark Rada mrada at marketcircle.com
Thu Sep 29 07:55:03 PDT 2011


Hey all,

On behalf of Marketcircle Inc., I am open sourcing a library that I have been working on for a while now. AXElements is an alternative to using Auotmator or the ScriptingBridge frameworks. AXElements provides more generic actions than it's alternatives and should work with almost any Cocoa app without needing to be explicitly supported; you can think of it as Capybara for desktop apps. 

It is meant to be used for automated testing of GUI apps, but can be used for general UI automation. You can combine it with testing libraries like minitest, Rspec, or macbacon; but there is nothing stopping you from combining AXElements with James to voice command some workflows.

The source is available on github and I have put together some small tutorails in the documentation. I've also made a beta release to rubygems, and will make a proper release soon. To get it now:

     macgem install AXElements --pre

And then require 'ax_elements' to get started in macirb or a script. 

Source: http://github.com/Marketcircle/AXElements
Documentation (including some tutorials): http://rdoc.info/github/Marketcircle/AXElements/master/frames/file/README.markdown

Cheers,
	Mark Rada



More information about the MacRuby-devel mailing list