--- title: "Design test cases" slug: "design-test-cases" description: "Learn how to effectively test processes using test cases, variables, actions, and scenarios to ensure reliable outcomes in your projects." tags: ["Flow", "Anywhere Mobility Studio"] status: "new" updated: 2026-03-20T13:05:45Z published: 2026-03-20T17:46:55Z canonical: "docs.staedean.com/design-test-cases" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.staedean.com/llms.txt > Use this file to discover all available pages before exploring further. # Design test cases Use a test case to test a process. For each test case, you can define and use: - Test variables You can use test variables as input during test execution. For each test variable, you can define the default value. - Pre and post actions You can do actions before or after a test case is run. To do so, set up a test case event procedure with test actions that are done in a specific sequence. A test case event procedure has one action or a series of actions that are done on a test case event. - Tests for steps For a test case step that concerns a button, you can set up specific tests. To do so, set up a control event procedure with actions that are done in a specific sequence. A control event procedure has one action or a series of actions that are done on the On button clicked control event. So, the procedure is started if the button is clicked. - Test scenarios You can add test scenarios to a test case to do several tests with a different data set. Depending on the data, you can run the test under different conditions. You can only use scenarios, if you also use test variables. ## Flow diagram [Embedded content](https://viewer.diagrams.net/?tags=%7B%7D&lightbox=1&highlight=0000ff&edit=_blank&layers=1&nav=1&title=Design_test_cases.drawio&dark=auto#R%3Cmxfile%3E%3Cdiagram%20name%3D%22Page-1%22%20id%3D%22design-test-cases%22%3E7Vptb6M4EP41%2BUhFIKHtx%2Balezr19ipFp9v9tHLAELeAOWOasL%2F%2BxmACBpIGmqSt0ioqeDxjw%2FPMjO1JBuY02HxjKFr9RR3sDwzd2QzM2cAwhqOhDhchSXPJ7WicCzxGHKlUChbkN5ZCaeclxMGxosgp9TmJVKFNwxDbXJEhxuhaVXOpr84aIQ83BAsb%2BU3pv8ThKyk1dL3s%2BAMTb1VMfVP0BKjQloJ4hRy6rojM%2BcCcMkp5fhdsptgX6BXA5Hb3O3q3T8ZwyA8xiDliXGsxk6KYp8VbgyEADI3JekU4XkTIFj1r4BhkKx740BrCrUt8f0p9yjI703Vdw7ZBHnNGn3GlR8%2F%2Btj0FlnLqF%2BQncuqFeEop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