Test Steps›Create Test Steps For TestCase
Test Steps
Create Test Steps For TestCase
Deprecated: Use PUT /api/v2/test-cases with step_events instead.
Create Test Steps For TestCase curl --request POST \
--url "https://test-manager-api.lambdatest.com/api/v1/test-steps" \
--header "Authorization: Basic <encoded-value>" \
--header "Content-Type: application/json" \
--data '{
"test_case_id": "test_case_id",
"test_steps": [
{
"serial_no": 1,
"description": "enter emails and password",
"outcome": "Login error"
},
{
"serial_no": 2,
"description": "enter emails and password",
"outcome": "Login error"
}
]
}'
{
"message": "Test steps created successfully",
"type": "Success"
}
Authorizations
Authorizationstringheaderrequired
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Response
application/jsonOK
messagestring
Example: "Test steps created successfully"
typestring
Example: "Success"
Create Test Steps For TestCase curl --request POST \
--url "https://test-manager-api.lambdatest.com/api/v1/test-steps" \
--header "Authorization: Basic <encoded-value>" \
--header "Content-Type: application/json" \
--data '{
"test_case_id": "test_case_id",
"test_steps": [
{
"serial_no": 1,
"description": "enter emails and password",
"outcome": "Login error"
},
{
"serial_no": 2,
"description": "enter emails and password",
"outcome": "Login error"
}
]
}'
{
"message": "Test steps created successfully",
"type": "Success"
}