Repository navigation
Complete Guide
MeetGhelani edited this page Mar 18, 2026
·
2 revisions
TestPilot AI is an AI-powered functional testing platform for web, mobile, and desktop applications.
It allows users to:
- Write tests in plain English
- Record real user interactions
- Automatically generate test cases
- Run deep site audits
👉 Designed to eliminate scripting and reduce test maintenance.
- Node.js (v18+ recommended)
- npm
- Playwright
- (Optional) Appium for mobile testing
npm install --legacy-peer-deps
npx playwright install chromium
cd client
npm install --legacy-peer-deps
cd ..
npx ts-node server/index.ts
cd client
npm run devOpen: http://localhost:5173/
- Enter website URL
- Write test in plain English:
verify header is visible, scroll to bottom, take screenshot
- Click RUN TEST
✅ Results include screenshots, pass/fail status, timing
- Start recording
- Perform actions in browser
- Steps captured automatically
- Execute recorded steps
- View live execution
- Regression testing
- User journey validation
Automatically scans website and suggests:
- Login tests
- Navigation tests
- Form validations
- CTA interactions
Each suggestion includes:
- Priority (High/Medium/Low)
- Pre-written test
Analyzes:
- Performance (FCP, CLS, TBT)
- Accessibility
- SEO
- Broken links
- Console errors
Provides score (0–100) per category.
- NLP Parser: Converts plain English to structured steps
- Execution Engine: Runs tests via Playwright/Appium
- Smart Selector: Finds elements reliably
- Reporter: Generates HTML reports
- Client: UI interactions
- Server: API orchestration
- Engine: Core execution logic
- Drivers: Platform-specific automation
Uses multiple strategies:
- ID
- data-testid
- aria-label
- name
- placeholder
- text
- XPath
If selector fails:
- DOM scan
- Fuzzy matching
- Retry execution
Each test includes:
- Step status
- Execution time
- Screenshots
- Error logs
Audit includes:
- Performance metrics
- SEO checks
- Accessibility issues
click login button, verify url contains 'dashboard'
do login stuff
- Be specific
- Use clear selectors
- Avoid ambiguity
- server/: backend
- client/: frontend
- src/engine/: core logic
- src/drivers/: automation drivers
- reports/: output
Supports Basic Auth:
- Username/password input
- Secure handling
Run:
npx playwright install
Check if 3001 or 5173 already in use
- CI/CD integration
- Parallel test execution
- AI self-healing improvements
- Visual regression testing
- Captcha handling limited
- Dynamic selectors may fail in edge cases
- Mobile setup requires Appium
- Fork repo
- Create feature branch
- Submit PR
No
Yes (via Appium)
Yes
To build a universal AI testing agent that replaces manual QA and traditional automation.