Help Center
Welcome to the TrueAssert Help Center. Find answers to common questions, troubleshooting guides, and tips to get the most out of TrueAssert.
π Getting Started
New to TrueAssert? Start here:
Account Setup - Create your account and understand automatic setup
Installation Guide - Install the browser plugin and configure API keys
Your First Test - Create and run your first test in 5 minutes
Core Concepts - Understand TrueAssert's architecture
β Frequently Asked Questions
Account & Setup
Q: How do I create an account? A: Visit the registration page and fill in your details. A default organization and project are automatically created for you.
Q: Do I need to create an organization or project manually? A: No, a default organization and project are created automatically when you register. You can use these immediately or create additional ones later.
Q: How do I get an API key? A: After logging in, go to the Agents page. Click "Create API Key" to generate a new key. Copy and save it securely - you'll need it for the browser plugin.
Q: Can I have multiple API keys? A: Yes, you can create multiple API keys. Each key is linked to your account and organization.
Browser Plugin
Q: How do I install the browser plugin? A: Download the plugin ZIP file from the Agents page, then install it in Chrome using "Load unpacked" from the Extensions page. See the Installation Guide for detailed steps.
Q: The plugin won't connect. What should I do? A:
Verify your API key is correct (no extra spaces)
Check that you copied the full API key
Try disconnecting and reconnecting
Refresh the plugin popup
Q: Recording isn't starting. Why? A:
Ensure you're on a valid webpage (not chrome:// or extension pages)
Check that the content script is loaded (refresh the page)
Verify the plugin is authenticated
Try closing and reopening the plugin popup
Q: Steps aren't being captured during recording. A:
Some JavaScript frameworks may prevent event capture
Try clicking elements directly instead of using keyboard shortcuts
Check browser console for errors
Ensure the page has fully loaded before starting recording
Test Creation
Q: How do I create a test? A: You have three options:
Browser Plugin Recording - Record your interactions (recommended for most users)
AI Test Generation - Describe what you want to test in natural language
Manual Creation - Build tests step-by-step using the web interface
See Your First Test for details.
Q: Which method should I use to create tests? A:
Recording: Best for most users - fastest and most intuitive
AI Generation: Good for complex flows or when you want to describe requirements
Manual: Use when you need precise control or want to edit existing tests
Q: How long does AI test generation take? A: Typically 30-60 seconds, depending on test complexity and page size. The test status will update from DRAFTING β REVIEW β READY.
Q: My AI-generated test has incorrect steps. What should I do? A: You can edit any test step manually. Go to the test detail page, click "Edit" on any step, and update the selector, value, or action type.
Test Execution
Q: How do I run a test? A: Go to the test detail page and click the "Run Test" button. The test will execute and you can monitor progress in real-time.
Q: Why is my test stuck in "IN_QUEUE" status? A: This means no agents are available. Check the Agents page to see agent status. Ensure at least one agent is connected and available.
Q: My test is stuck in "RUNNING" status. A:
The test may still be executing (check progress bar)
Agent may have disconnected (check agent status)
Command may have timed out (check execution logs)
Q: How long do tests take to run? A: Depends on test complexity:
Simple tests (5-10 steps): 10-20 seconds
Complex tests (20+ steps): 30-60 seconds
With login: Add 10-15 seconds for full login, or 2-3 seconds for session validation
Selectors & Elements
Q: What are XPath selectors? A: XPath is a query language for selecting elements in HTML. TrueAssert automatically generates XPath selectors that are more robust than CSS selectors. See Understanding XPath Selectors.
Q: My selector keeps breaking. How do I fix it? A:
Update to use ID or data-testid selectors (most stable)
Check if element still exists on page
Add WAIT step if element loads slowly
Review Selector Best Practices
Q: Can I use CSS selectors instead of XPath? A: Yes, you can choose CSS or XPath when creating or editing steps. However, XPath is recommended for better reliability with complex pages.
Q: How do I get a selector for an element? A: Use the browser plugin's "Selector" feature. Click "Selector" in the plugin, then click the element on the page. The XPath selector will be generated and displayed.
Session Management & Login
Q: How do I set up login for my tests? A: Go to Project Settings β Login, enter your login URL, username, and password, then save. A login test will be automatically generated. See Setting Up Login.
Q: What's the difference between "Login Required" and "Use Predefined Session"? A:
Login Required: Test will execute login flow if needed (session validation or full login)
Use Predefined Session: Test will load existing session data (faster, but requires session to exist)
Q: Why does my test always do a full login? A: This happens when:
No session exists yet (first run)
Session validation failed (session expired)
Session domain doesn't match test URL domain
Q: How do I clear a saved session? A: Go to Project Settings β Session, and clear the session data. A new session will be created on the next test run.
Q: My session validation always fails. A:
Check that validation steps in login test are correct
Verify confirmation element still exists
Clear session and create a new one
Update login test validation steps if page changed
Test Results & Debugging
Q: How do I view test results? A: Go to the test detail page. You'll see execution status, step-by-step results, screenshots, and error messages. See Viewing Results.
Q: My test failed. How do I debug it? A:
Check the error message for the failed step
View the screenshot at the failure point
Review execution logs
See Debugging Failed Tests for detailed guidance
Q: Why did my test fail with "Element not found"? A:
Element doesn't exist on page
Element hasn't loaded yet (add WAIT step)
Selector is incorrect (update selector)
Page structure changed (update selector)
Q: How do I see screenshots from test execution? A: On the test detail page, click on any step result. Screenshots are captured after each step (if enabled) and automatically on failures.
Organization & Projects
Q: What's the difference between organizations and projects? A:
Organizations: Top-level grouping (companies, teams)
Projects: Sub-grouping within organizations (applications, features)
Tests: Individual test cases within projects
Q: Can I have multiple projects? A: Yes, you can create multiple projects. Each project has its own settings (login, session) and tests.
Q: How do I organize my tests? A: Use descriptive test names, group related tests in the same project, and archive old tests. See Test Organization.
π§ Troubleshooting
Browser Plugin Issues
Problem: Plugin won't authenticate
Solutions:
Verify API key is correct (check for extra spaces)
Ensure you copied the complete API key
Try disconnecting and reconnecting
Check that API key is active (not deleted)
Refresh the plugin popup
Problem: Recording not starting
Solutions:
Ensure you're on a valid webpage (not chrome:// pages)
Refresh the page to reload content script
Check browser console for errors
Verify plugin is authenticated
Try closing and reopening plugin popup
Problem: Steps not being captured
Solutions:
Click elements directly (avoid keyboard shortcuts)
Wait for page to fully load before recording
Check if JavaScript framework is blocking events
Review browser console for errors
Try recording on a simpler page first
Test Execution Issues
Problem: Test stuck in IN_QUEUE
Solutions:
Check Agents page for agent availability
Verify at least one agent is connected
Wait for agent to become available
Restart agent if needed
Problem: Test stuck in RUNNING
Solutions:
Wait a bit longer (test may still be executing)
Check agent status (may have disconnected)
Review execution logs for errors
Cancel and re-run test if needed
Problem: All steps fail immediately
Solutions:
Check that target URL is accessible
Verify selectors are correct
Check if page requires authentication
Review error messages for specific issues
Selector Issues
Problem: Selector not found
Solutions:
Verify element exists on page (use browser DevTools)
Add WAIT step before interaction
Update selector if page structure changed
Use alternative selector if available
Problem: Selector matches multiple elements
Solutions:
Add positional index:
(//button[@class='submit'])[1]Use more specific selector
Add parent anchor for context
Use alternative selector
Problem: Selector breaks after page update
Solutions:
Update to use ID or data-testid (more stable)
Review page changes and update selector
Use parent-based selector for stability
Consider using selector repository
Login & Session Issues
Problem: Login flow fails
Solutions:
Verify credentials in Project Settings β Login
Check login URL is correct
Review login test steps
Update selectors if login page changed
Test login manually first
Problem: Session validation always fails
Solutions:
Clear session and create new one
Update validation steps in login test
Verify domain matches test URL domain
Check confirmation element still exists
Problem: Full login happens every time
Solutions:
Verify session was saved after first login
Check session domain matches test domain
Review validation steps in login test
Clear and recreate session if needed
AI Generation Issues
Problem: Test generation stuck in DRAFTING
Solutions:
Check agent availability
Verify target URL is accessible
Wait longer (generation can take 30-60 seconds)
Check server logs for errors
Try simpler prompt
Problem: No steps generated
Solutions:
Improve prompt (be more specific)
Verify target URL is accessible
Check if LLM API is configured
Review error messages on test page
Try different prompt
Problem: Generated steps are incorrect
Solutions:
Review and edit incorrect steps manually
Improve prompt with more details
Update selectors if needed
Regenerate with better prompt
π‘ Tips & Best Practices
Test Creation
Start with Recording: Browser plugin recording is the fastest way to create tests
Use Descriptive Names: Name tests clearly (e.g., "Login Flow - Valid Credentials")
Review Generated Steps: Always review AI-generated or recorded steps before running
Test Immediately: Run test right after creation to catch issues early
Selectors
Prefer IDs: Elements with IDs produce the best selectors
Use data-testid: Add data-testid attributes to important elements
Avoid CSS Classes: Classes change with styling updates
Review Selectors: Check generated selectors in test detail page
Session Management
Set Up Login Early: Configure login settings when you start testing authenticated flows
Monitor Session Reuse: Check if sessions are being reused (faster execution)
Clear When Needed: Clear sessions if authentication changes
Verify Domain Match: Ensure session domain matches test URL domain
Test Execution
Check Agent Status: Verify agents are available before running tests
Monitor Progress: Watch execution progress for issues
Review Results: Always review results after execution
Fix Issues Promptly: Update tests when selectors break
Debugging
Read Error Messages: Error messages provide specific information
Check Screenshots: Visual verification helps identify issues
Review Logs: Execution logs show what happened
Test Manually: Reproduce issues manually to understand them
π Additional Resources
Documentation
Complete Documentation - All guides and tutorials
Getting Started - Step-by-step setup
Guides - Feature-specific guides
Tutorials - Real-world examples
Reference - Command and selector reference
Learning Paths
For QA Engineers:
For Developers:
For Test Automation Teams:
π Common Error Messages
"Element not found" The selector doesn't match any element. Check selector, add WAIT step, or verify element exists.
"Selector matches multiple elements" Selector is too generic. Add positional index or use more specific selector.
"Timeout waiting for element" Element didn't appear in time. Increase timeout or add explicit WAIT step.
"No available agent" No agents are connected. Check agent status and ensure at least one is available.
"Login flow failed" Login test execution failed. Check credentials, review login test steps, update selectors.
"No session data found" No session exists for domain. Run test with login to create session, or check domain match.
See Error Codes Reference for complete list.
π Known Issues & Limitations
Current Limitations
API Not Available: Programmatic API is coming soon. Currently, use web interface.
Single Agent: Tests run on one agent at a time (parallel execution coming soon)
Manual Session Import: Session data must be imported manually (automation coming soon)
Browser Compatibility
Chrome Only: Browser plugin currently supports Chrome only
Manifest V3: Plugin uses Manifest V3 (latest Chrome extension standard)
Performance
Test Execution Time: Depends on page load times and network latency
AI Generation: Can take 30-60 seconds for complex tests
Session Validation: Adds 2-3 seconds to test execution
π Still Need Help?
If you can't find the answer you're looking for:
Search Documentation: Use the search function to find relevant articles
Check Related Topics: Each help article links to related documentation
Review Examples: See Tutorials for real-world examples
Check Changelog: See Changelog for latest updates and fixes
Last updated: January 2025
Last updated