GUI Test frameworks

I’m looking for “recommendations” (not hits found by search engines) for frameworks used in testing GUI’s.
We will be testing a wxPython program, but that really should not matter, unless the framework provides some additional features because the target program is written in Python.

Key features desired are robustness, ease-of-use, scalability, “script-ability”, error handling and reporting…
It doesn’t have to be free or open source, as long as it meets the above requirements and that you have “first-hand” experience using the framework

Please reply off list

Thanks

On-list would be nice. I’d like to hear what people recommend too.

Gre7g

···

On 6/4/08, Tony Cappellini cappy2112@gmail.com wrote:

Please reply off list

Is unittest capable of pushing buttons in a GUI?

Not unittest itself, but you can create a wxPython event and have it
processed as a regular event from your unit tests. For example, this
opens a menu item as if the user clicked on it:

I’m looking for a tool/framework that is specifically for testing GUI’s from the outside.
We dont want to modify the program we are testing, and it will be tested as an exe.

WATSUP - Windows Application Test System Using Python
http://www.tizmoi.net/watsup/intro.html

<snip>
The WATSUP toolkit is designed to allow the automated test of Windows
applications. The system uses the "object-based" mechanism for
identifying and invoking actions on controls and menu items.

Testers/developers write automated functional tests which follow a
prescriptive, possibly branching, possibly dynamic "user workflow". The
script can check for changes in the gui itself, operating system
environment, file system, database table and records, network, internet
or extranet urls/pages/web services ... - in fact anywhere that there
could be changes.

Examination of the functions in module autoWinGui.py within the watsup
package shows the variety of windows control items that can be
checked/modified. These include:

- Get and set text in editable controls
- Edit and select items from controls supporting lists
- Click and double-click controls to invoke their actions
- Determine the state of menu items and invoke them

The system also provides tools for finding windows by caption and/or
class, controls by text/caption and/or class, and menu items by text or
position. (One of the aspirations of this project is to continue to
extend the list to include as many controls as possible) .
</snip>

Disclaimer: This info from a recent post on one of the Python mailing
lists. I snipped it and added it to my look-at-when-i-have-time list :slight_smile:

If you give this a try, let us know how well it works for you.

Malcolm