/selexe

A tool to directly execute selenese files created by Selenium IDE

Primary LanguagePythonOtherNOASSERTION

Overview

Selexe run tests generated by Selenium IDE, from the command line or side by side your application testsuite, using the Selenium Webdriver API.

Selenium IDE is an widely and easy-to-use application for recording, editing and running selenium tests, its main issue is it's tied to firefox and its API is based on the legacy Selenium core, in addition to a set of fairly broken Webdriver language-specific exporters.

This project aims full compatibility with test files generated by Selenium IDE, with especial care on mimicking its behavior, using Selenium 2 (Selenium Webdriver).

Install

Creating virtualenv (recommended):

# with python2
virtualenv env
. env/bin/activate
# with python3 (broken on Ubuntu 14.04 and 14.10)
python -m venv env
. env/bin/activate

Once in virtualenv, you can install selexe directly from this git repository using pip.

pip install git+https://github.com/qdqmedia/selexe.git

Usage

From provided command line entry point.

selexe path/to/your/file.sel

Running python module from command line

python -m selexe path/to/your/file.sel

From python.

import selexe

runner = selexe.SelexeRunner('path/to/your/file.sel')
runner.run()

Missing Features

  • Selenium IDE commands -

License

Initially, selexe has been written by Ralph Heinkel (www.ralph-heinkel.com) and is released under MIT license.

Credits

  • Ralph Heinkel, initial project maintainer.
  • Felipe A. Hernandez, contributor.
  • All of those great people who developed Selenium.