Mozmill

  • Revision slug: Mozmill
  • Revision title: Mozmill
  • Revision id: 68217
  • Created:
  • Creator: Whimboo
  • Is current revision? No
  • Comment 18 words added, 5 words removed

Revision Content

{{ draft() }}

MozMill is a test tool and framework for writing automated tests for Gecko based applications (Firefox, Thunderbird, Songbird, etc). It is built as an extension which includes an IDE (link to IDE doc) or as a command line client to help you write, run, and debug tests. MozMill has an extensive API to help you write functional tests that simulate user interactions, as well as a full unittest API (link to JUM).

Overview

 

Installation

Depending on your needs you can install Mozmill in two different ways. If you want to have an editor to create and run Mozmill Tests then install the Mozmill extension. It's the simplest method to get familiar with Mozmill. The add-on will be available after the next restart of the application.

On the other hand you can also use the command-line client to run existing Mozmill tests. Therefor the Python interpreter and other libraries have to be installed. See a breakdown for a couple of supported platforms below.

Windows

Before Mozmill can be installed some external programs have to be present on your system. Install those manually:

  • Python 2.5.4
  • Pywin32 for Python 2.5
  • Setuptools (Note: Remember that you have to add the Python scripts folder to your path environment variable)

Now with Setuptools installed Mozmill can be easily installed via the console:

$ easy_install mozmill

Mac OS X

To install Mozmill on OS X you have to run the manual installation of Xcode (which can be found on the original OS X DVD) and Mac Ports. Once both are available on your system you can install all necessary modules and Mozmill with the following commands in the terminal:

$ sudo port install python25 py25-setuptools
$ sudo easy_install mozmill

Ubuntu

To install Mozmill on Ubuntu you only have to run two commands in the terminal:

$ sudo apt-get install python python-setuptools
$ sudo easy_install mozmill 

Revision Source

<h3>{{ draft() }}</h3>
<p>MozMill is a test tool and framework for writing automated tests for Gecko based applications (Firefox, Thunderbird, Songbird, etc). It is built as an <a class="link-https" href="https://addons.mozilla.org/en-US/firefox/addon/9018" title="https://addons.mozilla.org/en-US/firefox/addon/9018">extension</a> which includes an IDE (link to IDE doc) or as a command line client to help you write, run, and debug tests. MozMill has an extensive API to help you write functional tests that simulate user interactions, as well as a full unittest API (link to JUM).</p>
<h3>Overview</h3>
<p> </p>
<h3>Installation</h3>
<p>Depending on your needs you can install Mozmill in two different ways. If you want to have an editor to create and run <a class="internal" href="/en/Mozmill_Tests" title="en/Mozmill Tests">Mozmill Tests</a> then install the <a class="link-https" href="https://addons.mozilla.org/en-US/firefox/addon/9018" title="https://addons.mozilla.org/en-US/firefox/addon/9018">Mozmill extension</a>. It's the simplest method to get familiar with Mozmill. The add-on will be available after the next restart of the application.</p>
<p>On the other hand you can also use the command-line client to run existing Mozmill tests. Therefor the Python interpreter and other libraries have to be installed. See a breakdown for a couple of supported platforms below.</p>
<h4>Windows</h4>
<p>Before Mozmill can be installed some external programs have to be present on your system. Install those manually:</p>
<ul> <li><a class="external" href="http://www.python.org/download/releases/2.5.4/" title="http://www.python.org/download/releases/2.5.4/">Python 2.5.4</a></li> <li><a class="external" href="http://sourceforge.net/projects/pywin32/files/" title="http://sourceforge.net/projects/pywin32/files/">Pywin32</a> for Python 2.5</li> <li><a class="external" href="http://pypi.python.org/pypi/setuptools" title="http://pypi.python.org/pypi/setuptools">Setuptools</a> (Note: Remember that you have to add the Python scripts folder to your path environment variable)</li>
</ul>
<p>Now with Setuptools installed Mozmill can be easily installed via the console:</p>
<pre><code>$ easy_install mozmill</code>
</pre>
<h4>Mac OS X</h4>
<p>To install Mozmill on OS X you have to run the manual installation of Xcode (which can be found on the original OS X DVD) and <a class="external" href="http://www.macports.org/install.php" title="http://www.macports.org/install.php">Mac Ports</a>. Once both are available on your system you can install all necessary modules and Mozmill with the following commands in the terminal:</p>
<pre><code>$ sudo port install python25 py25-setuptools<br></code><code>$ sudo easy_install mozmill<br></code></pre>
<h4>Ubuntu</h4>
<p>To install Mozmill on Ubuntu you only have to run two commands in the terminal:</p>
<pre>$ sudo apt-get install python python-setuptools
$ sudo easy_install mozmill 
</pre>
Revert to this revision