Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install zc.selenium

How to install zc.selenium

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install zc.selenium
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
1.2.1 Available View build log
Windows (64-bit)
1.2.1 Available View build log
Mac OS X (10.5+)
1.2.1 Available View build log
Linux (32-bit)
1.2.1 Available View build log
Linux (64-bit)
1.2.1 Available View build log
 
License
ZPL 2.1
Imports
Lastest release
version 1.2.1 on Jan 5th, 2011

Selenium testing for Zope 3

This package provides an easy way to use Selenium tests for Zope 3 applications. It provides Selenium itself as a resource directory, and it provides a test suite listing generated from registered views, allowing different packages to provide tests without a central list of tests to be maintained.

Selenium test views can also be written in Python using the zc.selenium.pytest module. This can make tests substantially easier to write.

The file pytest.txt explains how to write tests using the Python format.

The package also provides a test runner that:

  • Runs a Zope instance
  • Starts a local browser, if necessary,
  • Tells the local browser to run the tests.

See selenium.txt to see how to set up and use the test runner.

Selenium Issues

There is a known issue in the included version of Selenium; this affects clicking on images in MSIE. The Selenium bug report for this problem is here:

http://jira.openqa.org/browse/SRC-99

A patch in the file is provided in the file:

Selenium-Core-SRC-99.patch

It is not known whether this patch should always be applied.

CHANGES

1.2.1 (2009-02-16)
  • Added missing tests.zcml.
1.2.0 (2009-01-22)
  • Moved self-test from configure.zcml to tests.zcml to not automatically

System Message: WARNING/2 (<string>, line 57)

Bullet list ends without a blank line; unexpected unindent.

include them when zc.selenium is included. - pytest's selenium coverts arguments to strings now. This allows calls like self.selenium.pause(500).

1.1.0 (2009-01-19)
  • Feature: Updated to the latest Selenium Core release 0.8.3.
  • Feature: Added a --base-url option to the selenium script, so that one is

System Message: WARNING/2 (<string>, line 67)

Bullet list ends without a blank line; unexpected unindent.

not dependent to include the default layer in the default skin. (Who does this? What a security hole!)

  • Feature: Added a -t option to filter selenium tests by regexps. You can

System Message: WARNING/2 (<string>, line 71)

Bullet list ends without a blank line; unexpected unindent.

also specify multiple -t options.

  • Bug: Added documentation on how to setup zc.selenium.
  • Bug: Allow wsgi option to work with python 2.5
  • First public release.
1.0.0 (2008-03-27)
  • Internal release.

Subscribe to package updates

Last updated Jan 5th, 2011

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.