Objects Tab

When an object is instantiated through a constructor or returned by a method and stored in a variable, the object is listed in the Loaded Components pane on the Objects tab. Instance members and methods that can then be invoked by the user are displayed.

The Objects tab shows objects stored in variables that have global scope and those that have a local scope of the currently selected test case.


Objects contain logic and data. For example, the data of an object might consist of a string. In this case, the logic of the object would consist of functions that can be used to manipulate the string.

Note: You can create new objects by invoking a method more than once using different input parameters.

Instance methods and members are displayed to allow for easy invokation.

Members have get/set accessors to enable the getting and setting of values.

Local test case objects are included in the Local Test Case Objects folder. A local object is only displayed while the test case that is associated with it is selected. Global test case objects are included in the Global Test Case Objects folder.

Note: To create a new test case, right-click a test case and choose New Test Case.


By default variables that store simple data types such as strings and integers are listed in the Global Random Variables folder, not as objects but as simple variables. Depending on the variable type - either simple value type or complex object - variables are either displayed as simple types, with no actions allowed, or as objects for which you can invoke all methods on the variable object, for example methods on java.lang.String.

String values are represented as complex objects that allow you to call all methods of the java.lang.String class.