This automation test script using RobotFramework with builtin Request Library
Since RobotFramework based on Python, make sure it already installed.
On this project using python 3.7.3
virtualenv -p python3 env
source env/bin/activate
Run this script for install RobotFramework and libraries
pip install -r requirement.txt
Run this script for running test based on 'Test Case Name'
robot -t "[TEST CASE NAME]" [TEST FILE NAME]
Run this script for running all test on suite
robot [TEST FILE NAME]
e.g : robot api/tests/SampleTest.robot
After finished, it will generate Output File
, Log File
and Report File
.
Since we don't want to expose our APIKEY
, Please Update ${APIKEY}
variable using your Valid APIKEY on api/config.robot
or you can parse the APIKEY on RobotFramework command line using this command
robot -v APIKEY:"[YOUR APIKEY]" [TEST FILE NAME]