warriorfile

Warrior Framework is an open source Automation Framework


License
Apache-2.0
Install
pip install warriorfile==1.0.0

Documentation

warriorframework

warriorframework.org

Warrior Framework is an open source automation framework designed to enable anyone to automate their testing, processes, and repetitive tasks by simplifying the complex process of building an automation infrastructure. As a keyword and data driven framework, Warrior’s infrastructure is built to maximize on re-usability of built in keywords. In addition, Warrior’s app based platform provides the users with native apps to easily implement their automation needs, while providing the user with the ability to customize their own workflow apps.

Prerequisites

Linux

Get VirtualBox here
Get Linux Image here
Follow these Instructions to get a Virtual Machine set up on your system

Python 3.6+ & pip

Follow this tutorial to get the Python you need.

Python Packages used by warriorframework

pexpect
requests
selenium
pysnmp
kafka-python
pyvirtualdisplay
pycryptodome
paramiko
lxml
xlrd
cloudshell-automation-api
pytest
openpyxl
pandas

Procedure to install pip module

1. Latest version warriorframework from PyPI server
   `pip install warriorframework`
2. Specfic Version warriorframework from PyPI Server
   `pip install warriorframework==4.3.0`
3. Uninstall warriorframework
   `pip uninstall warriorframework` 

Clone warriorframework

We strongly recommend getting the latest released version.

Get the Repository

git clone https://github.com/warriorframework/warriorframework_py3.git

Go into warriorframework_py3 Directory

cd warriorframework_py3

Get List of Versions Available

git tag --list" command

Output: warrior-4.3.0<br/> warrior-4.2.0
warrior-4.1.0
warrior-4.1.0-beta
warrior-4.0.0-beta
warrior-3.4.0
warrior-3.3.0
warrior-3.2.0

Check the Current Version You Are At

git branch

Output:

\* master
\* indicates the active version.
In the above example master is the active version.
If the active version is master it means you are not using a standard release version of warriorframework and hence it may not be a stable tested version.

Get A Specific Version from master

git checkout warrior-4.3.0

Output:

Note: checking out 'warrior-4.3.0'.

You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example:

git checkout -b new_branch_name

HEAD is now at 2bba292... Merge pull request #234 from warriorframework/release-warrior-4.1.0

Verify the Active Version.

git branch

Output:

\* (HEAD detached at warrior-4.3.0)
master

\* indicates the active version.