How-to
Import from tables
Import from tables
Import from tables brings a project library from a CSV file or from one Excel sheet into ComplexQA. A team administrator matches file columns to ComplexQA fields and saves new suites, test cases, steps, tags, and test case custom properties.
Role: team administrator. Other roles see an access denied message.
Prerequisites
- Sign in on your team subdomain.
- Confirm that your role in the team is Administrator.
- Prepare the file. The first row holds column names. Each following row is one test case. One column is one field.
- Keep the file at or under 10 MB and 20 000 data rows.
Loading the same file again adds copies. Existing test cases are not updated by identifier.
Steps
- Open Import from tables or go to
/migrations/en/tables. - Choose an existing project, or leave the empty item to create a new project later.
- Choose a CSV or Excel file.
- For CSV, set the encoding to UTF-8 or Windows-1251 and the delimiter to comma, semicolon, tab, or detection from the first row.
- Select Upload.
If the file is an Excel workbook downloaded earlier from Export to xlsx, the pairing screen does not open. ComplexQA shows the project and the summary. The project chosen at upload is already selected.
A foreign table opens Column and attribute.
- In Technical settings, keep the suite path separator
>and the tag separator when a cell holds several comma-separated values. - In each light block, choose the ComplexQA field for that file column. An empty item leaves the column out. A suggestion from the column name is already selected and can be changed. The title field,
test_case_title, is required. - If the field you need is missing, create a team custom property in the lower block and select it in the pair. The property is saved immediately and stays on the team even if you do not save the import.
- Select Continue.
- For fields with a fixed list, match each file value to a ComplexQA value. A value that matches ignoring letter case is already selected. A number such as
4does not becomeHIGHby itself. - On the summary, check the project. You can change it. If you did not choose a project at upload, enter a name for a new project.
- Select Count without saving. The summary shows how many suites, test cases, steps, tags, and values will be added, and which rows have errors.
- Fix the file or the pairs if Save is disabled.
- Select Save.
- Select To the project.
The cell text is stored as a whole. Several numbered lines in one cell stay one step text, not several steps. A row without a title is skipped.
What is imported
| From the file | Where it lands in ComplexQA |
|---|---|
| A column matched to title, description, preconditions, expected result, status, complexity, importance, or time | Test case card |
| Suite path | Suite tree. A suite description from a foreign file is not read |
| Tags | Project tags. A new tag receives the first color in the color catalog |
| Step columns | One test case step: text, expected result, element, and action, when those columns are matched |
| Custom property | A team property on the test case and a value on the card |
A workbook from Export to xlsx also brings empty suites, the suite description, presteps, the tag color, and saved case versions from the sheet test_case_versions. Those versions are restored as versions of the current case, not as extra cases in the catalog. A workbook without that sheet imports current cases only.
Not imported: test runs, results, bugs, autotests, attachments, and custom properties of type user.
Limits
- A foreign Excel file must contain one sheet. ComplexQA does not read several sheets, except its own export workbook.
- Two columns with the same name are rejected.
- A value longer than the ComplexQA limit is not cut down. The summary names the row and the field, and nothing is saved.
- A custom property belongs to the team. A new property is visible in the other projects of that team.
Did this page help?