Skip to main content

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 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 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 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.

Release files for zc.selenium 1.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zc.selenium 1.2.1
File Size Uploaded
zc.selenium-1.2.1.tar.gz 221.2 kB Details

Release files / zc.selenium-1.2.1.tar.gz

Download URL zc.selenium-1.2.1.tar.gz
Size 221.2 kB
Tags Source
SHA-256 checksum
How to use checksums
ddca0c44198765b08c113364cd8b23a869be6f777c7244ab2924e60866723e71
BLAKE2b-256 checksum
How to use checksums
3bdae3f981658c3f72d70b79ba9abcc59450370cb85b2087715520a8d780bf59
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.2.1 This release

1 release file

1.2.0

1 release file

1.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page