-
Robot Framework UI aims to be a central hub a Robot Framework Hub which can then be used as a dashboard for all robot framework test runs.
-
Short and long term goals with this project are :
- Ability to be able to store data for test reporting we will have to have information about every time a suite or a test case is run somewhere that needs to be tracked.
- Ability to Edit test cases on WEB-UI
- Ability to connect to Git for just reading information. Hopefully then version control test cases using the UI.
- Ability to connect to JIRA helping testers and BAs to write better acceptance criteria and which can be automated with little or no effort
- Have a project and application level authorisation and authentication mechanism
-
Data Model
- Using DBBot at this stage. https://github.com/robotframework/DbBot
- Currently exposing REST API for all DBBot objects using Django REST Framework.
- Project and Application object have been added to the DBBot model to provide an Authorization layer at a project and application level.
-
Clone the repository
git clone https://[email protected]/gauravve/robot-ui.git
-
Clean Database (optional if setting up first time)
cd robot-ui python manage.py sqlclear robothub | python manage.py dbshell
-
Populate Database (sample file).
python robothubdb/run.py -b robothub.db -v -a robothub robothubdb/testdata/multiple/test_output.xml -k
-
Install dependencies
pip install -r requirements.txt
-
Run WSGI server (ip_address is optional)
python manage.py runserver [ip_address]
-
API link
http://localhost:8000/api
-
API Documentation using Swagger
http://localhost:8000/docs
Automated tests to be setup later
This feature is not implemented yet. Planning on using
- For Authorization : http://www.django-rest-framework.org/api-guide/authentication/
- For Authentication : http://www.django-rest-framework.org/api-guide/permissions/