https://github.com/robotframework/WebDemo was used as a base app for the demo
pip install -r requirements.txt
python demoapp/server.py
After the demo application is started, it is be available in URL http://localhost:7272.
Update access_key, secret_key (and jira_server_url if using server version) in download_features.py
then run
python download_features.py
gherkin2robotframework login_tests/1-login.feature
The test cases are located in the login_tests directory. They can be executed using the robot command:
robot login_tests
To generate cucumber.json
report based on Robot Framework output.xml
run
python generate_report.py
To uploadgenerated cucumber.json
update access_key, secret_key (and jira_server_url if using server version) in upload_report.py
then run
python upload_report.py
The following feature was uploaded to Jira in order to establish results linking
# language: en
@robot
Feature: Login
A test suite with a single Gherkin style test.
@AUTOMATED
Scenario: Valid Login
Given browser is opened to login page
When user "demo" logs in with password "mode"
Then welcome page should be open