Test Case APIs
Get All Test Case Fields
GET /api/v3/projects/{projectId}/settings/test-cases/fields
qTest version: 4+
Description: To get all active Test Case's fields.
Path variable:
-
projectId: ID of the project
Request sample:
GET /api/v3/projects/1/settings/test-cases/fields HTTP/1.1
Host: localhost:8080
Authorization: --
Content-Type: application/json
Cache-Control: no-cache
Response sample:
[
{
"links": [
{
"rel": "self",
"href": "http://localhost:8080/api/v3/projects/1/defects/fields/7310"
}
],
"id": 7310,
"label": "Status",
"required": true,
"constrained": true,
"order": 1,
"multiple": false,
"attribute_type": "Number",
"allowed_values": [
{
"links": [],
"value": 201,
"label": "New",
"order": 1,
"is_default": true
},
{
"links": [],
"value": 202,
"label": "In Progress",
"order": 2,
"is_default": false
},
{
"links": [],
"value": 203,
"label": "Ready For Baseline",
"order": 3,
"is_default": false
},
{
"links": [],
"value": 204,
"label": "Baselined",
"order": 4,
"is_default": false
}
]
},
{
"links": [
{
"rel": "self",
"href": "http://localhost:8080/api/v3/projects/1/defects/fields/7311"
}
],
"id": 7311,
"label": "Type",
"required": true,
"constrained": true,
"order": 2,
"multiple": false,
"attribute_type": "Number",
"allowed_values": [
{
"links": [],
"value": 701,
"label": "Manual",
"order": 1,
"is_default": true
},
{
"links": [],
"value": 702,
"label": "Automation",
"order": 2,
"is_default": false
},
{
"links": [],
"value": 703,
"label": "Performance",
"order": 3,
"is_default": false
},
{
"links": [],
"value": 704,
"label": "Scenario",
"order": 4,
"is_default": false
}
]
},
{
"links": [
{
"rel": "self",
"href": "http://localhost:8080/api/v3/projects/1/defects/fields/7313"
}
],
"id": 7313,
"label": "Assigned To",
"required": false,
"constrained": true,
"order": 4,
"multiple": true,
"attribute_type": "Number",
"allowed_values": [
{
"links": [],
"value": 2,
"label": "Max McCloud",
"order": 1,
"is_default": false
}
]
},
{
"links": [
{
"rel": "self",
"href": "http://localhost:8080/api/v3/projects/1/defects/fields/-62"
}
],
"id": -62,
"label": "Description",
"required": false,
"constrained": false,
"order": 5,
"multiple": false,
"attribute_type": "LongText"
},
{
"links": [
{
"rel": "self",
"href": "http://localhost:8080/api/v3/projects/1/defects/fields/-68"
}
],
"id": -68,
"label": "Precondition",
"required": false,
"constrained": false,
"order": 6,
"multiple": false,
"attribute_type": "LongText"
},
{
"links": [
{
"rel": "self",
"href": "http://localhost:8080/api/v3/projects/1/defects/fields/8841"
}
],
"id": 8841,
"label": "Text box field",
"required": false,
"constrained": false,
"order": 7,
"multiple": false,
"attribute_type": "String"
},
{
"links": [
{
"rel": "self",
"href": "http://localhost:8080/api/v3/projects/1/defects/fields/8842"
}
],
"id": 8842,
"label": "Text area field",
"required": false,
"constrained": false,
"order": 8,
"multiple": false,
"attribute_type": "LongText"
},
{
"links": [
{
"rel": "self",
"href": "http://localhost:8080/api/v3/projects/1/defects/fields/8843"
}
],
"id": 8843,
"label": "Combo box field",
"required": false,
"constrained": true,
"order": 9,
"multiple": false,
"attribute_type": "Number",
"allowed_values": [
{
"links": [],
"value": 1,
"label": "New Value 1",
"order": 1,
"is_default": true
},
{
"links": [],
"value": 2,
"label": "New Value 2",
"order": 2,
"is_default": false
}
]
},
{
"links": [
{
"rel": "self",
"href": "http://localhost:8080/api/v3/projects/1/defects/fields/8844"
}
],
"id": 8844,
"label": "Date picker field",
"required": false,
"constrained": false,
"order": 10,
"multiple": false,
"attribute_type": "DateTime"
},
{
"links": [
{
"rel": "self",
"href": "http://localhost:8080/api/v3/projects/1/defects/fields/8845"
}
],
"id": 8845,
"label": "User list field",
"required": false,
"constrained": true,
"order": 11,
"multiple": false,
"attribute_type": "Number",
"allowed_values": [
{
"links": [],
"value": 2,
"label": "Max McCloud",
"order": 0,
"is_default": false
}
]
},
{
"links": [
{
"rel": "self",
"href": "http://localhost:8080/api/v3/projects/1/defects/fields/8846"
}
],
"id": 8846,
"label": "Rich Text editor field",
"required": false,
"constrained": false,
"order": 12,
"multiple": false,
"attribute_type": "LongText"
},
{
"links": [
{
"rel": "self",
"href": "http://localhost:8080/api/v3/projects/1/defects/fields/8847"
}
],
"id": 8847,
"label": "Number field",
"required": false,
"constrained": false,
"order": 13,
"multiple": false,
"attribute_type": "Number"
},
{
"links": [
{
"rel": "self",
"href": "http://localhost:8080/api/v3/projects/1/defects/fields/8848"
}
],
"id": 8848,
"label": "Check box field",
"required": false,
"constrained": true,
"order": 14,
"multiple": true,
"attribute_type": "ArrayNumber",
"allowed_values": [
{
"links": [],
"value": 1,
"label": "New Value 1",
"order": 1,
"is_default": false
},
{
"links": [],
"value": 2,
"label": "New Value 2",
"order": 2,
"is_default": false
}
]
},
{
"links": [
{
"rel": "self",
"href": "http://localhost:8080/api/v3/projects/1/defects/fields/8849"
}
],
"id": 8849,
"label": "Date time field",
"required": false,
"constrained": false,
"order": 15,
"multiple": false,
"attribute_type": "DateTime"
},
{
"links": [
{
"rel": "self",
"href": "http://localhost:8080/api/v3/projects/1/defects/fields/8850"
}
],
"id": 8850,
"label": "Url field",
"required": false,
"constrained": false,
"order": 16,
"multiple": false,
"attribute_type": "Url"
}
]
Get A Test Case By Its ID
GET /api/v3/projects/{projectId}/test-cases/{testCaseId}
qTest version: 6+
Description: To retrieve a test case's details using its ID.
Path variable:
-
projectId: ID of the project
-
testCaseId: ID of the test case which you want to retrieve
Request Parameter:
Parameter | Required | Description |
---|---|---|
expand | no | If you specify expand=teststep, Test Steps are included in the Test Case. |
Request sample:
/api/v3/projects/32029/test-cases/5190387
Host: linhdang.qTestnet.com
Authorization: --
Content-Type: application/json
Cache-Control: no-cache
Response sample:
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190387"
},
{
"rel": "test-steps",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190387/versions/6048076/test-steps"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190387/attachments"
}
],
"id": 5190387,
"name": "Video section",
"order": 1,
"pid": "TC-1",
"properties": [
{
"field_id": 1695363,
"field_value": "712"
},
{
"field_id": 1695364
},
{
"field_id": 1695366,
"field_value": "202"
},
{
"field_id": 1695367,
"field_value": "701"
},
{
"field_id": 1695359,
"field_value": "[5202, 5202]"
},
{
"field_id": 1695369,
"field_value": "
Check video section.
"
},
{
"field_id": 1695370,
"field_value": ""
},
{
"field_id": 1695371
}
],
"web_url": "https://linhdang.qTestnet.com/p/32029/portal/project#tab=testdesign&object=1&id=5190387",
"parent_id": 1523054,
"test_case_version_id": 6048076,
"version": "3.7",
"description": "
Check video section.
",
"precondition": "",
"url": "https://linhdang.qTestnet.com/p/32029/portal/project#tab=testdesign&object=1&id=5190387",
"creator_id": 5202
}
Get All Test Cases
qTest version: 6+
Description: To retrieve all test cases. You can optionally specify a module to retrieve its test cases.
Path variable:
-
projectId: ID of the project
Request Parameter:
Parameter | Required | Description |
---|---|---|
parentId | no | Specify ID of the parent module to retrieve all of its test cases. |
page | no |
20 Test Cases are included in a page. By default, the first page is returned. However, you can specify any page number to retrieve test cases. |
size |
The result is paginated. By the default, the number of requirements in each age is 20. You can specify your custom number in this parameter. |
|
expandProps | no | By default, Test Case properties are included in the response body. If you want to exclude them, specify false for this parameter. |
expandSteps | no | By default, Test Steps are excluded from the response body. If you want to include them, specify true for this parameter. |
Request sample:
GET /api/v3/projects/32029/test-cases?parentId=1523054&page=1&expandProps=true&expandSteps=no HTTP/1.1 Host: linhdang.qTestnet.com Authorization: bearer [token] Cache-Control: no-cache
Response sample:
[ { "links": [ { "rel": "self", "href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190387?versionId=6048076" }, { "rel": "test-steps", "href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190387/versions/6048076/test-steps" }, { "rel": "attachments", "href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190387/attachments" } ], "id": 5190387, "name": "Video section", "order": 1, "pid": "TC-1", "properties": [ { "field_id": 1695363, "field_value": "712" }, { "field_id": 1695364 }, { "field_id": 1695366, "field_value": "202" }, { "field_id": 1695367, "field_value": "701" }, { "field_id": 1695359, "field_value": "[5202, 5202]" }, { "field_id": 1695369, "field_value": "Check video section." }, { "field_id": 1695370, "field_value": "" }, { "field_id": 1695371 } ], "web_url": "https://linhdang.qTestnet.com/p/32029/portal/project#tab=testdesign&object=1&id=5190387", "parent_id": 1523054, "test_case_version_id": 6048076, "version": "3.7", "description": "Check video section.", "precondition": "", "url": "https://linhdang.qTestnet.com/p/32029/portal/project#tab=testdesign&object=1&id=5190387", "creator_id": 5202 }, { "links": [ { "rel": "self", "href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190389?versionId=6477567" }, { "rel": "test-steps", "href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190389/versions/6477567/test-steps" }, { "rel": "attachments", "href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190389/attachments" } ], "id": 5190389, "name": "Our Solutions section", "order": 3, "pid": "TC-3", "properties": [ { "field_id": 1695363, "field_value": "712" }, { "field_id": 1695364 }, { "field_id": 1695366, "field_value": "204" }, { "field_id": 1695367, "field_value": "701" }, { "field_id": 1695359, "field_value": "[5202]" }, { "field_id": 1695369, "field_value": "Check Our Solutions section" }, { "field_id": 1695370, "field_value": "" }, { "field_id": 1695371, "field_value": "723" } ], "web_url": "https://linhdang.qTestnet.com/p/32029/portal/project#tab=testdesign&object=1&id=5190389", "parent_id": 1523054, "test_case_version_id": 6477567, "version": "2.1", "description": "Check Our Solutions section", "precondition": "", "url": "https://linhdang.qTestnet.com/p/32029/portal/project#tab=testdesign&object=1&id=5190389", "creator_id": 5202 }, { "links": [ { "rel": "self", "href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190388?versionId=6477566" }, { "rel": "test-steps", "href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190388/versions/6477566/test-steps" }, { "rel": "attachments", "href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190388/attachments" } ], "id": 5190388, "name": "What's New section", "order": 2, "pid": "TC-2", "properties": [ { "field_id": 1695363, "field_value": "712" }, { "field_id": 1695364 }, { "field_id": 1695366, "field_value": "204" }, { "field_id": 1695367, "field_value": "701" }, { "field_id": 1695359, "field_value": "[5202]" }, { "field_id": 1695369, "field_value": "Check what's new section" }, { "field_id": 1695370, "field_value": "" }, { "field_id": 1695371, "field_value": "723" } ], "web_url": "https://linhdang.qTestnet.com/p/32029/portal/project#tab=testdesign&object=1&id=5190388", "parent_id": 1523054, "test_case_version_id": 6477566, "version": "2.1", "description": "Check what's new section", "precondition": "", "url": "https://linhdang.qTestnet.com/p/32029/portal/project#tab=testdesign&object=1&id=5190388", "creator_id": 5202 } ]
Get A Specific Version Of A Test Case
GET /api/v3/projects/{projectId}/test-cases/{testCaseId}/versions/{versionId}
Description: To get test case information for a specific version, use response’s link to get test steps information of the test case if necessary.
Path variable:
-
projectId: ID of the project
-
testCaseId: ID of Test Case
-
versionId: ID of a specific test case version
Request sample:
GET /api/v3/projects/32029/test-cases/5190387/versions/6048079 HTTP/1.1
Host: linhdang.qTestnet.com
Authorization: bearer [token]
Cache-Control: no-cache
Response sample:
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190387"
},
{
"rel": "test-steps",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190387/versions/6048079/test-steps"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190387/attachments"
}
],
"id": 5190387,
"name": "Video section",
"order": 1,
"pid": "TC-1",
"properties": [
{
"field_id": 1695363,
"field_value": "712"
},
{
"field_id": 1695364
},
{
"field_id": 1695366,
"field_value": "202"
},
{
"field_id": 1695367,
"field_value": "701"
},
{
"field_id": 1695359,
"field_value": "[5202, 5202]"
},
{
"field_id": 1695369,
"field_value": "Check video section"
},
{
"field_id": 1695370,
"field_value": ""
},
{
"field_id": 1695371
}
],
"web_url": "https://linhdang.qTestnet.com/p/32029/portal/project#tab=testdesign&object=1&id=5190387",
"test_steps": [
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190387/test-steps/36566397"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-steps/36566397/attachments"
}
],
"id": 36566397,
"description": "Opening new browser window ",
"expected": "",
"order": 1,
"attachments": []
},
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190387/test-steps/36566398"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-steps/36566398/attachments"
}
],
"id": 36566398,
"description": "Enter \"http://www.qasymphony.com/\" URL",
"expected": "Homepage shows correctly",
"order": 2,
"attachments": []
},
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190387/test-steps/36566399"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-steps/36566399/attachments"
}
],
"id": 36566399,
"description": "Click on the play button",
"expected": "The pop up video plays correctly",
"order": 3,
"attachments": []
},
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190387/test-steps/36566400"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-steps/36566400/attachments"
}
],
"id": 36566400,
"description": "Click on the Free Trial button",
"expected": "Opening \"Try qTest Free\" page",
"order": 4,
"attachments": []
},
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190387/test-steps/36566401"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-steps/36566401/attachments"
}
],
"id": 36566401,
"description": "Fill all required Info fields and click on the \"Continue\" button",
"expected": "The qTest info form will be displayed correctly",
"order": 5,
"attachments": []
},
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190387/test-steps/36566402"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-steps/36566402/attachments"
}
],
"id": 36566402,
"description": "Fill all required qTest Info fields and click on the \"Create My Trial\" button",
"expected": "Your registered sub-domain was created",
"order": 6,
"attachments": []
},
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190387/test-steps/36566403"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-steps/36566403/attachments"
}
],
"id": 36566403,
"description": "Click on the \"Access qTest Now\" Button ",
"expected": "Your trial site shows correctly",
"order": 7,
"attachments": []
},
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190387/test-steps/36566404"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-steps/36566404/attachments"
}
],
"id": 36566404,
"description": "Click on the phone number",
"expected": "A phone call will be connected via Skype for example",
"order": 8,
"attachments": []
}
],
"parent_id": 1523054,
"test_case_version_id": 6048079,
"version": "1.0",
"description": "Check video section",
"precondition": "",
"url": "https://linhdang.qTestnet.com/p/32029/portal/project#tab=testdesign&object=1&id=5190387",
"creator_id": 5202
}
Get All Versions of a Test Case
GET /api/v3/projects/{projectId}/test-cases/{testCaseId}/versions
qTest version: 7.4+
Description: To retrieve all versions, including approved and non-approved ones, of a Test Case
Path variable:
-
projectId: ID of the project
-
testCaseId: ID of the Test Case
Response body:
Attribute Name | Description |
---|---|
id | Test Case ID |
pid | PID of the Test Case |
name | Test Case name |
parent_id | Module ID |
test_case_version_id | ID of the Test Case version |
version | Test Case version |
properties | Test Case properties |
test_steps | All Test Steps of the Test Case version |
description | Test Case version's description |
precondition | Test Case version's precondition |
Response sample:
[
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190387"
},
{
"rel": "test-steps",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190387/versions/6048079/test-steps"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190387/attachments"
}
],
"id": 5190387,
"name": "Video section",
"order": 1,
"pid": "TC-1",
"properties": [
{
"field_id": 1695363,
"field_value": "712"
},
{
"field_id": 1695364
},
{
"field_id": 1695366,
"field_value": "202"
},
{
"field_id": 1695367,
"field_value": "701"
},
{
"field_id": 1695359,
"field_value": "[5202, 5202]"
},
{
"field_id": 1695369,
"field_value": "Check video section"
},
{
"field_id": 1695370,
"field_value": ""
},
{
"field_id": 1695371
}
],
"web_url": "https://linhdang.qTestnet.com/p/32029/portal/project#tab=testdesign&object=1&id=5190387",
"test_steps": [
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190387/test-steps/36566397"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-steps/36566397/attachments"
}
],
"id": 36566397,
"description": "Opening new browser window ",
"expected": "",
"order": 1,
"attachments": []
},
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190387/test-steps/36566398"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-steps/36566398/attachments"
}
],
"id": 36566398,
"description": "Enter \"http://www.qasymphony.com/\" URL",
"expected": "Homepage shows correctly",
"order": 2,
"attachments": []
},
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190387/test-steps/36566399"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-steps/36566399/attachments"
}
],
"id": 36566399,
"description": "Click on the play button",
"expected": "The pop up video plays correctly",
"order": 3,
"attachments": []
},
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190387/test-steps/36566400"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-steps/36566400/attachments"
}
],
"id": 36566400,
"description": "Click on the Free Trial button",
"expected": "Opening \"Try qTest Free\" page",
"order": 4,
"attachments": []
},
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190387/test-steps/36566401"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-steps/36566401/attachments"
}
],
"id": 36566401,
"description": "Fill all required Info fields and click on the \"Continue\" button",
"expected": "The qTest info form will be displayed correctly",
"order": 5,
"attachments": []
},
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190387/test-steps/36566402"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-steps/36566402/attachments"
}
],
"id": 36566402,
"description": "Fill all required qTest Info fields and click on the \"Create My Trial\" button",
"expected": "Your registered sub-domain was created",
"order": 6,
"attachments": []
},
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190387/test-steps/36566403"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-steps/36566403/attachments"
}
],
"id": 36566403,
"description": "Click on the \"Access qTest Now\" Button ",
"expected": "Your trial site shows correctly",
"order": 7,
"attachments": []
},
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190387/test-steps/36566404"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-steps/36566404/attachments"
}
],
"id": 36566404,
"description": "Click on the phone number",
"expected": "A phone call will be connected via Skype for example",
"order": 8,
"attachments": []
}
],
"parent_id": 1523054,
"test_case_version_id": 6048079,
"version": "1.0",
"description": "Check video section",
"precondition": "",
"url": "https://linhdang.qTestnet.com/p/32029/portal/project#tab=testdesign&object=1&id=5190387",
"creator_id": 5202
},
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190387"
},
{
"rel": "test-steps",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190387/versions/6048078/test-steps"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190387/attachments"
}
],
"id": 5190387,
"name": "Video section",
"order": 1,
"pid": "TC-1",
"properties": [
{
"field_id": 1695363,
"field_value": "712"
},
{
"field_id": 1695364
},
{
"field_id": 1695366,
"field_value": "202"
},
{
"field_id": 1695367,
"field_value": "701"
},
{
"field_id": 1695359,
"field_value": "[5202, 5202]"
},
{
"field_id": 1695369,
"field_value": "Check video section"
},
{
"field_id": 1695370,
"field_value": ""
},
{
"field_id": 1695371
}
],
"web_url": "https://linhdang.qTestnet.com/p/32029/portal/project#tab=testdesign&object=1&id=5190387",
"test_steps": [
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190387/test-steps/36566392"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-steps/36566392/attachments"
}
],
"id": 36566392,
"description": "Opening new browser window ",
"expected": "",
"order": 1,
"attachments": []
},
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190387/test-steps/36566393"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-steps/36566393/attachments"
}
],
"id": 36566393,
"description": "Enter \"http://www.qasymphony.com/\" URL",
"expected": "Homepage shows correctly",
"order": 2,
"attachments": []
},
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190387/test-steps/36566394"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-steps/36566394/attachments"
}
],
"id": 36566394,
"description": "Click on the play button",
"expected": "The pop up video plays correctly",
"order": 3,
"attachments": []
},
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190387/test-steps/36566396"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-steps/36566396/attachments"
},
{
"rel": "called_test_case",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190393?versionId=6048059"
}
],
"id": 36566396,
"description": "Get Free Trial",
"expected": "",
"order": 4,
"attachments": [],
"called_test_case": {
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190393"
},
{
"rel": "test-steps",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190393/versions/6048059/test-steps"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190393/attachments"
}
],
"id": 5190393,
"name": "Get Free Trial",
"order": 1,
"pid": "TC-7",
"properties": [
{
"field_id": 1695363,
"field_value": "712"
},
{
"field_id": 1695364
},
{
"field_id": 1695366,
"field_value": "202"
},
{
"field_id": 1695367,
"field_value": "701"
},
{
"field_id": 1695359,
"field_value": "[5202]"
},
{
"field_id": 1695369,
"field_value": "Get free trial version"
},
{
"field_id": 1695370,
"field_value": ""
},
{
"field_id": 1695371,
"field_value": "723"
}
],
"web_url": "https://linhdang.qTestnet.com/p/32029/portal/project#tab=testdesign&object=1&id=5190393",
"test_steps": [
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190393/test-steps/36566253"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-steps/36566253/attachments"
}
],
"id": 36566253,
"description": "Click on the Free Trial button",
"expected": "Opening \"Try qTest Free\" page",
"order": 1,
"attachments": []
},
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190393/test-steps/36566254"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-steps/36566254/attachments"
}
],
"id": 36566254,
"description": "Fill all required Info fields and click on the \"Continue\" button",
"expected": "The qTest info form will be displayed correctly",
"order": 2,
"attachments": []
},
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190393/test-steps/36566255"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-steps/36566255/attachments"
}
],
"id": 36566255,
"description": "Fill all required qTest Info fields and click on the \"Create My Trial\" button",
"expected": "Your registered sub-domain was created",
"order": 3,
"attachments": []
},
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190393/test-steps/36566256"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-steps/36566256/attachments"
}
],
"id": 36566256,
"description": "Click on the \"Access qTest Now\" Button ",
"expected": "Your trial site shows correctly",
"order": 4,
"attachments": []
}
],
"parent_id": 1523052,
"test_case_version_id": 6048059,
"version": "3.0",
"description": "Get free trial version",
"precondition": "",
"url": "https://linhdang.qTestnet.com/p/32029/portal/project#tab=testdesign&object=1&id=5190393",
"creator_id": 5202
}
},
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190387/test-steps/36566395"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-steps/36566395/attachments"
}
],
"id": 36566395,
"description": "Click on the phone number",
"expected": "A phone call will be connected via Skype for example",
"order": 5,
"attachments": []
}
],
"parent_id": 1523054,
"test_case_version_id": 6048078,
"version": "2.0",
"description": "Check video section",
"precondition": "",
"url": "https://linhdang.qTestnet.com/p/32029/portal/project#tab=testdesign&object=1&id=5190387",
"creator_id": 5202
},
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190387"
},
{
"rel": "test-steps",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190387/versions/6048077/test-steps"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190387/attachments"
}
],
"id": 5190387,
"name": "Video section",
"order": 1,
"pid": "TC-1",
"properties": [
{
"field_id": 1695363,
"field_value": "712"
},
{
"field_id": 1695364
},
{
"field_id": 1695366,
"field_value": "202"
},
{
"field_id": 1695367,
"field_value": "701"
},
{
"field_id": 1695359,
"field_value": "[5202, 5202]"
},
{
"field_id": 1695369,
"field_value": "Check video section"
},
{
"field_id": 1695370,
"field_value": ""
},
{
"field_id": 1695371
}
],
"web_url": "https://linhdang.qTestnet.com/p/32029/portal/project#tab=testdesign&object=1&id=5190387",
"test_steps": [
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190387/test-steps/36566387"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-steps/36566387/attachments"
}
],
"id": 36566387,
"description": "Opening new browser window ",
"expected": "",
"order": 1,
"attachments": []
},
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190387/test-steps/36566388"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-steps/36566388/attachments"
}
],
"id": 36566388,
"description": "Enter \"http://www.qasymphony.com/\" URL",
"expected": "Homepage shows correctly",
"order": 2,
"attachments": []
},
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190387/test-steps/36566389"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-steps/36566389/attachments"
}
],
"id": 36566389,
"description": "Click on the play button",
"expected": "The pop up video plays correctly",
"order": 3,
"attachments": []
},
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190387/test-steps/36566390"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-steps/36566390/attachments"
},
{
"rel": "called_test_case",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190393?versionId=6048059"
}
],
"id": 36566390,
"description": "Get Free Trial",
"expected": "",
"order": 4,
"attachments": [],
"called_test_case": {
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190393"
},
{
"rel": "test-steps",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190393/versions/6048059/test-steps"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190393/attachments"
}
],
"id": 5190393,
"name": "Get Free Trial",
"order": 1,
"pid": "TC-7",
"properties": [
{
"field_id": 1695363,
"field_value": "712"
},
{
"field_id": 1695364
},
{
"field_id": 1695366,
"field_value": "202"
},
{
"field_id": 1695367,
"field_value": "701"
},
{
"field_id": 1695359,
"field_value": "[5202]"
},
{
"field_id": 1695369,
"field_value": "Get free trial version"
},
{
"field_id": 1695370,
"field_value": ""
},
{
"field_id": 1695371,
"field_value": "723"
}
],
"web_url": "https://linhdang.qTestnet.com/p/32029/portal/project#tab=testdesign&object=1&id=5190393",
"test_steps": [
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190393/test-steps/36566253"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-steps/36566253/attachments"
}
],
"id": 36566253,
"description": "Click on the Free Trial button",
"expected": "Opening \"Try qTest Free\" page",
"order": 1,
"attachments": []
},
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190393/test-steps/36566254"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-steps/36566254/attachments"
}
],
"id": 36566254,
"description": "Fill all required Info fields and click on the \"Continue\" button",
"expected": "The qTest info form will be displayed correctly",
"order": 2,
"attachments": []
},
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190393/test-steps/36566255"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-steps/36566255/attachments"
}
],
"id": 36566255,
"description": "Fill all required qTest Info fields and click on the \"Create My Trial\" button",
"expected": "Your registered sub-domain was created",
"order": 3,
"attachments": []
},
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190393/test-steps/36566256"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-steps/36566256/attachments"
}
],
"id": 36566256,
"description": "Click on the \"Access qTest Now\" Button ",
"expected": "Your trial site shows correctly",
"order": 4,
"attachments": []
}
],
"parent_id": 1523052,
"test_case_version_id": 6048059,
"version": "3.0",
"description": "Get free trial version",
"precondition": "",
"url": "https://linhdang.qTestnet.com/p/32029/portal/project#tab=testdesign&object=1&id=5190393",
"creator_id": 5202
}
},
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190387/test-steps/36566391"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-steps/36566391/attachments"
}
],
"id": 36566391,
"description": "Click on the phone number",
"expected": "A phone call will be connected via Skype for example",
"order": 5,
"attachments": []
}
],
"parent_id": 1523054,
"test_case_version_id": 6048077,
"version": "3.0",
"description": "Check video section",
"precondition": "",
"url": "https://linhdang.qTestnet.com/p/32029/portal/project#tab=testdesign&object=1&id=5190387",
"creator_id": 5202
},
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190387"
},
{
"rel": "test-steps",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190387/versions/6048076/test-steps"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190387/attachments"
}
],
"id": 5190387,
"name": "Video section",
"order": 1,
"pid": "TC-1",
"properties": [
{
"field_id": 1695363,
"field_value": "712"
},
{
"field_id": 1695364
},
{
"field_id": 1695366,
"field_value": "202"
},
{
"field_id": 1695367,
"field_value": "701"
},
{
"field_id": 1695359,
"field_value": "[5202, 5202]"
},
{
"field_id": 1695369,
"field_value": "Check video section"
},
{
"field_id": 1695370,
"field_value": ""
},
{
"field_id": 1695371
}
],
"web_url": "https://linhdang.qTestnet.com/p/32029/portal/project#tab=testdesign&object=1&id=5190387",
"test_steps": [
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190387/test-steps/36566385"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-steps/36566385/attachments"
},
{
"rel": "called_test_case",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190393?versionId=6048059"
}
],
"id": 36566385,
"description": "Get Free Trial",
"expected": "",
"order": 1,
"attachments": [],
"called_test_case": {
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190393"
},
{
"rel": "test-steps",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190393/versions/6048059/test-steps"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190393/attachments"
}
],
"id": 5190393,
"name": "Get Free Trial",
"order": 1,
"pid": "TC-7",
"properties": [
{
"field_id": 1695363,
"field_value": "712"
},
{
"field_id": 1695364
},
{
"field_id": 1695366,
"field_value": "202"
},
{
"field_id": 1695367,
"field_value": "701"
},
{
"field_id": 1695359,
"field_value": "[5202]"
},
{
"field_id": 1695369,
"field_value": "Get free trial version"
},
{
"field_id": 1695370,
"field_value": ""
},
{
"field_id": 1695371,
"field_value": "723"
}
],
"web_url": "https://linhdang.qTestnet.com/p/32029/portal/project#tab=testdesign&object=1&id=5190393",
"test_steps": [
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190393/test-steps/36566253"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-steps/36566253/attachments"
}
],
"id": 36566253,
"description": "Click on the Free Trial button",
"expected": "Opening \"Try qTest Free\" page",
"order": 1,
"attachments": []
},
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190393/test-steps/36566254"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-steps/36566254/attachments"
}
],
"id": 36566254,
"description": "Fill all required Info fields and click on the \"Continue\" button",
"expected": "The qTest info form will be displayed correctly",
"order": 2,
"attachments": []
},
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190393/test-steps/36566255"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-steps/36566255/attachments"
}
],
"id": 36566255,
"description": "Fill all required qTest Info fields and click on the \"Create My Trial\" button",
"expected": "Your registered sub-domain was created",
"order": 3,
"attachments": []
},
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190393/test-steps/36566256"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-steps/36566256/attachments"
}
],
"id": 36566256,
"description": "Click on the \"Access qTest Now\" Button ",
"expected": "Your trial site shows correctly",
"order": 4,
"attachments": []
}
],
"parent_id": 1523052,
"test_case_version_id": 6048059,
"version": "3.0",
"description": "Get free trial version",
"precondition": "",
"url": "https://linhdang.qTestnet.com/p/32029/portal/project#tab=testdesign&object=1&id=5190393",
"creator_id": 5202
}
},
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190387/test-steps/38810329"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-steps/38810329/attachments"
}
],
"id": 38810329,
"description": "abc def",
"expected": "",
"order": 2,
"attachments": []
},
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190387/test-steps/38810330"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-steps/38810330/attachments"
}
],
"id": 38810330,
"description": "123 456 789",
"expected": "",
"order": 3,
"attachments": []
},
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190387/test-steps/38810331"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-steps/38810331/attachments"
}
],
"id": 38810331,
"description": "[~583cf21c46e0fb00011bd9a1]",
"expected": "",
"order": 4,
"attachments": []
},
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190387/test-steps/39034168"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-steps/39034168/attachments"
},
{
"rel": "called_test_case",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190389?versionId=6048072"
}
],
"id": 39034168,
"description": "Our Solutions section",
"expected": "",
"order": 5,
"attachments": [],
"called_test_case": {
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190389"
},
{
"rel": "test-steps",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190389/versions/6048072/test-steps"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190389/attachments"
}
],
"id": 5190389,
"name": "Our Solutions section",
"order": 3,
"pid": "TC-3",
"properties": [
{
"field_id": 1695363,
"field_value": "712"
},
{
"field_id": 1695364
},
{
"field_id": 1695366,
"field_value": "204"
},
{
"field_id": 1695367,
"field_value": "701"
},
{
"field_id": 1695359,
"field_value": "[5202]"
},
{
"field_id": 1695369,
"field_value": "Check Our Solutions section"
},
{
"field_id": 1695370,
"field_value": ""
},
{
"field_id": 1695371,
"field_value": "723"
}
],
"web_url": "https://linhdang.qTestnet.com/p/32029/portal/project#tab=testdesign&object=1&id=5190389",
"test_steps": [
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190389/test-steps/36566364"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-steps/36566364/attachments"
}
],
"id": 36566364,
"description": "Opening new browser window ",
"expected": "",
"order": 1,
"attachments": []
},
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190389/test-steps/36566365"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-steps/36566365/attachments"
}
],
"id": 36566365,
"description": "Enter \"http://www.qasymphony.com/\" URL",
"expected": "Homepage shows correctly",
"order": 2,
"attachments": []
},
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190389/test-steps/36566366"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-steps/36566366/attachments"
}
],
"id": 36566366,
"description": "Click on the \"Learn More\" button or the content of qTest section",
"expected": "Redirecting to Solutions > Test Case Management page",
"order": 3,
"attachments": []
},
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190389/test-steps/36566367"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-steps/36566367/attachments"
}
],
"id": 36566367,
"description": " Click on the \"Learn More\" button or the content of qTest Explorer section",
"expected": "Redirecting to Solutions > Exploratory Testing page",
"order": 4,
"attachments": []
},
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/5190389/test-steps/36566368"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-steps/36566368/attachments"
}
],
"id": 36566368,
"description": "Click on the \"Learn More\" button or the content of qMap section",
"expected": "Redirecting to introducing qMap page",
"order": 5,
"attachments": []
}
],
"parent_id": 1523054,
"test_case_version_id": 6048072,
"version": "2.0",
"description": "Check Our Solutions section",
"precondition": "",
"url": "https://linhdang.qTestnet.com/p/32029/portal/project#tab=testdesign&object=1&id=5190389",
"creator_id": 5202
}
}
],
"parent_id": 1523054,
"test_case_version_id": 6048076,
"version": "3.7",
"description": "Check video section",
"precondition": "",
"url": "https://linhdang.qTestnet.com/p/32029/portal/project#tab=testdesign&object=1&id=5190387",
"creator_id": 5202
}
]
Create A Test Case
POST /api/v3/projects/{projectId}/test-cases
qTest version: 4+
Description: To create a new test case. The parent module is specified in request body.
Path variable:
-
projectId: ID of the project
Request body:
Attribute Name | Required | Type | Description |
---|---|---|---|
name | True | String | Test case name |
description | False | String | Test case description |
properties | True | JSONArray | An array of field-value pairs. |
test_steps | False | JSONArray | The JSONArray of Test Step objects |
parent_id | False | String | ID of the parent module. If it is not specified, the newly created test case is located under “Created via API” module. |
Request sample:
POST /api/v3/projects/32029/test-cases/ HTTP/1.1
Host: linhdang.qTestnet.com
Authorization: bearer --
Content-Type: application/json
Cache-Control: no-cache
{
"name":"An automation Test Case created via API",
"properties":[
{
"field_id":1695364,
"field_value":710
},
{
"field_id":1695363,
"field_value":711
}
],
"test_steps":[
{
"description":"Open browser",
"expected":""
},
{
"description":"Access gmail.com",
"expected":"Page is successfully loaded"
},
{
"description":"call another test case",
"expected":"log in successfully",
"called_test_case": {
"id": 6437715,
"approved": true
}
}
]
}
Response sample:
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/6517980"
},
{
"rel": "test-steps",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/6517980/versions/7714122/test-steps?expand="
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/6517980/attachments"
}
],
"id": 6517980,
"name": "An automation Test Case created via API",
"order": 5,
"pid": "TC-51",
"properties": [
{
"field_id": 1695366,
"field_value": "201"
},
{
"field_id": 1695367,
"field_value": "701"
},
{
"field_id": 1695359,
"field_value": "[]"
},
{
"field_id": 1695369,
"field_value": ""
},
{
"field_id": 1695370,
"field_value": ""
}
],
"web_url": "https://linhdang.qTestnet.com/p/32029/portal/project#tab=testdesign&object=1&id=6517980",
"test_steps": [
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/6517980/test-steps/44924608"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-steps/44924608/attachments"
}
],
"id": 44924608,
"description": "Open browser",
"expected": "",
"order": 1,
"attachments": []
},
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/6517980/test-steps/44924609"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-steps/44924609/attachments"
}
],
"id": 44924609,
"description": "Access gmail.com",
"expected": "Page is successfully loaded",
"order": 2,
"attachments": []
},
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/6517980/test-steps/44924610"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-steps/44924610/attachments"
},
{
"rel": "called_test_case",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/6437715?versionId=7700813"
}
],
"id": 44924610,
"description": "Log in successfully",
"expected": "log in successfully",
"order": 3,
"attachments": [],
"called_test_case": {
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/6437715"
},
{
"rel": "test-steps",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/6437715/versions/7700813/test-steps?expand="
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/6437715/attachments"
}
],
"id": 6437715,
"name": "Log in successfully",
"order": 6,
"pid": "TC-48",
"properties": [
{
"field_id": 1695366,
"field_value": "201"
},
{
"field_id": 1695367,
"field_value": "702"
},
{
"field_id": 1695359,
"field_value": "[]"
},
{
"field_id": 1695369,
"field_value": ""
},
{
"field_id": 1695370,
"field_value": ""
}
],
"web_url": "https://linhdang.qTestnet.com/p/32029/portal/project#tab=testdesign&object=1&id=6437715",
"test_steps": [
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/6437715/test-steps/44843180"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-steps/44843180/attachments"
}
],
"id": 44843180,
"description": "Enter user name",
"expected": "",
"order": 1,
"attachments": []
},
{
"links": [
{
"rel": "self",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-cases/6437715/test-steps/44843181"
},
{
"rel": "attachments",
"href": "https://linhdang.qTestnet.com/api/v3/projects/32029/test-steps/44843181/attachments"
}
],
"id": 44843181,
"description": "Enter password",
"expected": "",
"order": 2,
"attachments": []
}
],
"parent_id": 1523054,
"test_case_version_id": 7700813,
"version": "2.0",
"description": "",
"precondition": "",
"url": "https://linhdang.qTestnet.com/p/32029/portal/project#tab=testdesign&object=1&id=6437715",
"creator_id": 5202
}
}
],
"parent_id": 1715895,
"test_case_version_id": 7714122,
"version": "0.1",
"description": "",
"precondition": "",
"url": "https://linhdang.qTestnet.com/p/32029/portal/project#tab=testdesign&object=1&id=6517980"
}
Create A Test Case - Deprecated
POST api/v3/projects/{projectId}/test-case-with-custom-fields
qTest version: Deprecated from version 6
Description: To create a new Test Case object. Its properties, including the custom fields, are specified in the request body. You will need to use the above API to get the Test Case's field IDs and use them in this request.
Path variable:
-
projectId: ID of the project
Request sample:
POST /api/v3/projects/1/test-case-with-custom-fields HTTP/1.1
Host: localhost:8080
Authorization: bmVwaGVsZXxtYXhtY2Nsb3VkQHFhc3ltcGhvbnkuY29tOjE0MzE3ODg3ODc5ODY6ZTA5MTkyNzgzMmQ1MWFmM2U4NzcwMDlkMWQ2NmViYjM
Content-Type: application/json
Cache-Control: no-cache
{ "name": "new Test case",
"parent_id": 1131,
"properties" : [
{ "field_id" : 7310, "field_value" : "202" },
{ "field_id" : 7311, "field_value": "703" },
{ "field_id" : 7313, "field_value": "[2]" },
{ "field_id" : -62, "field_value": "Description of Test Case" },
{ "field_id" : -68, "field_value": "Precondition of Test Case" },
{ "field_id" : 8841, "field_value": "Textbox field value" },
{ "field_id" : 8842, "field_value": "Text area field value" },
{ "field_id" : 8843, "field_value": "1" },
{ "field_id" : 8844, "field_value": "2014-05-15T15:45:00Z" },
{ "field_id" : 8845, "field_value": "2" },
{ "field_id" : 8846, "field_value": "Richtext field value" },
{ "field_id" : 8848, "field_value": "[1, 2]" }
]
}
Response sample:
POST /api/v3/projects/1/test-case HTTP/1.1
Host: localhost:8080
Authorization: bmVwaGVsZXxtYXhtY2Nsb3VkQHFhc3ltcGhvbnkuY29tOjE0MzE3ODg3ODc5ODY6ZTA5MTkyNzgzMmQ1MWFmM2U4NzcwMDlkMWQ2NmViYjM
Content-Type: application/json
Cache-Control: no-cache
{ "name": "new Test case", "parent_id": 1131,
"properties" : [
{ "field_id" : 7310, "field_value" : "202" },
{ "field_id" : 7311, "field_value": "703" },
{ "field_id" : 7313, "field_value": "[2]" },
{ "field_id" : -62, "field_value": "Description of Test Case" },
{ "field_id" : -68, "field_value": "Precondition of Test Case" },
{ "field_id" : 8841, "field_value": "Textbox field value" },
{ "field_id" : 8842, "field_value": "Text area field value" },
{ "field_id" : 8843, "field_value": "1" },
{ "field_id" : 8844, "field_value": "2014-05-15T15:45:00Z" },
{ "field_id" : 8845, "field_value": "2" },
{ "field_id" : 8846, "field_value": "Richtext field value" },
{ "field_id" : 8848, "field_value": "[1, 2]" }
]
}
{
"links": [
{
"rel": "self",
"href": "http://localhost:8080/api/v3/projects/1/test-case-with-custom-fields/37147"
}
],
"id": 37147,
"name": "new Test case with full",
"order": 10,
"pid": "TC-46",
"web_url": "http://localhost:8080/test-conductor/p/1/portal/project#tab=testdesign&object=1&id=37147",
"parent_id": 1131
}
Update A Test Case
PUT /api/v3/projects/{projectId}/test-cases/{testCaseId}
qTest version: 6+
Description: To update a manual test case. This APIs does not work with automation test case and does not support attachment.
Path variable:
-
projectId: ID of the project
-
testCaseId: ID of the test case which needs to be updated
Request sample:
PUT /api/v3/projects/1/test-cases/1406 HTTP/1.1
Host: localhost:8080
Authorization: --
---
Content-Type: Application/json
Cache-Control: no-cache
{
"name": "TC-Add an existing contact updated via API",
"properties": [
{
"field_id": 72,
"field_value": "204"
},
{
"field_id": 75,
"field_value": "701"
},
{
"field_id": 58,
"field_value": "[]"
},
{
"field_id": 65,
"field_value": "Add an existing contact"
},
{
"field_id": 71,
"field_value": "User has already logged in qConnect"
}
],
"test_steps": [
{
"description":"call another test case",
"expected":"log in successfully",
"called_test_case": {
"id": 6437715,
"approved": true
}
}
]
}
Response sample:
{
"links": [
{
"rel": "self",
"href": "http://localhost:8080/api/v3/projects/1/test-cases/1406"
}
],
"id": 1406,
"name": "TC-Add an existing contact updated via API",
"order": 1,
"pid": "TC-38",
"web_url": "https://localhost:8443/p/1/portal/project#tab=testdesign&object=1&id=1406",
"parent_id": 12,
"test_case_version_id": 1484
}
Approve A Test Case
PUT /api/v3/projects/{projectId}/test-cases/{testCaseId}/approve
qTest version: 7.4+
Description: To approve test case.
Path variable:
-
projectId: ID of the project
-
testCaseId: ID of the test case which needs to be deleted
Delete A Test Case
DELETE /api/v3/projects/{projectId}/test-cases/{testCaseId}
qTest version: 6+
Path variable:
-
projectId: ID of the project
-
testCaseId: ID of the test case which needs to be deleted
Get A Test Step
GET /api/v3/projects/{projectId}/test-cases/{testCaseId}/test-steps/{testStepId}
qTest version: 6+
To retrieve a test step in a test case.
Path variable:
-
projectId: ID of the project
-
testCaseId: ID of the test case
-
testStepId: ID of the test step
Response sample:
{
"links": [
{
"rel": "self",
"href": "http://localhost:8080/api/v3/projects/1/test-cases/1407/test-steps/8556"
},
{
"rel": "attachments",
"href": "http://localhost:8080/api/v3/projects/1/test-steps/8556/attachments"
}
],
"id": 8556,
"description": "Step 4 updated",
"expected": "no exception throw",
"order": 7,
"attachments": [
{
"links": [
{
"rel": "self",
"href": "http://localhost:8080/api/v3/projects/1/test-steps/8556/attachments/2"
}
],
"name": "sample.txt",
"content_type": "text/plain",
"id": 2,
"web_url": "https://localhost:8443/p/1/portal/attachment/teststep/attachmentId/2"
}
]
}
Create A Test Step
POST /api/v3/projects/{projectId}/test-cases/{testCaseId}/test-steps
qTest version: 6+
Description: To create a new test step in a test case.
-
projectId: ID of the project
-
testCaseId: ID of the test case which needs to be updated
Request sample:
POST /api/v3/projects/1/test-cases/1407/test-steps HTTP/1.1
Host: localhost:8080
Authorization: ---
Content-Type: Application/json
Cache-Control: no-cache
{
"description": "Step 4",
"expected": "no exception throw",
"attachments": [
{
"name": "sample.txt",
"content_type": "text/plain",
"data": "hIuGJIOHvgl"
}
]
}
Response sample:
{
"links": [
{
"rel": "self",
"href": "http://localhost:8080/api/v3/projects/1/test-cases/1407/test-steps/8556"
},
{
"rel": "attachments",
"href": "http://localhost:8080/api/v3/projects/1/test-steps/8556/attachments"
}
],
"id": 8556,
"description": "Step 4",
"expected": "no exception throw",
"order": 7,
"attachments": [
{
"links": [
{
"rel": "self",
"href": "http://localhost:8080/api/v3/projects/1/8556/attachments/2"
}
],
"name": "sample.txt",
"content_type": "text/plain",
"id": 2,
"web_url": "https://localhost:8443/p/1/portal/attachment//attachmentId/2"
}
]
}
Update A Test Step
PUT /api/v3/projects/{projectId}/test-cases/{testCaseId}/test-steps/{testStepId}
qTest version: 6+
Description: To update an existing test step in a test case. This API does not support attachment.
Path variable:
Request sample:
{
"description": "Step 4 updated",
"expected": "no exception throw"
}
Response sample:
{
"links": [
{
"rel": "self",
"href": "http://localhost:8080/api/v3/projects/1/test-cases/1407/test-steps/8556"
},
{
"rel": "attachments",
"href": "http://localhost:8080/api/v3/projects/1/test-steps/8556/attachments"
}
],
"id": 8556,
"description": "Step 4 updated",
"expected": "no exception throw",
"order": 7,
"attachments": [
{
"links": [
{
"rel": "self",
"href": "http://localhost:8080/api/v3/projects/1/test-steps/8556/attachments/2"
}
],
"name": "sample.txt",
"content_type": "text/plain",
"id": 2,
"web_url": "https://localhost:8443/p/1/portal/attachment/teststep/attachmentId/2"
}
]
}
Delete A Test Step
DELETE /api/v3/projects/{projectId}/test-cases/{testCaseId}/test-steps/{testStepId}
qTest version: 6+
Description: To delete a test step in a test case.
Path variable:
-
testCaseId: ID of the test case
-
testStepId: ID of the test step