Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Mozilla UI automation tool

README.md

Automation + Tools Mozmill Repository

Mozmill is a UI Automation framework for Mozilla apps like Firefox and Thunderbird. It's both an addon and a Python command-line tool.

The Mozmill repository contains Mozmill and supporting code which is also used for MozBase and other Mozilla automation efforts.

Installation

To work with the development version of Mozmill or its utilities, check out the code from the Github repo:

virtualenv mozmill
cd mozmill
. bin/activate
mkdir src
cd src
git clone http://github.com/mozautomation/mozmill.git
cd mozmill
./setup_development.py

Repository Contents

The Mozmill repository contains python packages for Mozmill and MozBase.

In addition, several repository support files exist for repository documentation and management.

Python Packages

The mozmill repository contains several Python packages:

  • jsbridge : python to JavaScript bridge used by Mozmill to communicate test run information.
  • mozmill : Mozilla test harness and event dispatcher
  • mutt : test framework for Mozmill and related utilities

Each of these packages contains a README.md file in markdown syntax giving in-depth information on their utility. These packages all make use of setuptools for installation. It is highly recommended that you use virtualenv to keep your python environment separate from your system packages. In this way, you can keep multiple versions of packages around without worrying about cross-contamination and versioning woes.

Repository Management

In addition to the python packages, several files exist at the top level of the repository to help keep repository management sane:

  • README.md : documents what the Mozmill repository is all about; the content you're reading now

  • setup_development.py : a python script that will install all python packages in the Mozmill repository in development mode, respecting dependency order. This means that code changes will be respected the next time the python interpreter is invoked. Using virtualenv, checking out the git repository, and invoking setup_development.py with the virtualenv's copy of python is the most robust way of deploying the software

  • documentation.txt : the documentation strategy for packages in the Mozmill repository

  • docs.manifest : manifest of documentation for mirroring to MDN using the document-it script (not included in the repository). See documentation.txt for details

  • versionbump.py : bump the version of mozmill. Use python versionbump.py --help for help

Help and Contributing

Mozmill and the Mozmill repository are maintained by the Mozilla Automation and Testing Team.

Please file issues on github, bugzilla, or join the #ateam or #mozmill channel on irc://irc.mozilla.org/ .

Something went wrong with that request. Please try again.