Once you have tested that the Test Type is working correctly you can start linking these data searches and makes directly into Test Modeller. You can then run the allocation process just before your automation runs to Find, Make and Allocate the correct data to each Automated Test.

Navigate to the Test Types, in the list of Test Types you will see a column called ‘Expose Module’:

This feature determines if the Test Type is available for the modelling engine to attach to the models. If this is turned off the test type will not be available. You may keep this turned off if you are not using Test Modeller for certain projects or are just using that test type for manual testing.

N.B: If you change any of the parameters, it is worth unchecking and rechecking this button as it will ensure the change is propagated.

Understanding the Parameters

When you build a model, you are defining the different journeys through the application, these could be to drive a UI using Selenium, inject data into an API, or create combinations of data to drive data into a system (data testing).

The Test Cases are in effect different combinations of data, for the test to run we need to lookup data to drive the application correctly. This might be, for example “Use a manager who is not on holiday to approve the request” or “I need a unique employee associated with each test so I can track back when there are failures”. An example of a model within Test Modeller which produces many Test Cases providing full coverage is shown below:

You can set up the data variables in the Test Modeller and then assign them as part of the logic:

These “inputs” are then ready for the Test Data assignment as parameters.