WTRobot is keyword driven web testing framework
Project description
Introduction
The web automation framework inspired from behave and robot framework. Its an No-Code testing framework.
Setup
Install
$ pip install wtrobot
NOTE
- Selenium_drivers folders have your selenium webdrivers geckodrivers(for firefox) and chromedrivers(for chrome and chromium)
- If script fails due to drivers issue, you need to find appropriate selenium webdriver according to your browser version
- Unzip or untar the executable and place in selenium_drivers dir.
Package Maintainers Guide
- Install all dependencies to build & push package to pypi
$ pip install -r dev-requirements.txt
also install make
NOTE: password less login to pypi creare .pypirc as mentioned in https://packaging.python.org/en/latest/specifications/pypirc/
- Build & Push to pypi
$ make build-push (default push to pypi repo)
$ make build-push PUSH_TO=testpypi (one can specify where to push package)
Executing Script
- Write all your test cases into test.yaml and execute
$ wtrobot
NOTE : On initial run script will ask you for few configuration question and create config.json file.
Syntax of test.yaml file
-
Write your WTRobot test cases in test.yaml files
-
Scenario and name are just detailed text description about your test case scenario and steps, they are useful for detailed logging
-
There are only three important section to be considered while writing this script file
- action: what to perform (e.g. click, input and etc)
- target: on what to perform (e.g. Text widget on web page, xpath of widget and etc)
- value: with what data (e.g. if an input field then what value to input)
License
This application is licensed under the MIT License. Please read file LICENSE for details.
Credits
Please read file CONTRIBUTORS for list of contributors.
Happy Testing :)
Project details
Release history Release notifications | RSS feed
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
File details
Details for the file wtrobot-0.0.3.tar.gz
.
File metadata
- Download URL: wtrobot-0.0.3.tar.gz
- Upload date:
- Size: 17.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d34a2b1424f8de3fb60f4bd55cc59cea65868959d16b4f3079f66da26513d86 |
|
MD5 | 60c7ff3abe181fcd9844a2c2b68cabe7 |
|
BLAKE2b-256 | c8aca56c998ad4aff2b690420f25fd0bdc725a417bc1f8169ecb5741022df047 |
File details
Details for the file wtrobot-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: wtrobot-0.0.3-py3-none-any.whl
- Upload date:
- Size: 23.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | de1d1b333420a75b9ce7da73338de046f54ca06d445717a1b0e36e45609d97e8 |
|
MD5 | 39d221ae83227f97c74588b810af9c69 |
|
BLAKE2b-256 | 607718d330627a7746606c2de84156b17b93553280fb29a4cb86921db5361183 |