Automated GUI Testing software: automated menu clicking

[Note: This article was originally written in 2010.]

If you’re following along with my Automated GUI Testing (AGT) software progress, I’m showing my latest addition in another YouTube video. In short, if you supply a simple text file to describe your menus and menu items, I’ve created a new tool that does the following:

  • Automatically generates menu “click” commands
  • Automatically generates menu item “click” commands
  • Automatically generates tests/demos for these items

Some of this is shown in that brief (1:37) YouTube video.

The way it works — at least on a MacOS system — is that you define the structure of your application’s menu system like this:

Firefox
Firefox | About Firefox
---
Firefox | Preferences

File
File | New Window
File | New Tab

Edit
Edit | Copy
Edit | Paste

View
History
Help

# many other menu items omitted here to keep this short

Then, using this file as input, the new tool creates the code mentioned above to provide methods to “click” all your menus and menu items.

My motivation for this new feature is simple: I’m trying to remove every legitimate complaint people might have for not creating automated GUI tests. “But Al, creating all these ‘menu click’ methods is hard” ... well, okay, but not any more. :)

Automated GUI testing and menu-clicking

I hope to have this ready for public consumption a day or two. Right now I’m taking a few moments to re-package things to make it much easier for testers, and I’ll make this new tool available when I have the re-packaging complete.

As a final note, I just created a new Agile/Automated GUI Testing “product” page, and that will now be the central location for downloads and documentation.

Yours in automated GUI testing in Boulder/Louisville, Colorado,
Al