| CI Provider | Status |
|---|---|
| Github Actions | RobotWebServices |
| Travis |
- Added Travis Integration
- Added Github Actions
- Added one small test which is in the document example
- To run on CI added docker support.
- Documentation is insightful, please read before adopting
- Quick setup work.
- python 3.x.x
- pip3
- virtualenv
- Docker Setup
-
Clone
git clone https://github.com/imsiddharth/RobotWebServices.git cd RobotWebServices -
python --verison
Python 3.8.0
-
pip3 install
pip3 install virtualenv virtualenv .env source .env/bin/activate pip install robotframework pip install robotframework-seleniumlibrary -
Run
robot -d results Tests/
-
Execution Log
(venv) siddharth@MacBook-Pro RobotWebServices % robot -d results Tests
==============================================================================
Tests
==============================================================================
Tests.TC1 GET Request
==============================================================================
Get Weather Info | PASS |
------------------------------------------------------------------------------
Tests.TC1 GET Request | PASS |
1 critical test, 1 passed, 0 failed
1 test total, 1 passed, 0 failed
==============================================================================
Tests.TC2 POST Request
==============================================================================
Customer Registration ....201
.{
"SuccessCode": "OPERATION_SUCCESS",
"Message": "Operation completed successfully"
}
Customer Registration | PASS |
------------------------------------------------------------------------------
Tests.TC2 POST Request | PASS |
1 critical test, 1 passed, 0 failed
1 test total, 1 passed, 0 failed
==============================================================================
Tests | PASS |
2 critical tests, 2 passed, 0 failed
2 tests total, 2 passed, 0 failed
==============================================================================
Output: /Users/siddharth/PycharmProjects/RobotWebServices/results/output.xml
Log: /Users/siddharth/PycharmProjects/RobotWebServices/results/log.html
Report: /Users/siddharth/PycharmProjects/RobotWebServices/results/report.html