Platform
Creating Validations
Learn how to write effective AI validations
Overview
AI validations let you verify conditions using natural language. Each validation should focus on checking a single aspect of your application, such as:
- Text content and messages
- Element states (enabled, visible, etc.)
- Visual properties (colors, layout)
- Element presence or absence
Writing Validations
Write validations in plain English, describing what you want to verify:
For specific examples and patterns, see the AI Validation documentation.
Using Variables
Include variables in your validations using $variable$
syntax:
Best Practices
- Keep validations simple and focused
- One check per validation
- Be specific about what you’re verifying
- Use natural language
See AI Validation for detailed examples of each pattern.
Related Topics
- AI Instructions - Perform actions before validation
- AI Extract - Extract values to validate later
- Variables - Learn more about using variables