Test Case Editor
This document explains how to use the Test Case Editor to create and edit BDD-format test cases.Access Path
- URL:
/test-case-manager/editor
Page Structure
Sidebar
The sidebar provides selection for test pools and test sets:
Sidebar Collapse:
- Click the arrow button to collapse/expand the sidebar
- Shows simplified selection indicator when collapsed
Main Content Area
Divided into left and right panels: Left - Test Case List:- Displays all cases in the current test set
- Supports search and filtering
- Displays in tree or list view
- Displays complete content of selected case
- Can edit case information and steps
Selecting Test Pool and Test Set
Steps
- Select a test pool from the “Test Pool” dropdown menu
- Select a test set from the “Test Set” dropdown menu
- The system automatically loads cases from that test set
Test Set Information
When selecting a test set, you can see:- Test set name
- Version number
- Last updated time
Test Case List
View Modes
- Tree View: Display in folder structure
- List View: Display in flat list
List Operations
Editing Test Cases
Basic Information
BDD Test Steps
Test steps are written in BDD format:Adding Steps
- Click ”+ Add Step” in the steps section
- Select step type (Given/When/Then/And/But)
- Enter step content
- Press Enter to quickly add the next step
Editing Steps
- Click step content to enter edit mode
- Modify step type or content
- Click elsewhere or press Enter to save
Deleting Steps
- Click the delete button on the right side of the step
- Or select the step and press Delete key
Adjusting Order
- Drag steps to adjust order
- Use up/down arrow buttons to move steps
Step Templates
The system provides common step templates:Saving Changes
Auto-save
- The system automatically saves drafts as you edit
- The sidebar displays an “Unsaved changes” prompt
Manual Save
- Click the “Save” button in the sidebar
- Or use the shortcut Ctrl+S (Cmd+S)
Save Status
Creating New Test Cases
Steps
- Confirm that you have selected a test pool and test set
- Click ”+ New Case” in the case list area
- Fill in case basic information
- Write test steps
- Click “Save” to save
Creating Folders
To organize test cases:- Click ”+ New Folder”
- Enter folder name
- Drag cases into the folder
Deleting Test Cases
- Select the case to delete
- Click the delete button or press Delete key
- Confirm the delete operation
Note: Deleted cases cannot be recovered