Share this page

# How to Create Tests

This task describes how to create folders of test subjects in the test plan tree, and add tests to the test subjects.

Note: This task is part of a higher-level task. For details, see How to Plan Tests in ALM.

To learn more about test specification, see Test Plan Specification Overview.

1. Create test subjects

   Create folders in the test plan tree. Each folder represents a test subject – a testing area in your application.

   To create a test subject:

   1. On the ALM sidebar, under Testing, select Test Plan.

   2. Select View > Test Plan Tree.

   3. Select the Subject root folder or an existing test subject, and click New Folder .

      Example:

      To test a flight reservation application that lets you manage flight scheduling, passenger bookings, and ticket sales, you might define the following subjects for the test plan tree:

      Notice how the Itinerary subject contains additional subject folders. These folders further categorize the tests in the test plan tree by creating additional levels of subjects. For the complete example, refer to the ALM_Demo project.

2. Create tests in the test plan tree

   Create tests under test subject folders.

   To create tests:

   1. In the Test Plan tree, right-click the folder, and select New Test.

   2. Fill in the fields in the New Test dialog box. For user interface details, see New Test Dialog Box.

      Each test should have a distinct objective, such as verifying a specific function or system requirement. The tests you define should be based on the goals you set at the beginning of the application management process.

      Example:

      In the test plan tree shown in the previous step, you might assign tests to the Itinerary subject folders as follows:

      Tip: For test types that support test configurations, a test configuration is automatically created when you create the test. For details, see How to Work with Test Configurations.

   Note: To create and edit UFT One tests from within ALM, you must install the UFT One add-in from the Add-ins page. You can access the Add-ins page in ALM from Help > Add-ins.

3. Create tests from a testing tool – optional

   You can add tests to the ALM Test Plan tree from supported testing software such as UFT One or UFT Developer. For details, see the user guide for the appropriate testing tool.

   Note: UFT One tests can be added to ALM from within UFT One without needing to install the UFT One add-in. These tests can then be run normally from ALM.

4. Import tests – optional

   In addition to creating a test plan tree in the ALM Test Plan module, you can also import test plan data from Microsoft Word or Microsoft Excel to your ALM project. To import test plan data, you must first install the appropriate add-in. For details, see Microsoft Excel add-in and Microsoft Word add-in.

   You can also import UFT Developer tests in the ALM Test Plan module. For details, see UFT Developer Tests Overview.

5. Create a manual template test – optional

   If there are common instructions that will be repeated in several tests, for example `Log in to the application`, you can create a manual template test of common instructions, that is then called by other manual tests.

   Note: It is not essential to mark a test as a template test to be able to call it.

   To create a manual template test:

   1. Create a manual test, as described in the step above for creating tests in the test plan tree.

   2. Right-click the new test in the test plan tree, and select Mark as Template Test. The test icon changes from gray to white, indicating that it is now a template test.

6. Create a UFT One template GUI test – optional

   Micro Focus UFT One (UFT One) comprises the product formerly known as Micro Focus QuickTest Professional and the product known as Micro Focus Service Test.

   - Functionality provided by QuickTest is now known as GUI testing in UFT One.

   - Functionality provided by Service Test is also known as API testing in UFT One.

   The template test defines which UFT One add-ins ALM associates with a new UFT One GUI test. For details,see the UFT One documentation and the relevant UFT One add-in documentation.

   In addition to the default UFT One template GUI test that is provided with the ALM client, you can create other UFT One template tests.

   To create a UFT One template test:

   1. Create a UFT One GUI test, as described above in the step for creating tests in the test plan tree.

   2. Right-click the new test in the test plan tree, and select Mark as Template Test. The test icon changes from gray to white, indicating that it is now a template test.

7. Add steps to tests

   Add steps to tests, describing the actions a tester should perform to complete the tests.

   For task details, see How to Design Test Steps.

https://admhelp.microfocus.com ALM 8942
Tips to improve your search results... ALM Help Center ALM Help Center ALM Help 16.00-16.0.1 All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: