Skip to main content

Get item completion structure

Gets the parameter structure for completing the test item execution

Function GetItemCompletionStructure(Val Clear = False, Val AsMap = False) Export

ParameterCLI optionTypeRequiredDescription
Clear--emptyBooleanTrue > structure with empty valuse, False > field descriptions at values
AsMap--mapBooleanTrue > returns the filter fields as a map
Returns

Structure Of KeyAndValue - Fields structure

1C:Enterprise/OneScript code example
Result = OPI_ReportPortal.GetItemCompletionStructure();
oint rportal GetItemCompletionStructure \
--empty true
Result
{
"endTime": "<end time>",
"launchUuid": "<Launch UUID>",
"status": "<status of completion: passed, failed, stopped, skipped, interrupted, cancelled>",
"description": "<element description. Overwrites the one specified during creation>",
"attributes": "<attributes of the element. Overwrites the one specified during creation>",
"retry": "<retry finish flag>",
"issue": "<problem information>"
}