/AWS1/CL_M2T=>LISTTESTRUNSTEPS()
¶
About ListTestRunSteps¶
Lists test run steps.
Method Signature¶
IMPORTING¶
Required arguments:¶
iv_testrunid
TYPE /AWS1/M2TIDENTIFIER
/AWS1/M2TIDENTIFIER
¶
The test run ID of the test run steps.
Optional arguments:¶
iv_testcaseid
TYPE /AWS1/M2TIDENTIFIER
/AWS1/M2TIDENTIFIER
¶
The test case ID of the test run steps.
iv_testsuiteid
TYPE /AWS1/M2TIDENTIFIER
/AWS1/M2TIDENTIFIER
¶
The test suite ID of the test run steps.
iv_nexttoken
TYPE /AWS1/M2TNEXTTOKEN
/AWS1/M2TNEXTTOKEN
¶
The token from a previous step to retrieve the next page of results.
iv_maxresults
TYPE /AWS1/M2TMAXRESULTS
/AWS1/M2TMAXRESULTS
¶
The maximum number of test run steps to return in one page of results.
RETURNING¶
oo_output
TYPE REF TO /aws1/cl_m2tlisttstrunstepsrsp
/AWS1/CL_M2TLISTTSTRUNSTEPSRSP
¶
Domain /AWS1/RT_ACCOUNT_ID Primitive Type NUMC
Examples¶
Syntax Example¶
This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.
DATA(lo_result) = lo_client->/aws1/if_m2t~listtestrunsteps(
iv_maxresults = 123
iv_nexttoken = |string|
iv_testcaseid = |string|
iv_testrunid = |string|
iv_testsuiteid = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
LOOP AT lo_result->get_testrunsteps( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_resourcename = lo_row_1->get_stepname( ).
lv_identifier = lo_row_1->get_testrunid( ).
lv_identifier = lo_row_1->get_testcaseid( ).
lv_version = lo_row_1->get_testcaseversion( ).
lv_identifier = lo_row_1->get_testsuiteid( ).
lv_version = lo_row_1->get_testsuiteversion( ).
lv_boolean = lo_row_1->get_beforestep( ).
lv_boolean = lo_row_1->get_afterstep( ).
lv_steprunstatus = lo_row_1->get_status( ).
lv_string = lo_row_1->get_statusreason( ).
lv_timestamp = lo_row_1->get_runstarttime( ).
lv_timestamp = lo_row_1->get_runendtime( ).
ENDIF.
ENDLOOP.
lv_nexttoken = lo_result->get_nexttoken( ).
ENDIF.