Adding Test Data Finds and Makes to Modeller

Search Knowledge Base by Keyword

< Back

To define what test data is required to be used by a model you need to attach waypoints into your model, the Test Modeller pallet is shown below:

Test Modeller Pallet

There are two ways to do this, Manually and Automatically:

Manually

You can drag a waypoint from the pallet onto the model, as shown below:

Test Modeller Waypoints

Click on the waypoint, in the example above it is ‘Find Campaign’, and go to the Test Automation Tab, then click on actions and add some external automation:

Test Modeller Automation

To begin with, set the object module. Click on the drop down and select the ‘Core Test Data Catalogue’ with the data lookups:

Test Modeller Automation object

Then, for the function, pick the test data type you need and click ‘Save’. You will now be prompted to map the Data Variables in the model:

Test Modeller Automation object test data catalogue

Inputs are values that you will use to lookup the data with that criteria. Outputs are the returned values from the criteria.

So for example, I need an Opportunity ID which has the Type, Stage and Source set:

Test Modeller Automation object parameters example

These input variables are defined by the model. If the input and output variables do not exist you must define them using the data tab.

Automatically

To save time, you can automatically import a test data type from the Test Automation tab, click on ‘Modules’ and choose ‘Data Catalogues’. Here, select your Test Data Type and import it to the model:

Test Modeller Automation Modules Data catalogues

A waypoint will be automatically added to your model. In addition, Data Variables and a block per variable will automatically be created for you, this is shown below:

Test Modeller Automation Modules blocks

The Parameters to the Data lookup are set automatically:

Test Modeller Automation Modules objects

This is a much faster and more efficient way to set up ‘Find and Make’ Test Types in Test Modeller.