I too, have been (t)asked to build a custom GUI for running OpenTAP testplans. I’ve been researching OpenTAP for only a month now and ofcourse still have a lot to learn.
I have a functioning C# application that can execute testplans using the Async func. But for our tests we have to scan a QR code during the execution of a testplan, as well as displaying that prompt (and some other information). The use of the QR scanner is simple and is just the same as if the user would type a series of characters.
How can I best implement this feature? In another forum post the TUI is mentioned, however this seems a bit too complex for my use case.
We’ve looked at using the UserInput.Request call, however this doesn’t fully encapsulate our use-case.
Our criteria have also changed a little bit, so we now are going to use a localhost tcp server for the communication between the running testplan and the UI. This way we also bypass any issues with prompts not being displayed correctly or the operator possibly ignoring that prompt.