This looks very useful. I skimmed through the documentation and didn't see anything for accessing NSStatusBar applications. Is this possible? Or would I need to add some hooks in my application to allow the test to open the windows when launched versus via clicking a menuitem from the NSStatusBar menu?
Brice Ruth, FCD
Software Engineer, Madison WI
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
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel