skip to navigation
skip to content

haufe.selenium 0.3.0

A Python wrapper for controlling the Selenium Remote Server

Downloads ↓

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 webserver 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.3.0 (17.02.2010)

  • updated to Selenium RC V 1.0.1

0.2.1 (05.05.2008)

  • added support for several SELENIUM_INSTANCE_URLxxx' environment variables
  • added environment variable SELENIUM_HTTPS_PORT

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
 
File Type Py Version Uploaded on Size # downloads
haufe.selenium-0.3.0.tar.gz (md5) Source 2010-02-17 4MB 445