Skip to main content

Extended Selenium2 web testing library for Robot Framework with AngularJS support

Project description

Introduction

ExtendedSelenium2Library is web testing library for Robot Framework that uses the Selenium 2 (WebDriver) libraries from the Selenium project, to control the web browser with AngularJS support.

It leverages Selenium2Library internally to provide AngularJS synchronization support, deliver keywords enhancement, and strive for a seamless migration from Selenium2Library.

ExtendedSelenium2Library runs tests in a real browser instance. It should work in most modern browsers and can be used with both Python and Jython interpreters.

More information about this library can be found in the Keyword Documentation.

Installation

Using pip

The recommended installation method is using pip:

pip install robotframework-extendedselenium2library

The main benefit of using pip is that it automatically installs all dependencies needed by the library. Other nice features are easy upgrading and support for un-installation:

pip install --upgrade robotframework-extendedselenium2library
pip uninstall robotframework-extendedselenium2library

Notice that using --upgrade above updates both the library and all its dependencies to the latest version. If you want, you can also install a specific version or upgrade only the Selenium tool used by the library:

pip install robotframework-extendedselenium2library==x.x.x
pip install --upgrade selenium
pip install selenium==x.xx

Proxy configuration

If you are behind a proxy, you can use --proxy command line option or set http_proxy and/or https_proxy environment variables to configure pip to use it. If you are behind an authenticating NTLM proxy, you may want to consider installing CNTML to handle communicating with it.

For more information about --proxy option and using pip with proxies in general see:

Manual installation

If you do not have network connection or cannot make proxy to work, you need to resort to manual installation. This requires installing both the library and its dependencies yourself.

gpg --keyserver pgp.mit.edu --search-keys D1406DE7
  • Select the number from the list to import the public key

  • Verify the package against its PGP signature:

gpg --verify robotframework-extendedselenium2library-x.x.x.tar.gz.asc robotframework-extendedselenium2library-x.x.x.tar.gz
  • Extract each source distribution to a temporary location.

  • Go to each created directory from the command line and install each project using:

python setup.py install

If you are on Windows, and there are Windows installers available for certain projects, you can use them instead of source distributions. Just download 32bit or 64bit installer depending on your system, double-click it, and follow the instructions.

Directory Layout

doc/

Keyword documentation

src/

Python source code

Usage

To write tests with Robot Framework and ExtendedSelenium2Library, ExtendedSelenium2Library must be imported into your Robot test suite. See Robot Framework User Guide for more information.

Building Keyword Documentation

The Keyword Documentation can be found online, if you need to generate the keyword documentation, run:

make doc

License

Copyright (c) 2015 Richard Huang.

This library is free software, licensed under: GNU Affero General Public License (AGPL-3.0).

Documentation and other similar content are provided under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

Project details


Download files

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

Source Distributions

robotframework-extendedselenium2library-0.4.12.zip (97.8 kB view details)

Uploaded Source

File details

Details for the file robotframework-extendedselenium2library-0.4.12.zip.

File metadata

File hashes

Hashes for robotframework-extendedselenium2library-0.4.12.zip
Algorithm Hash digest
SHA256 4ade7ff273d25fda98b0da413c0d266fcfe906e005271afca4ed79e94c004d96
MD5 7458a0c52504d7cc4354393ffb5c9380
BLAKE2b-256 22229014c0672db50fabc3d5dce4fa163c48983f1e741f72122cf5484f00d0c7

See more details on using hashes here.

File details

Details for the file robotframework-extendedselenium2library-0.4.12.tar.gz.

File metadata

File hashes

Hashes for robotframework-extendedselenium2library-0.4.12.tar.gz
Algorithm Hash digest
SHA256 eca18547550601ff9e29016fc612525fe2506b0d7f6f8d65deb4114b3ba0215b
MD5 f9512c16298c1fdc7b42ce8e37d6d342
BLAKE2b-256 15f19241a91023b8e45e4072f66641081b3d43d6f6768ec4e367ad5583f54c57

See more details on using hashes here.

Supported by

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