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

ColumnMeaningRequired
TCIDGroups the rows of one test; each step is one rowYes
SummaryTest title, only on the first row of the testYes
PriorityHigh / Medium / LowNo
LabelsOne label, e.g. regression, waiting-baNo
DescriptionPreconditions, AC source, "QA working assumption"No
ActionThe action of the stepYes
DataData used in the stepNo
Expected ResultExpected result of the stepYes

File preview

TCIDSummaryPriorityLabelsDescriptionActionDataExpected Result
TC-01[EP] Amount within the valid range → can continueMediumregressionPrecondition: logged in, account has enough balance. Source: AC #2 (minimum $10.00, maximum $50,000.00)Open the Transfer money screenThe Amount field is shown, the Continue button is disabled
TC-01Enter the amount2,000.00No error, the Continue button is enabled
TC-02[BVA] Amount = 9.99 → minimum amount errorHighregressionPrecondition: same as TC-01. Source: AC #2Open the Transfer money screenThe Amount field is shown
TC-02Enter the amount9.99Shows the error "The minimum amount is $10.00", the Continue button stays disabled
TC-03[BVA] Amount = 10.00 → validHighregressionPrecondition: same as TC-01. Source: AC #2Open the Transfer money screenThe Amount field is shown
TC-03Enter the amount10.00No error, the Continue button is enabled
TC-04[BVA] Amount = 50,000.01 → maximum amount errorHighregressionPrecondition: same as TC-01. Source: AC #2Open the Transfer money screenThe Amount field is shown
TC-04Enter the amount50,000.01Shows 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 buttonMediumwaiting-baSource: 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 accountFree plan test accountLogged in successfully
TC-05Open a paid reportAny paid reportOnly the preview and the "Upgrade to Pro" button are shown, not the full content

Import into Xray

  1. Open Xray › Test Case Importer and choose CSV as the source.
  2. Pick the file, "," (comma) as the delimiter, UTF-8 encoding.
  3. 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.
  4. 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)