Basic Workflow
1
Write Your Test Description
Describe what you want to test in natural language
2
AI Generates Steps
Keystone converts your description into executable test steps
3
Review and Execute
Preview the generated test and make adjustments as needed
Writing Effective Descriptions
Basic Format
Write descriptions as if explaining to a colleague:- “Test that users can log in successfully”
- “Verify the shopping cart updates when adding items”
- “Check that form validation shows appropriate errors”
Include Full Context
Provide complete user journey details: Good: “After filling all required fields, click submit and verify the success message appears” Not recommended: “Click submit”Specify Expected Outcomes
Be explicit about what should happen:- “User should see their name in the welcome message”
- “Cart total should equal sum of items plus tax”
- “Error message should explain what went wrong”
Common Test Patterns
Authentication
E-commerce
Form Validation
Advanced Descriptions
Conditional Logic
Multiple Scenarios
Error Handling
Best Practices
Use Natural Language
Describe elements as users see them: “big blue Get Started button”
Include Visual Context
Specify location: “in the top navigation menu”
Specify Test Data
Be clear about data needs: “use random email address”
Think Like a User
Focus on user goals, not technical implementation
AI Capabilities
What AI Handles Automatically
- Element detection from natural descriptions
- Wait conditions and timing
- Cross-browser compatibility
- Self-healing selectors
Current Limitations
- Complex custom widgets may need manual steps
- Visual regression testing requires additional tools
- Performance testing needs specialized approaches
Refining Generated Tests
After generation, refine with additional instructions:- “Wait longer for chart to load”
- “Also verify sidebar updates”
- “Test on mobile viewport”
Examples by Feature Type
User Registration
Search and Filter
CRUD Operations
AI test generation improves with usage. Start with simple flows and gradually tackle more complex scenarios.

