Introduction
A Test Model serves as your Test bench, where you define all the parameters and rules. The system then uses these definitions to automatically generate all the Scenarios.
Test models streamline the Test creation process, improve Test coverage, enable reusability, foster collaboration, and integrate with automation efforts, making the overall Testing process more efficient and effective.
See the full details of the Test Case Designer operations here.
Projects in Test Case Designer are a way to organize your Test Models and enable collaboration. Creating a new project does not affect Jira, so it's fully independent of your Jira Projects. You will not create a Jira Project when creating a New Project in Test Case Designer.
Operations
Importing a Test Model from a File when Creating a New Test Model
Xray Test Case Designer allows you to import various details from your model when creating a new one. While the import feature is straightforward, it is somewhat inflexible.
You can import files in XLSX (Excel) format or OPML (Mind Mapping and Outlining).
Importing from Excel
To import from Excel, provide a spreadsheet with a sheet named Inputs. Each column in the sheet should represent a parameter, and each row should contain corresponding parameter values:
Animals | Letters | Parameter 3 |
---|---|---|
Monkey | A | Value 1 |
Ferret | B | Value 2 |
The spreadsheet must be in the Excel Workbook format, with an XLSX extension. To save a spreadsheet in this format, select File → Save As, and choose the XLSX file type.
To ensure the correct file format for importing, you can export an existing model or start with this Excel example. By following the format from an export or sample file, you can also import constraints, value expansions, notes, and auto-scripts from their respective sheets.
Importing from a Mind Map or Outline
Many mind mapping and outlining tools support exporting to OPML, a simple hierarchical format that can be used to define test model inputs only. To import from OPML, ensure your file name has an OPML extension.
Level | Usage | Notes |
---|---|---|
First outline level, if named with >3 characters and if they are all capital letters | Parameter Group | Optional way to group like parameters |
First outline level, or next level under a group | Parameter name | N/A |
Next level | Parameter values | N/A |
Next level | Values expansions | Optional |
To ensure you have the correct format for importing, compare your file with this OPML example.
Click New Test Model (Figure 1 - 1).
Figure 1 - Test Model
A modal will open (Figure 2). Fill in the fields:
- Modal name (Figure 2 - 1).
- Select a Project (Figure 2 - 2).
- Update an external file (Figure 2 - 3).
Once you're finished, click Create (Figure 2 - 4).
Figure 2 - Modal
Viewing Versions and Reverting Test Model Version (Revisions)
The Revisions option allows you to easily revert to a previous version of that Test model.
We provide a list of each revision and the date so all you have to do is click the Revisions button (Figure 4 - 2) to revert to that version. We also give you the option to copy that model (in case you want to view it but also want to keep all the updates you have made since then) and create a new model based on that version.
When you are editing a Test model, you will see a Revisions button (Figure 4 - 2) under the sub-menu of the model name dropdown.
Revisions are available in editable Test Models. The Revisions button is not available in uneditable Test Models (such as the original sample ones).
Go to My Test Models (Figure 3 - 1) and enter a Test Model (Figure 3 - 2).
Figure 3 - Test model
The Test Modal screen will open (Figure 4). Click the option with the name of the Test Modal (Figure 4 - 1) and then select Revisions (Figure 4 - 2).
Figure 4 - Options
The Revisions screen will open (Figure 5).
Here, you can:
- See the list of the revisions made (Figure 5 - 1).
- Revert, make a copy and/or download the Test Model (Figure 5 - 2).
- Hovering over the revision provides a more precise timestamp. Clicking on the revision expands the section with more details.
Figure 5 - Revisions
A version of a Model can be searched (Figure 5 - 3) by Label, User, and Update Details (e.g., typing Ana in the search field would return Revision 2). The Revisions feature allows a solid version control of your Test Model.
See the full details of the Test Case Designer operations here.