The pianola package

[Tags: deprecated, library, mit]


This is a library for remotely controlling Java Swing desktop applications that have been instrumented with a special pianola agent. The agent exposes the Swing component hierarchy over the network, and accepts requests for generating GUI events. The library handles the interaction on the Haskell side.

[Skip to ReadMe]


Versions0.1.0, 0.1.1
Change logNone available
Dependenciesattoparsec (>=0.10), attoparsec-iteratee (>=0.3), base (>=4.4 && <5), bytestring (>=0.9), comonad (>=3.0), comonad-transformers (>=3.0), containers (>=0.4), either (>=3.4), errors (>=1.3), filepath (>=1.3), free (>=3.2), iteratee (>=0.8), logict (>=0.5), msgpack (>=0.7), mtl (>=2.1), network (>=2.4), pipes (>=3.1), streams (>=3.1), text (>=0.11), transformers (>=0.2) [details]
AuthorDaniel Díaz Carrete
CategoryJvm, GUI
Source repositoryhead: git clone
UploadedTue Mar 19 23:54:53 UTC 2013 by DanielDiazCarrete
Downloads329 total (16 in last 30 days)
0 []
StatusDocs uploaded by user
Build status unknown [no reports yet]




Maintainers' corner

For package maintainers and hackage trustees

Readme for pianola-0.1.0

Pianola is a Haskell library that lets you monitor and control Java Swing applications through a network connection. This can be useful for performing automated GUI testing.

To work with the library, the Application Under Test (AUT) must have been instrumented with a Java-side Pianola agent. For instructions on how to compile an set up the agent, check the README file in the backends/java-swing folder.

A Java Swing example application is included in the backends/java-swing-testapp folder.

For instructions on how to use the library, check out the Haddock documentation for the Pianola.Tutorial package.

The tests folder contains automated tests for the library. For the tests to work, the Java example application must be up and running.

The examples folder contains scripts for interacting with popular Java Swing applications (only DbVisualizer at the moment). Check out the corresponding README for instructions on how to set up the Pianola agent for these applications.

Pianola offers some of the functionality of tools like Marathon, although it doesn't have any recording capabilities. The scripts must be written by hand. Also, unlike Marathon, Pianola doesn't concern itself with launching the AUT, which must be started through other means.