Overview
Context Hub is a centralized repository for documents that help AI features better understand your application. By providing context about your app’s structure, terminology, and behavior, you improve the accuracy and relevance of AI-generated tests, suggestions, and actions.Why Use Context Hub
AI features work best when they understand your application:- Better test generation: AI creates more accurate steps when it knows your app’s structure
- Improved AI Actions: Context helps AI navigate complex workflows correctly
- More relevant suggestions: AI Chat provides better recommendations with context
- Accurate extractions: AI Extract finds the right data with domain knowledge
Adding Documents
Supported Document Types
Context Hub accepts various document formats:| Format | Use Case |
|---|---|
| Text (.txt) | Simple descriptions, notes |
| Markdown (.md) | Structured documentation |
| PDF (.pdf) | Existing product documentation |
| Word (.docx) | Business requirements, specs |
What to Include
Application Structure- Page hierarchy and navigation flow
- Main features and functionality
- User roles and permissions
- Business terminology and definitions
- Industry-specific concepts
- Common workflows and processes
- API endpoints and data structures
- Authentication flows
- Third-party integrations
- Test data conventions
- Environment-specific behaviors
- Known limitations or edge cases
Managing Documents
Uploading Documents
- Navigate to Context Hub in the sidebar
- Click Add Document
- Select or drag files to upload
- Add a title and optional description
- Click Save
Organizing Documents
- Title: Give documents descriptive names
- Description: Add context about the document’s purpose
- Tags: Categorize documents for easy filtering
Updating Documents
Keep context current as your application evolves:- Select the document to update
- Click Edit or Replace
- Upload the new version or edit content
- Save changes
Removing Documents
Delete outdated or irrelevant documents:- Select the document
- Click Delete
- Confirm removal
Best Practices
Keep Context Current
- Update documents when features change
- Remove outdated information promptly
- Add new documents for new features
Be Specific
Provide detailed, actionable information: Less helpful:Include Test Scenarios
Document common testing patterns:Document Edge Cases
Help AI handle special situations:How AI Uses Context
During Test Generation
When you describe a test, AI references context to:- Identify correct page URLs
- Select appropriate locators
- Understand workflow sequences
- Apply relevant assertions
During AI Actions
When AI Action executes, it uses context to:- Navigate multi-step processes
- Handle conditional flows
- Recognize success/failure states
- Make decisions about next steps
During AI Chat
When you interact with AI Chat, context helps:- Provide relevant suggestions
- Understand domain terminology
- Reference application-specific features
- Generate appropriate test steps
Examples
E-commerce Application Context
SaaS Application Context
Troubleshooting
AI Not Using Context
If AI features don’t seem to use your context:- Verify documents are uploaded successfully
- Check document content is relevant to the test
- Ensure documents aren’t too large or complex
- Try more specific, focused documents
Context Conflicts
If context contains contradictory information:- Review all documents for conflicts
- Remove outdated versions
- Consolidate related documents
- Use clear versioning in document names
Performance Issues
If Context Hub loads slowly:- Reduce total number of documents
- Remove large, unnecessary files
- Break large documents into smaller, focused ones
- Archive rarely-used documents
Related
- AI Chat - Uses context for better conversations
- AI Test Generation - Context improves generation
- AI Action - Context helps AI navigate your app
- AI Features Overview - All AI capabilities

