Some automated test steps create data that you can use as an input to a subsequent
step.
You can pass data from one test step to another using input variables and
output variables.
The term input variables is another name for
the field values associated with a step. These values are input variables because
they provide the input the step needs to accomplish its task. For example, the Open Form step has
these input variables: Table, Record, and View.Figure 1. Example test step showing input variables
Some step types also have output variables. These are the values that
later steps in the same test can use as input. For example, the Record Insert step
has an output variable called Record which contains the sys_id of the newly
created record.
Note: Input data can also be passed to an automated test case from an external
source such as a .csv file.
The test step form doesn't
indicate if a test step has output variables or not. You can easily tell if any output variables
are available to provide a value to any given input variable. If you can map the value of one
step's output variable to the current step's input variable, the system displays the mapping
icon () to the right of that input field. When you click the variable mapping icon, the system
displays a tree giving you access to any available output variables from previous steps. Figure 2. Example test step showing output variables
We use cookies on this site to improve your browsing experience, analyze individualized usage and website traffic, tailor content to your preferences, and make your interactions with our website more meaningful. To learn more about the cookies we use and how you can change your preferences, please read our Cookie Policy and visit our Cookie Preference Manager. By clicking “Accept and Proceed,” closing this banner or continuing to browse this site, you consent to the use of cookies.