CSV test case template for Xray import
The CSV file has 5 sample tests using equivalence partitioning, boundary value analysis and a decision table. Open it in Excel or Google Sheets, adapt it to your Story, then import it into Xray.
Columns
| Column | Meaning | Required |
|---|---|---|
TCID | Groups the rows of one test; each step is one row | Yes |
Summary | Test title, only on the first row of the test | Yes |
Priority | High / Medium / Low | No |
Labels | One label, e.g. regression, waiting-ba | No |
Description | Preconditions, AC source, "QA working assumption" | No |
Action | The action of the step | Yes |
Data | Data used in the step | No |
Expected Result | Expected result of the step | Yes |
File preview
| TCID | Summary | Priority | Labels | Description | Action | Data | Expected Result |
|---|---|---|---|---|---|---|---|
| TC-01 | [EP] Amount within the valid range → can continue | Medium | regression | Precondition: logged in, account has enough balance. Source: AC #2 (minimum $10.00, maximum $50,000.00) | Open the Transfer money screen | The Amount field is shown, the Continue button is disabled | |
| TC-01 | Enter the amount | 2,000.00 | No error, the Continue button is enabled | ||||
| TC-02 | [BVA] Amount = 9.99 → minimum amount error | High | regression | Precondition: same as TC-01. Source: AC #2 | Open the Transfer money screen | The Amount field is shown | |
| TC-02 | Enter the amount | 9.99 | Shows the error "The minimum amount is $10.00", the Continue button stays disabled | ||||
| TC-03 | [BVA] Amount = 10.00 → valid | High | regression | Precondition: same as TC-01. Source: AC #2 | Open the Transfer money screen | The Amount field is shown | |
| TC-03 | Enter the amount | 10.00 | No error, the Continue button is enabled | ||||
| TC-04 | [BVA] Amount = 50,000.01 → maximum amount error | High | regression | Precondition: same as TC-01. Source: AC #2 | Open the Transfer money screen | The Amount field is shown | |
| TC-04 | Enter the amount | 50,000.01 | Shows the error "The maximum amount is $50,000.00", the Continue button stays disabled | ||||
| TC-05 | [DT] Paid report, logged in, not on the Pro plan → preview + upgrade button | Medium | waiting-ba | Source: AC #5. QA working assumption: the preview is the first 3 paragraphs of the report (waiting on BA confirmation) | Log in with a Free plan account | Free plan test account | Logged in successfully |
| TC-05 | Open a paid report | Any paid report | Only the preview and the "Upgrade to Pro" button are shown, not the full content |
Import into Xray
- Open Xray › Test Case Importer and choose CSV as the source.
- Pick the file, "," (comma) as the delimiter, UTF-8 encoding.
- Map the columns: TCID → Test Case Identifier; Summary → Summary; Action, Data, Expected Result → Manual Test Step (Action, Data, Expected Result); Priority, Labels, Description → the fields with the same name.
- Run the import, then open one new test to check its steps.
Menu names may differ slightly between Xray Cloud and Server/DC. Save the column mapping to import faster next time.
Writing tips
- One action per step.
- Put the technique in the title: [EP] equivalence partitioning, [BVA] boundary values, [DT] decision table, [ST] state transition.
- Each test contains only one invalid value.
- Tests written from the "QA working assumption" get the waiting-ba label; remove it once the BA confirms.
Want AI to do this part for you? See the Full kitRead the explainer (Vietnamese)
From StoryPass · https://storypass-qa.com/en/resources/