Typically, you use initialization points to initialize a variable that will be referenced by multiple cells in the test data table or to define a set of objects that have defining attributes.
Initialization points can be inserted directly in the test behavior source code and can be data-driven from the test data table (TDT). Initialization points can also be inserted into the code from the test data table.
To insert an initialization point:
The initialization point is added to the test behavior code, and a new row is added to the test data table. For example, if the variable is named amount, the following code is added:
ComponentTest.set(amount);
Related concepts
Initialization points
Component testing and the Java editor
Stub behavior
Related tasks
Testing Java classes