GPT Driver User Guide
GPT Driver User Guide
GPT Driver User Guide
  • Getting Started
    • πŸš€Getting Started
    • πŸ”ƒUploading a Build File
    • πŸ§™β€β™‚οΈCreating Tests
      • Commands
        • Tap Command
        • Type Command
        • scroll Command
        • scrollUntilVisible Command
        • swipe Command
        • slide Command
        • wait Command
        • assertVisible Command
        • openLink Command
        • pressBackButton Command
        • launchApp Command
        • restartApp Command
      • πŸ‘οΈwithVision: Instructions
      • 🧠AI Instructions
    • 🏁Executing Tests
  • ☎️Device Configuration
  • βš™οΈUnder the Hood
  • Getting Around
    • ✏️Test Editor
    • πŸ›°οΈTest Overview
    • πŸ…Test Reports
    • ⏺️Test Recordings
    • πŸ‘€Settings
  • Best Practices
    • πŸ§‘β€πŸ’»API Documentation
    • Versioning
    • ↗️Templates
    • πŸ–‡οΈTest Dependencies & Prompt References
    • πŸ”—Deep Links
    • πŸ“§Email Verification
    • πŸ“‘Network Calls
    • πŸͺ‘Parameterized Strings
    • πŸ“Changing Device Location
    • πŸͺΆConditional Steps
    • 🐦Nested Steps
    • ⌚Smart Caching
    • πŸ—£οΈEnv. Variables
    • πŸ’―Bulk Step Testing for Robustness
    • πŸ“–Exact Text Assertions
    • πŸ’¬Auto-grant Permissions
  • πŸ§ͺMocking Network Data
  • 🌎Localization Testing
  • Code Generation
  • ❔FAQs
Powered by GitBook
On this page
  • Creating a Template
  • Calling a Template within a Prompt
  1. Best Practices

Templates

To enhance your experience with the GPT Driver, especially when you encounter UI Elements that it doesn't recognize, we have a helpful solution. Use our template feature.

PreviousVersioningNextTest Dependencies & Prompt References

Last updated 8 months ago

This feature allows you to capture a screenshot of the element in question, assign a label to it, and then simply use this label name in your prompt to reference it. This process streamlines the interaction and improves recognition of such elements by the GPT Driver.

You can access the template gallery through the . It includes all created templates, along with the device they were created on, and provides the option to remove them.

Creating a Template

Step 1: Start by tapping on the Templates feature (camera icon.)

Step 2: Then, select the UI element that hasn't been recognized yet.

Step 3: After selecting it, you'll need to choose a suitable name for the label.

Step 4: Once you've named it, make sure to save your changes.

Step 5: With the label saved, you can now easily reference it in your prompts.

Calling a Template within a Prompt

You can simply type tmpl to bring up the template gallery with names and associated icons within the prompt editor. This way, you don't need to navigate away from the prompt editor to view the template gallery under settings.

↗️
Settings