Author a Test or Component

Sprinter's Plan mode enables you to create and edit tests or components directly in Sprinter and save them to the file system or Application Lifecycle Management. You can create and edit steps manually in the Steps tab, or use Steps Capture to automatically generate steps based on your user actions. You can then add screen captures or attachments to steps. You can define input parameters for each step, and also output parameters for components.

This following steps describe how to create and manage tests and components in Sprinter.

  1. Prerequisites

    Ensure that you have the required user permissions and connect to Application Lifecycle Management as described in Get Started with Sprinter. Make sure that the toolbar shows Plan mode .

  2. Create a new test or component.

    • To create a new test, click the New button in the Plan area. A new test is added to the Tests and Components list.

    • To create a new business component, select New > New HPE ALM Business Component. A new business component is added to the Tests and Components list.

  3. Open an existing test or component.

    • To open a test, click the Open button in the Plan area.
    • To open a business component, select Open > Open HPE ALM Business Component.

  4. When logged in with ALM, the Open dialog box enables you to select which Application Lifecycle Management tests or components to view and open.

    UI Elements

    Description

    Opens the Filter dialog box, enabling you to filter the tests or components based on specific criteria. For details, click Help in the Filter dialog box.

    Opens the Select Columns dialog box, enabling you to select the columns to display. For details, click Help in the Select Columns dialog box.

    Reloads the data from ALM.

    Selects all the currently displayed tests or components in the list.

    Deselects all the currently displayed tests or components in the list.

    <folder list>

    Located on the left side of the dialog box. Displays all the test or component folders available in your project.

    Note: You cannot move items within a folder.

    <Test list>/
    <Component list>

    Located on the right side of the dialog box. The list of tests or components in the selected folder in the folder list. Select the check boxes next to the tests or components you want to open in Sprinter.

  5. When logged in with ALM Octane, the workspace dialog box opens.

    1. Enable the Use Sprinter to run manual tests option.
    2. Select a test.
    3. In the STEPS tab, click the Edit in Sprinter button.
    4. Click Open Sprinter in the popup dialog box. Sprinter opens and loads the test in Plan mode.
  6. Manage version-controlled tests or components (ALM users only).

    If you open a test or component from an Application Lifecycle Management project that supports version-control, the test or component opens in read-only mode unless you have already checked it out. The following functionality is available from the Plan area's Versions menu for managing version-control:

    • To enable editing, select Versions > Check Out. The test or component is checked out for you, and only you can edit its contents. You can only check out the last version—not older versions.

    • To release the check out of the test or component, select Versions > Check In. The test or component is checked in to the Application Lifecycle Management project, and other users can now check out and edit that test or component.

    • To cancel the check out of the test or component without changing the version number or saving any changes that you made to it, select Versions > Undo Check Out. The test or component is checked back in and all changes that you made after the check out are lost.

  7. Manually add and edit steps

    Use the Steps tab to:

    • add, edit, move, and delete test or component steps

    • import steps from Excel or CSV files

    • format steps using rich text editing capabilities

    • add screen captures and attachments to steps

    • insert calls to an external Application Lifecycle Management test

    • insert parameters to steps

    For details, see the Steps Tab.

    Note: It is recommended that you limit the content of all fields that support rich text, such as Description, to 2500 characters.

  8. Automatically add steps using Steps Capture.

    In the Steps tab, select an application for your test and then click the Steps Capture button to navigate within your application and perform typical user actions. For details, see Steps Tab.

    Note: By default, Sprinter only captures the screen of the application under test. To capture the entire desktop screen, perform the following:

    1. Locate the SprinterRTE.exe.config file in Sprinter's bin folder.
    2. Change the false value to true: <add key="CaptureDesktopScreen" value="true"/>

    While you perform actions, Sprinter captures them and converts the actions into steps. Using the Captured Steps sidebar, you can define whether to convert each user action to a step or to group multiple user actions into steps. For details, see Captured Steps Sidebar.

  9. Manage step parameters

    Add parameters to your test or component using the Test/Component tab's Parameters pane. You can then associate these parameters with steps in the Steps tab.

    Note: For tests, only input parameters are supported. For components, input and output parameters are supported, per component.

    For details on the Parameters pane, see Parameters Pane (Plan Mode Definitions Group).

  10. Manage step attachments (tests only).

    Use the Test tab's Attachments pane to add and remove test attachments.

    This pane is not available for components.

    For details on the Attachments pane, see Attachments Pane (Plan Mode Definitions Group).

  11. Manage component snapshots (components only).

    Use the Snapshots pane to add, annotate, or remove screen captures for components. These screen captures are then saved with your component in Application Lifecycle Management.

    This pane is not available for tests.

  12. Save the test or component in Application Lifecycle Management.

    In the Tests and Components pane, do one of the following:

    • Click the Save button. The Save dialog box opens for tests or components that you save for the first time.

    • Select Save > Save As. The Save As dialog box opens and allows you to save your test or component under another name.