Skip to main content

Main automation lib

Project description

Issues on Github Pull Request opened on Github Release version on Github Release date on Github
Branch Linux Deploy Windows Deploy CircleCI - Docker CodeClimate

Python tested versions

3.6 3.5 3.4 3.3 3.2 2.7
Supported Supported Supported Not Supported Not Supported Supported

How to install ?

  • Install from PIP : pip install qacode
  • Install from file : python install


How to exec tests ?

  • Tests from file : python test
  • Install from PIP file : pip install tox
  • Tests from tox : tox -l && tox -e TOX_ENV_NAME ( see tox.ini file to get environment names )
TOX Env name Env description
py27,py34,py35,py36 Python supported versions
flake8 Exec linter in qalab/ tests/
coverage Generate XML and HTML reports
docs Generate doc HTML in /docs

Configuration File

  "bot": {
    "log_output_file": "logs/",
    "log_name": "qacode",
    "log_level": "DEBUG",
    "mode": "remote",
    "browser": "chrome",
    "options": { "headless": false },
    "url_hub": "http://localhost:11000/wd/hub",
    "drivers_path": "../qadrivers",
    "drivers_names": [

Getting Started

Just starting example of usage before read Usage Guide (or refer to `QAcode’s Documentation`_).

from qacode.core.bots.bot_base import BotBase
from qacode.core.webs.controls.control_base import ControlBase
from qautils.files import settings

SETTINGS = settings(

    bot = BotBase(**SETTINGS)
    ctl_config = { "selector": "input[name='username']"}
    ctl = ControlBase(bot, **ctl_config)
    # END
    import pdb; pdb.set_trace() # TODO, remove DEBUG lane
except Exception as err:
    print("ERROR: {}".format(err))

Project details

Download files

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

Files for qacode, version 0.5.8
Filename, size File type Python version Upload date Hashes
Filename, size qacode-0.5.8-py3.5.egg (146.8 kB) File type Egg Python version 3.5 Upload date Hashes View
Filename, size qacode-0.5.8.tar.gz (90.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page