Sign inSign up

platofan23/flask_selenium_ui

By platofan23

Updated almost 5 years ago

The project is a web interface for dealing with python-selenium-tests.

Image
1

198

platofan23/flask_selenium_ui repository overview

python_flask_selenium_webui

Description of the project

The project is a web interface for:
- Creating a python-selenium test
- Deleting a python-selenium test
- Running a a python-selenium test
- Seeing the log of a python-selenium test
- Changing the code of a python-selenium test
- Changing the name of a python-selenium test
- Changing the description of a python-selenium test of python-Selenium Test-Case.
The project is written in python with the flask-framework (flask and flask-fontawesome), HTML, CSS (Bootstrap) and JavaScript (JQuery, Ajax).
The whole page is a single page application. Everything work asynchron via Ajax-Calls

Instruction manual

- Adding a new Test : Press the add(+)-Icon and enter a name (needs to end with .py), a descritpion and the selenium code (needs the code snippet to save the result)
- Deleting a Test : Go to the desired test and press the remove button - Running a test : Go to the desired test and press the run button - Seeing the log of a test : Go to the disered Test and press on the status. A modal window will open.
- Changing the code of a test : Go to the disered Test and press on the code-symbol. A modol window with the code will open. Modidy the code and press the save button
- Changing the name of a test : Go to the disered Test and change the name in the name field. Than press the save-symbol to save the name
- Changing the description of a test : Go to the disered Test and change the description in the description field. Than press the save-symbol to save the description
- Closing a modal window : In the modal window press the x button in the top left corner

Additional information

- The the table refreshes every 30 seconds and the page reloads every 60 seconds
- Error are shown via JS-Alert
- Inputs are getting validated (numer, string, pattern-matching, element exists or not)
- JavaScript needs to be activated in the browser!
- The needes html, css and js files are included in the repository

Project status

The project itself is complete and ready for use. However, it can be improved. For example, the use of CSV files can be replaced by a use of a database.

Tag summary

Content type

Image

Digest

Size

194.1 MB

Last updated

almost 5 years ago

docker pull platofan23/flask_selenium_ui