Overview
Quickly convert your existing test cases (from spreadsheets, documents, or any format) to Revyl using AI assistants like Claude or ChatGPT.What You’ll Need
- Revyl API Key - Get from Settings > API Keys
- Build Name - Your app’s exact name in Revyl
- Your test cases - From spreadsheet, document, or any format
Step 1: Find Your Build Name
Your build name must match exactly. Run this command to list your builds:"name" field in the response (e.g., "My App - iOS - Beta").
Step 2: Copy the Schema to Your AI Assistant
Copy the entire content from the LLM Schema Reference page and paste it into your AI chat (Claude, ChatGPT, etc.).Step 3: Add Your Test Cases
After pasting the schema, add your test cases:Step 4: Upload the Generated YAML
Endpoint:POST https://backend.revyl.ai/api/v1/tests/yaml/from-yaml
Tip: You can also ask the AI to make the upload request for you if it has terminal access.
Quick Reference
YAML Structure
Converting Spreadsheet Steps
| Your Spreadsheet Says | Convert To |
|---|---|
| ”Click X” / “Tap X” | type: instructions |
| ”Verify X” / “Check X” | type: validation |
| ”Get X” / “Extract X” | type: extraction with variable_name |
| ”Wait X seconds” | type: manual, step_type: wait |
Using Variables
Extract a value first, then reference it with double curly braces:Warning: Only{{variable-name}}syntax works. Not@var,$var, or other formats.
Example Conversion
Original Spreadsheet
| Step | Test Step | Expected Result |
|---|---|---|
| 1 | User logs in | Login successful |
| 2 | User clicks profile | Profile menu opens |
| 3 | Verify username | Shows “John Doe” |
Converted YAML
Tips for Best Results
- Be Concise - “Tap login” works better than “Click on the login button located in the top right corner”
- Use Broad Validations - “User is logged in” instead of “Green checkmark appears next to username”
- No Navigation at Start - The app opens automatically - don’t add open_app at the beginning
-
Always Specify Platform - Use
iosorandroid(lowercase)
Troubleshooting
| Error | Solution |
|---|---|
| ”Build variable not found” | Check exact build name spelling from API |
| ”Missing required field: platform” | Add platform: ios or platform: android |
| ”Invalid platform” | Use lowercase: ios not iOS |
Next Steps
- LLM Schema Reference - Full schema documentation
- CI/CD Integration - CI/CD setup
- GitHub Actions - GitHub Actions