Test File Format
A Qalti test is a plain text file with a.test extension containing one step per line. We use // at the beginning of a line for comments that provide context rather than actionable instructions.
Start with Context
Begin each test with comment lines explaining what you’re testing:// to mark lines as comments. Use comments to provide additional contextual information that helps Qalti Agent understand the app’s purpose, test objective, or any other background information. While the Agent reads all lines, comments are typically used for context and guidance rather than actionable test steps.
Write Clear Actions
Combine the action and expected outcome in a single line:Open the SyncUps app. When app loads you will see "Daily Sync-ups" screen with a list of sync-ups.Tap "Start Meeting" button. The meeting timer screen appears with "Time Elapsed" and "Time Remaining" displayed.Tap "Save and end". You return to the Design sync-up detail screen.
- ❌
Go to the main screen - ✅
Tap "Daily Sync-ups". The main screen appears with a list of sync-ups.
Be Specific
Always use exact element names in quotes and specify what should happen:- Quote exact text:
"Start Meeting","Design","Save and end" - Specify locations when needed:
"End meeting" button at the top left - Describe visible elements:
"Time Elapsed" and "Time Remaining" displayed
Assume First-Time Use
Write as if Qalti is seeing your app for the first time:- Don’t use internal team jargon or abbreviations
- Explain what each screen shows
- State expected outcomes explicitly
- Describe the full context of actions
Handle Edge Cases
Account for optional dialogs or permissions:Use Verification Steps
Add explicit verification lines for critical checks:- State what to check clearly
- Include specific element names or values
- Focus on test objectives
Complete Test Example
Using Comments
You can add comments anywhere in your test file using// at the beginning of a line:
- Explaining the app’s domain or purpose at the start of the test
- Describing why a particular test step is important
- Noting edge cases or conditional behavior
- Adding context that helps the Agent make better decisions
- Documenting assumptions or prerequisites
Common Action Patterns
- Opening apps:
Open the [App Name] app. The [screen name] appears. - Tapping elements:
Tap "[Element]". The [expected screen/state] appears. - Input text:
Input "[text]". [Expected result] appears. - Scrolling:
Move finger on the middle of the screen down. New content appears below. - Waiting:
Wait for the screen to update with the new meeting entry. - Verifying:
Verify that "[element]" [condition].
Key Principles
- Specificity over brevity — Better to be clear than concise
- Explicit outcomes — Always state what should happen
- No assumptions — Don’t assume Qalti knows your app
- One step, one line — Keep each action on its own line
- Test like a human — Write instructions as you’d explain to a new team member