REST API

Add Step API

OVERVIEW

This REST API facilitates the user to add the step(s) to a work item (Test case) and Defect.

Method: Post

Input: 

Authorization: Basic Auth token in the Request Headers 

Post body:

Purpose of the Fields given in this API: 

Parameter Value Mandatory Description
ItemID Yes Enter the test case or Defect item ID where the test step need to be added
ObjectType String Yes Enter the ObjectType – OBJECT/DEFECT. OBJECT for Work item (Testcase) and DEFECT for Defect.
StepNumber String Enter the step number position like 1,2,3… it should be sequential
Description String Yes  Enter the step description
 ExpectedValue String    Enter the expected value
LowerLimit String   Enter the lower limit value
UpperLimit
String   Enter the upper limit value

Output:

Orcanos Output class:

{
    “IsSuccess”: true,
    “Data”: “”,
    “Message”: “Step added successfully.”,
     “HttpCode”: 200
}

IsSuccess: if successful then true else false

Message: ‘Step added successfully’ message in case Is Success is true, error message in case Is Success is false

HttpCode: Response HttpCode

Related Articles