mercredi 5 août 2020

Using sphinx as a test framework

I have test procedures documented in sphinx. The user follows the instructions, records the results on a paper test report, then proceeds to the next test step by clicking on the Next button.

Is it possible/feasible to embed controls (input fields, buttons, etc) in the sphinx document so that the user can type the result and have a Flask api running on the server that would log the data without browsing away from the sphinx document?

For example, in the sphinx document, the user is required to record the MAC ID of the device. I would like to place an input field in the sphinx document with a Submit button so that the user can enter/scan the MAC ID, click Submit, but leave the sphinx document in place in the browser window.

Aucun commentaire:

Enregistrer un commentaire