Skip to main content

WTRobot is keyword driven web testing framework

Project description

downloads downloads

Introduction

The web automation framework inspired from behave and robot framework. Its an No-Code testing framework.

Learn more

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

  1. 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/

  1. 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


Download files

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

Source Distribution

wtrobot-0.0.3.tar.gz (17.7 kB view hashes)

Uploaded Source

Built Distribution

wtrobot-0.0.3-py3-none-any.whl (23.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page