Get item completion structure
Gets the parameter structure for completing the test item execution
- Parameters
- Advanced call ?
Function GetItemCompletionStructure(Val Clear = False, Val AsMap = False) Export
| Parameter | CLI option | Type | Required | Description |
|---|---|---|---|---|
| Clear | --empty | Boolean | ✖ | True > structure with empty valuse, False > field descriptions at values |
| AsMap | --map | Boolean | ✖ | True > returns the filter fields as a map |
Returns
Structure Of KeyAndValue - Fields structure
| Parameter | Description |
|---|---|
| dontwait | Creates a background job and returns its data (for 1C and OneScript only) |
1C:Enterprise/OneScript code example
Result = OPI_ReportPortal.GetItemCompletionStructure();
- Bash
- CMD/Bat
oint rportal GetItemCompletionStructure \
--empty true
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>"
}