Share this page

# Record components into flows and business process tests

This section describes how to record components into a flow or business process test automatically while navigating any application.

Recording enables you to create component steps, or even a full business process test or flow, in your application without the need to manually create separate components and their associated application areas before starting to create steps. When recording, you perform user actions and create additional components as necessary.

Note: This task is part of a higher-level task. For details, see Create business process tests and flows.

1. Prerequisites:

   Consider the following:

   - Make sure OpenText Functional Testing is installed on the client machine along with its OpenText Application Quality Management plug-in.

   - We recommend you close OpenText Functional Testing before recording.

   - Make sure that you belong to a user group that has the following task permissions: Modify Folder (Test Plan), Modify Test, Add Component Folder, Add Component, Add Step, Add Parameter, Modify Component, Modify Step, Modify Parameter.

   - In OpenText Functional Testing, select Tools > Options and click the Run node. Ensure that the Allow other OpenText products to run tests and components check box is selected in the Run pane.

2. Open and log into the application to record.

   Log into the application you want to record, and navigate to the point at which you want to start recording.

3. Create or select a flow or business process test in OpenText Application Quality Management.

   In the Test Plan module, before recording, do one of the following:

   - Create a new flow or business process test in which to insert recorded components. For task details on creating flows, see Create business process tests and flows.
   - Select an existing flow or test in which to insert recorded components.

4. Start recording in OpenText Application Quality Management.

   In the Test Script tab toolbar, click to start recording.

   The Record dialog box opens.

   Enter the type of automated component to record (keyword GUI or scripted), the name of the component to record, the location, and the application area. Click OK. The Recording toolbar opens.

5. Work with the Recording toolbar.

   When recording, the title bar flashes.

   The activities you can perform from the toolbar include:

   - Stopping / pausing the recording

   - Assigning the recorded steps to different actions (GUI tests only)

   - Assigning the steps to a different component in the current Test Lab Mini App

   - Adding new business components

   - Capturing objects in your application

   - Changing the recording mode

   - Inserting checkpoints or object values

   For details on all Recording toolbar buttons and activities, see the OpenText Functional Testing help.

6. Record the application.

   Perform the operations that you want to record. In general, the operations you perform for a single flow or test should represent those of a single screen or transaction in your application. These operations are saved as actions, and you can see the actions listed in the Record toolbar.

   As you perform actions, the toolbar provides a count of the number of steps performed in the application.

7. Add checkpoints while recording.

   You can add object property checkpoints and object property output value steps to a component while recording.

   Object property checkpoints enable you to check object property values during a test run to determine if they match expected values. The test results provide information about which object property checkpoints failed during a test run, and why.

   Adding checkpoints and output values eliminates the need for you to add these steps after recording components.

   1. While performing user actions in your application, in the toolbar, click Insert and select the type of checkpoint or output value to insert.

   2. If necessary, select the object on which you want to insert the checkpoint or output value.

      For user interface details on the Output Value Properties dialog box, see Output Value Properties Dialog Box.

   3. Select the test object properties to check and click OK.

   4. Continue performing operations in your application to continue recording.

8. Stop recording.

   When you finish performing the operations that you want to record, click STOP in the toolbar.

9. Results.

   Business Process Testing performs the following:

   - Creates automated business components in the Business Components module that correspond to screens, transactions, and so on, in your application.

   - Creates component steps based on the operations you perform.

   - Adds the created components to the flow or test.

   - Inserts the checkpoints and output values you defined.

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