🖇️Prompt References
What are Prompt References?
Prompt Reference is a powerful new feature in GPTDriver that enhances your ability to design reusable and scalable automated tests. Unlike traditional Test Dependencies, which only allow tests to run in a strict sequence, Prompt Reference gives you the flexibility to nest prompts or entire tests within other tests, enabling modular structures that more accurately reflect real user flows in mobile apps.
Why use Prompt References?
Many users are already familiar with the Test Dependency feature, which supports basic sequential execution. While useful for linear flows, dependencies can become limiting as your test cases grow in complexity.
Prompt Reference solves this by allowing you to insert one or more existing prompts (or entire tests) directly inside another test. This lets you:
Build hierarchical test structures
Reuse logic across multiple test cases
Reduce duplication and maintenance overhead
Better organize tests around real-world app flows
Ideal Use Cases?
Onboarding flows that reuse login or permissions setup
Checkout processes that include reusable steps like address entry or payment selection
Multi-screen navigation that reuses deep-link flows or feature walkthroughs
Regression suites that reuse core smoke tests in larger scenario tests
How It Works?
To insert a prompt or test within another test:
Open the Test Editor.
Type @ where you’d like to reference another prompt or test.
A dropdown list will appear with all available prompts and tests in your account.
Select the one you want to insert. It will appear as a block within the current test.
Prompt Reference Demo Video
Last updated