Generate Models from Recorded Activity in Test Modeller

Search Knowledge Base by Keyword

< Back

In addition to inspecting and analysing recorded activity in Test Modeller, you can automatically convert recorded activity to models from which new test cases, data, and automated tests can be generated. This accelerates the definition of data and automated logic at the Model level, before applying coverage algorithms to generate and maintain an up-to-date test pack.

You can import three kinds of recorded activity to Models:

  1. Process Diagrams. Process diagrams are created from Application Blueprint models. These are converted into Task Blocks. Data Values and Variables are also imported, along with any recorded message or console activity.
  2. Automation Models. Automation models contain everything Process Diagram do, but with Automation Logic overlaid, and the additional Waypoints needed for automated test execution.
  3. Individual Journeys. A set of single Paths from Start to End points can be imported and incorporated into Process Diagrams.

To import recorded activity to a new or existing Model, first open or create a Model in the Workspace used to record the activity. This will open the Model Editor.

Navigate to the “Connectors” tab of the menu, which contains the options for importing a Recording or Journey:

Generate Models from Recorded Activity in The VIP Test Modeller_1

Generate Process Diagrams

Process Diagrams convert Application Blueprint models into Task blocks, that can be either actions or events. They can be built from complete Journey Overview models, a selection of pages, an individual page, or from individual interactions with a page. They include any recorded data, message activity, and console activity.

To import a process model, select the “Recording” option under the “Connectors” tab of the menu. This will open the Application Blueprint viewer:

Generate Models from Recorded Activity in The VIP Test Modeller_2

Use the drop-down menus to select the Project and Release in which you saved the activity you would like to import. This will display the Journey Overview Application Blueprint model.

To convert all the complete Journey Overview model associated with the Application Blueprint model, select every page in the diagram. Pages are represented by silver blocks:

Generate Models from Recorded Activity in The VIP Test Modeller_3

To import activity exercised against an individual page or succession of pages, select those pages only:

Generate Models from Recorded Activity in The VIP Test Modeller_4

To import individual interactions, expand a given page by clicking the plus symbol in the top-right corner of its silver block. Next, select from the yellow Action blocks and red Event blocks:

Generate Models from Recorded Activity in The VIP Test Modeller_5

Click “Import Model” to auto-generate a Process Diagram of the selected activity:

Generate Models from Recorded Activity in The VIP Test Modeller_6

It is often useful to relayout a Model following an import. Navigate to the “Format” tab of the menu and select “Relayout”. Select a Relayout option to tidy your diagram:

Generate Models from Recorded Activity in The VIP Test Modeller_7

Import Automation Models

Automation Models are created in the same way as Process Diagrams, and are also generated from Application Blueprint models.

First, select “Recording” under the “Connectors” tab of the menu, and choose your context. Next, select the pages or interactions you would like to import, and click “Import Automation Model”:

Generate Models from Recorded Activity in The VIP Test Modeller_8

This will create a Model, complete with the automation Waypoints needed to generated automated tests from Test Modeller:

Generate Models from Recorded Activity in The VIP Test Modeller_9

Import Individual Journeys

To import a collection of individual Journeys to a Process Model, navigate to the “Connectors” tab and select “Journey”. This will open the Journey importer.

Next, select the relevant Project and Release from the drop-down menu to display recorded Journeys associated with a given Release. Use the tick-boxes to select the Journeys you would like to import:

Generate Models from Recorded Activity in The VIP Test Modeller_10

Click “Import” to generate the Process Diagram:

Generate Models from Recorded Activity in The VIP Test Modeller_11