QALAB, proyect manager for QA open source proyects, managing selenium, appium, selendroid drivers
Project description
Branch name |
QAlab |
QAcode |
QAdmin |
QAdoc |
QAtestlink |
---|---|---|---|---|---|
master |
|
|
|
|
|
How to install ?
Clone this repo : git clone https://github.com/netzulo/qalab.git
Enter on repo directory : cd qalab
Clone submodules : git submodule update --init --recursive
Attach branches HEAD : git submodule foreach git checkout master
Install qalab package: from PIP pip install qalaboratory or from setup.py file python setup.py install
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
Create configuration : python qalab/qaenv.py --server_driver selenium --mode hub --install
Start Hub : python qalab/qaenv.py --server_driver selenium --mode hub --start
Node
Create configuration : python qalab/qaenv.py --server_driver selenium --mode node --install
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
Install SDK
Install appium: npm install -g appium
Create configuration : python qalab/qaenv.py --server_driver appium --mode node --install
Start Node : python qalab/qaenv.py --server_driver appium --mode node --start --platform win64
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 |
How to exec tests ?
Tests from setup.py file : python setup.py 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 |
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 |
selenium-tests |
Execute Hub+Node tests |
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 |
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for qalaboratory-0.2.0-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 968c0259cfaaf687a828cee1ee8d91111dff51ad9dea6dcce0e3ef366a6640c2 |
|
MD5 | 69b27ce20f297aac3b87772e6eaa8686 |
|
BLAKE2b-256 | 55e4ccd5e71da81d9e71a698a83adf93187aec9dd4657c9cafdc8a87f876a390 |