EXECUTE_TEST_CASE_BUNDLE SAP Method Execute a list of test cases









Below is documentation, parameters and attributes of ABAP Method EXECUTE_TEST_CASE_BUNDLE within SAP class IF_FDT_TEST_TOOL. There is also a number of example ABAP code snipts to help you use the functionality of this method.

This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name IF_FDT_TEST_TOOL into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Instance

This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.

The following technical details of method EXECUTE_TEST_CASE_BUNDLE can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method EXECUTE_TEST_CASE_BUNDLE

.

NameTypeData TypeDescriptionDefault Value
IT_NAMEImportingTYPE
T_NAME
Test case names
IV_FUNCTION_IDImportingTYPE
IF_FDT_TYPES=>ID
Function ID
IV_MODEImportingTYPE
STRING
See constants GC_MODE*
IV_PERSISTImportingTYPE
ABAP_BOOL
'X' Test case run results are written into DB
IV_RFCDESTImportingTYPE
RFCDEST
RFC Destination (in remote calles)
IV_TRACEImportingTYPE
ABAP_BOOL
'X' Write trace for test run
ETS_RUN_EXCEPTIONExportingTYPE
TS_TEST_CASE_RUN
Test case runs with status Exception
ETS_RUN_FAILUREExportingTYPE
TS_TEST_CASE_RUN
Test Case runs with status Failure
ETS_RUN_SUCCESSExportingTYPE
TS_TEST_CASE_RUN
Test case runs with status Successful
ET_ERRORExportingTYPE
IF_FDT_TYPES=>T_MESSAGE
Error messages



Exceptions of Method EXECUTE_TEST_CASE_BUNDLE

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO IF_FDT_TEST_TOOL.
DATA: lv_ETS_RUN_EXCEPTION TYPE TS_TEST_CASE_RUN,
lv_ETS_RUN_FAILURE TYPE TS_TEST_CASE_RUN,
lv_ETS_RUN_SUCCESS TYPE TS_TEST_CASE_RUN,
lv_ET_ERROR TYPE IF_FDT_TYPES=>T_MESSAGE,
lv_IT_NAME TYPE T_NAME,
lv_IV_FUNCTION_ID TYPE IF_FDT_TYPES=>ID,
lv_IV_MODE TYPE STRING,
lv_IV_PERSIST TYPE ABAP_BOOL,
lv_IV_RFCDEST TYPE RFCDEST,
lv_IV_TRACE TYPE ABAP_BOOL,
lv_other TYPE c.

CALL METHOD lo_class=>EXECUTE_TEST_CASE_BUNDLE(
EXPORTING
IT_NAME = lv_IT_NAME
IV_FUNCTION_ID = lv_IV_FUNCTION_ID
IV_MODE = lv_IV_MODE
IV_PERSIST = lv_IV_PERSIST
IV_RFCDEST = lv_IV_RFCDEST
IV_TRACE = lv_IV_TRACE
IMPORTING
ETS_RUN_EXCEPTION = lv_ETS_RUN_EXCEPTION
ETS_RUN_FAILURE = lv_ETS_RUN_FAILURE
ETS_RUN_SUCCESS = lv_ETS_RUN_SUCCESS
ET_ERROR = lv_ET_ERROR ).

Links to Related Class(s)

IF_FDT_T...
Full list of available SAP object classes

Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!