How to create and run a reusable test
Turn your regular QA checks into a test you can run again and again.
Create a reusable test by breaking a feature or workflow into clear steps. Each step tells the tester what to do and what should happen.
Once the test is created, you can run it whenever you need to check that workflow.
Create a reusable test
Step 1: Choose what you want to test
Start with a feature or workflow that you want to check regularly.
For example:
Login flow
or
Checkout process
Choose something that makes sense as a complete test.
Step 2: Create a new test
Open Reusable Tests in your Annotik project and create a new test.
Give it a clear name that tells you exactly what the test checks.
For example:
User Login - Successful Login
A specific name makes it easier to find the test later.
Step 3: Add your test steps
Break the workflow into individual actions.
Each step should describe one thing the tester needs to do and what they should expect to happen.
Step 4: Save the test
Once you've added all the required steps, save your reusable test.
Your test is now ready to run.
Run a reusable test
Step 1: Open the test
Go to your Reusable Tests and select the test you want to run.
Step 2: Start a test run
Start the test to begin checking the workflow.
The test runs through the steps you've created.
Step 3: Perform each action
Follow the instructions for each step and compare what actually happens with the expected result.
For example:
Action: Click Log In Expected: User is taken to the dashboard Actual: User is taken to the dashboard
The step passes because the actual behavior matches the expected result.
Step 4: Mark the result
Mark each step as:
Pass - The actual result matches the expected result.
Fail - The actual result doesn't match the expected result.
Step 5: Add evidence
If a step fails or you want to document the result, you can attach evidence to the test run.
Evidence can help your team understand what happened and provide context when investigating a failure.
Step 6: Complete the test
Continue through each step until the test is complete.
Your results are then available for review.
Tips for creating better tests
Keep steps specific. Each step should describe one clear action.
Write measurable expected results. Avoid vague expectations such as “The page works.”
Instead:
Expected: The dashboard loads and displays the user's account name.
Test important workflows. Start with features that your team needs to verify regularly.
Reuse instead of recreating. If you run the same checks after each release, save them as a reusable test.