Methods for Write Access (CL_APL_ECATT_SCRIPT_API)
Use
This category contains the following methods:
ADD_PARAMETER
This method adds a new parameter to the test script.
|
Parameter Name |
Type |
Default Value |
Description |
|---|---|---|---|
|
IS_PARAM_STRUC |
ETAP_PAR_DEF |
eCATT parameter definition |
CHANGE_PARAMETER
This method changes the parameters and command interfaces of a test script.
|
Parameter Name |
Type |
Default Value |
Description |
|---|---|---|---|
|
I_PARAM_NAME |
ETP_NAME |
Parameter name |
|
|
I_PARAM_DEF |
STRING |
Parameter definition |
|
|
I_PARAM_GROUP |
ET_PGROUP |
Group name for parameters |
|
|
I_PARAM_DESC |
ETP_DESC |
Parameter short text |
|
|
I_PARAM_SORTLNR |
ETSORT_LNR (OPTIONAL) |
Sort field 0=Append, 1=Insert Before |
DELETE_PARAMETER
This method deletes the parameters/command interfaces of a test script.
|
Parameter Name |
Type |
Default Value |
Description |
|---|---|---|---|
|
I_PARAM_NAME |
ETP_NAME |
Parameter name |
COPY_PARAMETER
This method copies the parameters/command interfaces of a test script.
|
Parameter Name |
Type |
Default Value |
Description |
|---|---|---|---|
|
I_PARAM_NAME |
ETP_NAME |
Parameter name |
|
|
I_NEW_PARAM_NAME |
ETP_NAME |
Name of the new parameter |
|
|
I_COPY_ALL_VALUES |
ETONOFF (OPTIONAL) |
'X' = Copy values to all variants |
SET_SCRIPT_TEXT
This method sets the text of the test script.
|
Parameter Name |
Type |
Default Value |
Description |
|---|---|---|---|
|
IT_SCRIPTTEXT |
ETXML_LINE_TABTYPE |
XML lines |
ADD_COMMAND_INTERFACE
This method adds a command interface to a test script.
|
Parameter Name |
Type |
Default Value |
Description |
|---|---|---|---|
|
IS_SCRIPT_LINE |
ETSCR_LINE (OPTIONAL) |
eCATT structure for script line attributes |
|
|
IT_SCR_DETAILS |
ETNAME_VALUE_TABTYPE (OPTIONAL) |
eCATT table with name/value pairs |
|
|
I_CMDI_DESCR |
ETP_DESC (OPTIONAL) |
Short text of the parameter, command interface, or variant |
|
|
I_URL |
STRING (OPTIONAL) |
URL of the Web Dynpro application |
SET_SCRIPT_SDC_TSYS
This method sets the system data container and the target system of the test script.
|
Parameter Name |
Type |
Default Value |
Description |
|---|---|---|---|
|
IS_ATTRIBUTES_TESTSYS |
ETSC_TSYS |
System data container and target system |
CREATE_CMD_INF_PARAM
Creates a parameter in the command interface.
|
Parameter Name |
Type |
Default Value |
Description |
|---|---|---|---|
|
I_PNAME |
STRING |
Parameter name |
|
|
I_VAR_ID |
ETVAR_ID |
'ECATTDEFAULT' |
Variant name |
|
I_PATH |
ETXMLPATH |
Path to parameter |
|
|
I_REFNAME |
ETXML_REFNAME |
Reference of parameter |
SET_VAL_CMD_INF_PARAM
Sets the parameter value in the command interface.
|
Parameter Name |
Type |
Default Value |
Description |
|---|---|---|---|
|
I_PNAME |
STRING |
Parameter name |
|
|
I_VAR_ID |
ETVAR_ID |
'ECATTDEFAULT' |
Variant name |
|
I_PATH |
ETXMLPATH |
Path to parameter |
|
|
I_ATTRIBUTE_VALUE |
ETDOM_NAME |
Value to be set |