Creating Tests
This section provides a practical walkthrough, as well as expert tips to help you create effective test prompts using GPT Driver. Let's begin exploring the process together.
Last updated
This section provides a practical walkthrough, as well as expert tips to help you create effective test prompts using GPT Driver. Let's begin exploring the process together.
Last updated
After successfully and , proceed by navigating to the , as shown in the screenshots below. This is where your journey begins, crafting your first test prompt.
Step 1: Choose Add a new test
from the test overview.
Step 2: Choose the build for which you would like to create the test.
Step 3: When you are ready to begin, select 'Add new test!'
Important: Remember to save your test prompt frequently while editing. Exiting the test editor without saving will result in the loss of any recent changes.
There are generally two approaches for creating tests using the GPT Driver Studio:
Direct actions on the app
No language model involved
Fast and free
Ideal for stable and predictable parts of your workflow
Uses large language models (LLMs)
Can interpret and execute complex tasks
Best suited for dynamic or complex scenarios, graphical UI, conditional steps or logic (so we only need 1 test rather than several for different variations of the same flow) and business logic, for example:
dynamic and complex scenario (at the example of an education app with dynamic lesson flows): Complete the lesson until you see a screen that contains either the text "Great Job!" or โn-day streakโ scrolling down to see โContinueโ button and tapping on one of the "Question" options provided when the โContinueโ button is now shown, then select the purple โStart,โ โContinueโ or โFinishโ button.
graphical UI (at the example of a trading app with charts): withVision: Verify that the chart displayed on the trading screen is an area chart, characterized by a continuous line graph with shading beneath the line, and confirm that no candlesticks are visible.
conditional steps or logic (at the example of a randomly appearing marketing popup): Check if "<marketing popup abc>" appears on the screen. If so, tap on it. Otherwise, proceed with the next step
business logic (at the example of a news app): Verify that search results display only articles from the business section
business logic (at the example of a wallet):
withVision: Remember the $ balance on the card in the top of the screen
(...Steps to conduct a transaction...)
withVision: Check that the remembered balance is different from the $ balance on the card in the top of the screen
Use Commands for simple, consistent tasks.
Use AI Instructions for complex or frequently changing tasks.
: To get started,