Share this page

# Create manual tests

This topic describes how to create manual tests and parameterize their steps with data sets.

In this topic:

## Create tests

This sections describes how to create a manual test. You can create tests from the Quality, Team Backlog, and Requirement modules, either from the Tests page or from a Test Suite.

To create a manual test:

1. Create a test in one of the following ways:

   - In the Team Backlog or Quality module menus, open the Tests tab. Click + Manual Test. If this option is not visible, expand the list and select + Manual Test.
   - In the Requirements module menu, open the Tests tab and select a Requirements document. Click + Manual Test. If this option is not visible, expand the list and select + Manual Test.
   - Inside a Test Suite, open the Planning tab. Click + Manual Test. If this option is not visible, expand the list and select + Manual Test.

2. In the Add Manual Test dialog box, assign test attributes.

   Field | Details
   --- | ---
   Name | The name of the test.
   Test type | The type of test, such as acceptance, end-to-end, regression, sanity, security, and performance.
   Estimated duration (minutes) | The time it takes to run the test.
   Backlog coverage | The backlog items that the test covers. This helps you track the release quality.
   Application modules | The product's application modules. This helps you track product quality, regardless of release.
   Description | A textual description of the test.

3. Click Add & Edit. The test is created, and the Steps tab of the test opens.

4. Add steps to the test. For details, see Add steps to a test.

5. Save the test.

   Tip: While you work, save and label versions of your manual test. As you work with the test over time, compare versions to view modifications. For details, see Test script versioning.

Back to top

## Add steps to a test

After you have created a test, you add steps that describe how to set up and validate the application.

To add steps to a test:

1. Select the test's Steps tab.

2. On the toolbar, select a view. The underlying test steps and syntax remain the same in all views. You can switch between views at any time.

   View | Details
   --- | ---
   Grid view | View the steps as a grid. Each row of the grid includes an Action column with a setup step, and an Expected result column with a corresponding validation step.
   List view | View the steps as a list. Each line of the list includes one step: a setup step, validation step, or call step.
   Text view | View the steps in plain text.

   An admin can set the default script view for new users using the MANUAL_TEST_SCRIPT_DEFAULT_VIEW parameter. For details, see Configuration parameters.

3. Add any of the following step types.

   Make sure to use the correct syntax. For details, see Manual test syntax.

   Step type | Details
   --- | ---
   Step | An action to take in the application to set up the test scenario. Enter the step text. Example: `Create a new Epic.`
   Validation Step | Something to check in the application. Enter the validation step text. Example: `Verify that the current phase is New.` During the test run, specify a pass or fail status for each validation step.
   Call Step | Runs another test from within the current test. In the Add Tests dialog box, select the test or tests that you want to call, and then click Add. The step is added as a hyperlink to the original test. Click the View test steps button to display the steps of the test that you called. Note: The latest version of the called test is used at run time, and not the latest version at the time of planning.

   Note: The Number of steps field in the test's Details tab is a sum of steps of all types, including validation and call steps.

4. To apply text formatting, see Format text in the test script.

5. To add attachments, select a step and click the Attach button . You can also paste an image directly into the test.

   When viewing the steps in text view, the attachment appears in the line under the associated step.

   You can view the file in the test's Attachments tab, in the Manual Runner when starting a test run, or in the test run report.

   Note: If you rename a test's attachment after it is included in a step, you must manually update the link to the attachment in the step.

Back to top

## Use parameters in tests

You can use parameters in tests to run a single test several times with different values.

To use parameters you must create a data table, define the parameters, and create at least one data set with values. The number of rows in your data set determines the number of iterations the test will run.

If you create multiple data sets, when you run the test, select the data set with which to run the test.

Multiple data sets are useful when you want your test to reflect numerous scenarios. For example:

- To test log in success and failure, create two data sets: one with valid credentials, and another with credential that will fail to log in.
- You can create a different data set for each environment you want to test, such as different browsers or different operating systems.

Here's an example showing a list of users and passwords. Each iteration uses a different set of values:

Data tables are shared, so you can use a single data table for multiple tests.

To work with parameters:

1. Open the test's Steps tab, and click Data Table.

2. In the Data table pane that opens, click Create new table.

3. Enter a name for the table and rename the parameters. You can add or remove columns as required.

   To add or remove rows or columns, click the arrow next to the row or column name. The arrow is visible when you hover over a cell or column header.

   Parameter names cannot contain empty spaces or angle brackets (< >).

4. In each row, enter a set of parameter values.

5. To add data sets, click the Menu button and select Add Set. Enter a name and parameter values for this set.

   The first data set in the data table is always the default data set. When a data set is not explicitly selected in the run, the default data set is used.

   The names of the sheets in the import file will be the names of the target data sets. You can rename data sets using the menu commands after import.

6. You can use the Menu options to manage your parameter tables. If you select Remove from test, you disconnect the table from the current test but it is still saved. If you select Delete table, it is removed from all tests that are using this parameter table. The tests that use the table are displayed before you delete the table.

7. In the relevant test step, enter parameter names using the following syntax: <parameter name>.

   Tip: You can access the list of parameters also by pressing `CTRL+SPACE`.

8. When you run the test, it runs in multiple iterations. Each iteration uses a different set of parameter values from the table.

   For example, here are run steps displayed to the tester:

Back to top

## Export and import data tables or data sets

You can export data tables and data sets to Excel. You can update the Excel file, and then import it back to your manual test.

For each data set, consider the following requirements:

- Must have a unique name
- Must not exceed 31 characters
- Cannot include special characters (for example `\ / * [ ] :?`)

To export a data table:

1. Open the test's Steps tab, and click Data Table.
2. Select Export table. The data table opens in Excel. Each data set is displayed in a separate Excel sheet.

To export a data set:

1. Open the test's Steps tab, and click Data Table.
2. Select a Data Set.
3. Select Export set. The data set opens in Excel.

To import a data table:

1. Open the test's Steps tab, and click Data Table.
2. Select Import table. The Import Data Table dialog box opens.
3. Select Override the content of the current data table or Create new data table and link to current test.

4. If you select Override the content of the current data table, click Browse. Locate the data table. Make sure that the table name matches the table name in the Excel file from which you are importing. Click Import. Each sheet is read and the content is either overridden or data sets are added.

5. If you select Create new data table and link to current test, click Import. A new data table is created with at least one data set and links to the current test.

   Note: If you have unsaved changes and you create a new data table, your changes are lost.

To import a data set:

1. Open the test's Steps tab, and click Data Table.
2. Select a Data Set.
3. Select Import Set. The Import Data Set dialog box opens.
4. Select whether to Override the content of the selected data set or Create new data set under the current table.
5. If you select Override the content of the selected data set, click browse. Locate the data table. Click Import. The first sheet is loaded and the values are copied into the selected data set.

6. If you select Create new data set under the current table, click Import. A new data set is created and placed under the current data table.

Back to top

## Copy tests to another workspace

You can copy tests from one workspace to another, within the same shared space.

For details, see Copy and move across workspaces.

Back to top

Next steps:

- Import from Excel
- Link manual tests to automated tests
- Plan and run manual tests

https://admhelp.microfocus.com Software Delivery Management 8942
Tips to improve your search results... OpenText™ Software Delivery Management Help Center OpenText™ Software Delivery Management Help 26.1 All View Local Help Center View Online Help Center Version: