Skip to main content

Selenium integration for Zope 3

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zc.selenium-1.2.1.tar.gz (221.2 kB view details)

Uploaded Source

File details

Details for the file zc.selenium-1.2.1.tar.gz.

File metadata

  • Download URL: zc.selenium-1.2.1.tar.gz
  • Upload date:
  • Size: 221.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for zc.selenium-1.2.1.tar.gz
Algorithm Hash digest
SHA256 ddca0c44198765b08c113364cd8b23a869be6f777c7244ab2924e60866723e71
MD5 0f230eb5a0f02a78e7d8f008bd2e7396
BLAKE2b-256 3bdae3f981658c3f72d70b79ba9abcc59450370cb85b2087715520a8d780bf59

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page