QALAB, proyect manager for QA open source proyects, managing selenium, appium, selendroid drivers
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
logs
modules
qalab
.gitattributes
.gitignore
.gitmodules
.travis.yml
LICENSE
README.rst
appveyor.yml
pytest.ini
qalab.pyproj
qalab.sln
setup.cfg
setup.py
sonar-project.properties
tox.ini

README.rst

QA laboratory

Issues on Github Pull Request opened on Github Release version on Github Release date on Github
Branch name QAlab QAcode QAdmin QAdoc QAtestlink
master qalab_build_master_lin qalab_build_master_win qacode_build_master_lin qacode_build_master_win qadmin_build_master_lin qadmin_build_master_win qadoc_build_master_lin qadoc_build_master_win qadoc_build_master_lin qadoc_build_master_win

Documentation

Code Metrics by sonarqube

Quality Gate Lines Bugs Vulnerabilities Code Smells Debt ratio Comments

How to install ?

    1. Clone this repo : git clone https://github.com/netzulo/qalab.git
    1. Enter on repo directory : cd qalab
    1. Clone submodules : git submodule update --init --recursive
    1. Attach branches HEAD : git submodule foreach git checkout master

How to exec tests ?

    1. Clone this repo : git clone https://github.com/netzulo/qalab.git
    1. Enter on repo directory : cd qalab
    1. Execute test with setup.py : python setup.py test

PIP install

pip install qalaboratory

Command Usage

usage: qaenv.py [-h] [-v] [-sd SERVER_DRIVER] [-m MODE] [-i] [-s]
                [-p PLATFORM] [-dcp DRIVER_CONFIG_PATH]

Performs selenium drivers operations

optional arguments:
  -h, --help            show this help message and exit
  -v, --verbose         verbose level... repeat up to three times.
  -sd SERVER_DRIVER, --server_driver SERVER_DRIVER
                        Select server driver, values are:
                        [selenium,appium,selendroid]
  -m MODE, --mode MODE  Select mode, values are: [hub, node]
  -i, --install         Download driver server jar
  -s, --start           Start driver server jar
  -p PLATFORM, --platform PLATFORM
                        Select mode, values are: [lin32,lin64,win32,win64]
  -dcp DRIVER_CONFIG_PATH, --driver_config_path DRIVER_CONFIG_PATH
                        Use different absolute PATH+FILE_NAME to read
                        DRIVER_CONFIG

----- help us on , https://github.com/netzulo/qalab -------

How to create HUB + Node ?

Hub

    1. Create configuration : python qalab/qaenv.py --server_driver selenium --mode hub --install
    1. Start Hub : python qalab/qaenv.py --server_driver selenium --mode hub --start

Node

    1. Create configuration : python qalab/qaenv.py --server_driver selenium --mode node --install
    1. Start Node : python qalab/qaenv.py selenium --server_driver selenium --mode node --start --platform win64

Appium

Must be installed SDK and appium (from NPM) as global package

    1. Install SDK
    1. Install appium: npm install -g appium
    1. Create configuration : python qalab/qaenv.py --server_driver appium --mode node --install
    1. Start Node : python qalab/qaenv.py --server_driver appium --mode node --start --platform win64

TOX environments

Env name Env description
py27,py34,py35,py36 Python supported versions
docs Generate doc HTML in /docs
flake8 Exec linter in qalab/ tests/
selenium-hub Start intalled selenium hub
selenium-node Start intalled selenium node
selendroid-hub Start intalled selendroid hub
selendroid-node Start intalled selendroid node
appium-node Start intalled appium node

QADrivers

Drivers Linux 32 Linux 64 Windows 32 Windows 64
Chrome OK OK OK OK
Firefox OK OK OK OK
PhantomJs OK OK OK OK
Internet Explorer
OK OK
Edge
OK OK
Android OK OK OK OK