Borland Software Water System silk perforator java explorer 2006 release 2 Manuel D’Utilisation

Page de 110
SilkPerformer Java Explorer User Guide
33
3  S
ETTING
 U
P
 T
ESTS
Customizing Input Parameters
Note  Output view can also be accessed via the Results button on the 
Workflow bar. See 
 for more information. 
Customizing Input Parameters
When to customize 
input parameters
Input parameters should be customized prior to the execution of a method. If 
you want to customize a method call after it has been executed (e.g., if it was 
generated using the Load File Wizard), you need to execute an Animated Run 
after the customization to make the changes effective.
How to customize 
input parameters
When a method has input parameters, its values are displayed in the Input Data 
tree with their default values. Select the method you wish to invoke in the 
Loaded Components pane. Parameters are displayed with their default values in 
the Input Data pane (default values can be configured using Java Explorer’s 
System Settings (Tools / System Settings / Default Values)
In the Input Data pane, select a parameter to change its value. If a parameter is a 
simple data type (boolean, double, int, or string) you can enter the value directly 
into the Input value field. If the parameter is a complex type (object or array) or 
you wish to use a random value or a value from a stored variable, click the Input 
Value Wizard (...) button.   
Input Value Wizard
Procedure  To use the Input Value Wizard:
1
Click the Input Value Wizard (...) button to open the Input Value Wizard
with which you can define an input value for the parameter of the 
method. You can pass a null value, a value from a variable, or a constant 
value. 
-
Select Is Null to pass a null value. This value is only valid for strings, 
objects, and arrays. 
-
If you have already stored a variable that holds values of the 
parameter’s type, select Use Variable and select the variable from 
the drop-down list. See 
information on storing variables.  
-
If the parameter is not a complex object or array, you can specify a 
constant value, such as a boolean, double, int, or string value.