As I understood the test steps are just represented by one text field and have to be documented sequentially. It would be better to realize the test steps (with the expected results) in an extra table related (with a relationship) to the respective test case.
The test step should have the following attributes at least:
- Action: the tasks the tester should execute
- Data: the used data (primary test data content) within that action
- Expected results: the results according to the respective test step
2 Answers
2
Hi Torsten and welcome to the Testiny forum!
You are right, with the “Steps” template all steps are represented in a single text field in the test case when transmitted via the API, structured as a document. This is for simplicity of the API, both for use in the Testiny frontend, but also for end user API usage.
The document in which the steps are structured is open for extension, though, and basically already has “action” and “expected results” as columns and could be extended to contain a “data” column, too.
Also the option to link common/shared test steps will be possible.
Both shared steps and better data mapping is already on our roadmap, so I take your suggestion as an upvote on these topics. Thanks!
Best regards,
Alex
Please implement this, it would add so much more useful sense, while it seems technically simple to do.
Application test cases almost never start from 0. You always have some presumed state. Having only a textfield to describe this is a very bad pattern. To achieve a specific state is complex and always changing. Writing “user is logged in, is on Foo page” is too vague, misinterpretable (by everyone but especially agents). To achieve a specific state that the case can begin may have changing preconditions, exactly what test steps should describe. Or everything is written out redundantly.
Instead of the text field (or optionally selectable) it should be just a search/dropdown for a test case - technically right now you can already write in a case ID and have it read out via the API but… it’s only for automation, and hacky.
To have a complete picture, the only good way is to link the whole test case tree together.
Please add +1 vote from me
– Testeagle@Testeagle you can do this yourself, just click the "Vote" button on the top of the topic :-)
– Alex_Hoisl