Skip to main content

A Python wrapper for controlling the Selenium Remote Server

Project description

haufe.selenium

A wrapper for controlling the Selenium remote server. The Selenium RC server is a Java-based server for the remote executing of Selenium tests.

See also:

http://www.openqa.org/selenium-rc/

Installation

Use easy_install:

easy_install --no-deps haufe.selenium

Usage

You can control the server process using selsrvctl:

selsrvctl start | stop | status | foreground | fg

SeleniumTestcase

haufe.selenium also provides a dedicated testcase that should be used as a base class for all Selenium related unittests.

Configuration through environment variables:

SELENIUM_HOST - defines the hostname where the Selenium remote server is running

SELENIUM_PORT - defines the port of the Selenium remote server

SELENIUM_BROWSER - the browser name to be used for running tests (*iexplore, *firefox, …). Check the Selenium RC server documentation for details

SELENIUM_INSTANCE_URL - the base URL of the Zope instance to be used to run the test against. The URL must not contain any path information - only something like:

http://host:port

Licence

This package is released under the LGPL 2.1. See LICENSE.txt.

Changes:

0.2.0 (23.10.2007)

  • first public releasde

0.1.3 (02.10.2007)

  • updated selenium.py (from V 0.9.2)

  • overriding selenium.click() in order to capture Haufe-specific error messages

0.1.2 (26.09.2007)

  • added module level aliases for SeleniumTestcase and selenium_enabled

  • updated to official Selenium RC V 0.9.2 server

0.1.1 (20.08.2007)

  • testing: explicit check for Selenium server

  • added testing.selenium_enabled flag

  • basic support for starting the Selenium server in foregground on Windows systems

0.1.0 (11.09.2007)

  • initial 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

haufe.selenium-0.2.0.tar.gz (4.7 MB view hashes)

Uploaded Source

Built Distributions

haufe.selenium-0.2.0-py2.5.egg (4.8 MB view hashes)

Uploaded Source

haufe.selenium-0.2.0-py2.4.egg (4.8 MB view hashes)

Uploaded Source

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