Overview
Effective test organization makes your test suite easier to navigate, maintain, and scale. Use folders to group related tests, drag-and-drop to rearrange items, and follow naming conventions for clarity.Folder Structure
Hierarchy
- Home (root): Top-level container for all items
- Folders: Create nested folders to organize by feature, team, or workflow
- Test cases: Individual automated tests within folders
- Snippets: Reusable step sequences that can be referenced from any test
Creating Folders
- Click Create Folder in the Test Explorer header
- Enter a descriptive folder name
- Select the parent location (Home or existing folder)
- Click Create
Folder Naming Conventions
Use clear, consistent names:| Pattern | Example | Use Case |
|---|---|---|
| Feature-based | Authentication, Checkout, Dashboard | Group by product area |
| Team-based | Frontend, Backend, Mobile | Group by team ownership |
| Flow-based | User Onboarding, Purchase Flow | Group by user journey |
| Priority-based | Smoke Tests, Regression, Edge Cases | Group by test priority |
- Keep names concise but descriptive
- Avoid special characters
- Use consistent capitalization (Title Case or kebab-case)
- Limit nesting to 2-3 levels
Organizing Tests
Drag and Drop
Rearrange tests and folders with drag-and-drop:- Click and hold on a test case or folder
- Drag to the target folder
- Release to drop
- Target folder highlights when hovering
- Preview shows item being moved
- Invalid drop zones are indicated
Moving to Home
To move items to the root level:- Drag the item
- Drop on the Home area at the top of the explorer
- Item moves to root level
Bulk Operations
Manage multiple items at once:- Select multiple tests (Shift+click for range, Ctrl/Cmd+click for individual)
- Right-click to access bulk actions
- Choose Move, Delete, or other actions
Test Case Organization
Naming Tests
Write descriptive test names that explain what’s being tested: Less clear:Grouping Strategy
Organize tests by: By FeatureSnippets Organization
Creating Snippets
Snippets are reusable step sequences:- Right-click on a folder
- Select New Snippet
- Name the snippet descriptively
- Add the steps to reuse
- Open a test case
- Select the steps to convert
- Right-click and select Save as Snippet
Organizing Snippets
Keep snippets organized:Snippet Best Practices
- Name by action: “Login as Admin”, “Navigate to Checkout”
- Keep focused: One snippet = one logical action
- Document parameters: Note required environment variables
- Version carefully: Changes affect all tests using the snippet
Context Menus
Folder Actions
Right-click on a folder for:| Action | Description |
|---|---|
| New Test Case | Create test in this folder |
| New Snippet | Create snippet in this folder |
| Import Test Case | Import test from file |
| New Folder | Create subfolder |
| Rename | Change folder name |
| Delete | Remove folder and contents |
Test Case Actions
Right-click on a test case for:| Action | Description |
|---|---|
| Edit | Open test in editor |
| Duplicate | Create copy in same folder |
| Save as Snippet | Convert to reusable snippet |
| Delete | Remove test case |
Best Practices
Do
- Use folders for ownership: Group by team or feature
- Keep names descriptive: Clear names over abbreviations
- Limit nesting: 2-3 levels maximum
- Move over duplicate: Avoid drift from copies
- Schedule by folder: Plans stay current as tests are added
Don’t
- Don’t over-organize: Don’t create folders for single tests
- Don’t use deep nesting: Hard to navigate and maintain
- Don’t duplicate tests: Use snippets for shared steps
- Don’t use cryptic names: “T1”, “Test_final_v2” are unclear
Troubleshooting
Cannot Drop Here
- Ensure you’re dropping onto a folder or Home
- Check you have permission to modify the target folder
- Verify the item isn’t being dropped on itself
Item Not Moving
- You may be dropping into the same folder
- Try a different target location
- Check for drag-and-drop browser issues
Missing Actions
- Some actions unavailable for system folders (Home)
- Check permissions for shared workspaces
- Verify the item type supports the action
Related
- Test Management - Overview of the Test Explorer
- Tags - Categorize tests with tags
- Test Plans - Schedule tests by folder
- Snippets - Reusable step sequences

