Prev | Next |
Invoking Methods
Access
On the Workbench window, right-click on the instance on which to execute a method, and select 'Invoke'.
Ribbon |
Execute > Analyze > Testing > Open Object Workbench |
Actions
Action |
Details |
See also |
---|---|---|
Choose Method |
Select a method from the list and click on the . Note that all methods listed are public; private methods are not available.
|
|
Provide Arguments |
In this image, the method to be invoked takes an array of objects as its only argument. You construct this argument by naming the other instances on your Workbench that you want to pass to the method.
|
|
Argument Types |
These are the parameter types supported by the Workbench:
|
|
Argument Syntax |
|
|
Invoke |
Click on the to execute the method. Output confirming this action is displayed in the Debug window.
|
Run the Debugger |