Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 68 additions & 0 deletions docs/automated-test-cases-linked-with-test-manager.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
---
id: automated-test-cases-linked-with-test-manager
title: Linking Automated Test Cases to Test Manager
hide_title: false
sidebar_label: Linking Automated Test Cases
description: Link your automated test cases with the test manager using the test case id and run the automation test via Autoamtion dashboard or HyperExecute
keywords:
- automated test cases
- automated test cases linking to test manager
- test cases
- automation
- hyperexecute
url: https://www.lambdatest.com/support/docs/automated-test-cases-linked-with-test-manager/
site_name: LambdaTest
slug: automated-test-cases-linked-with-test-manager/
---

<script type="application/ld+json"
dangerouslySetInnerHTML={{ __html: JSON.stringify({
"@context": "https://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [{
"@type": "ListItem",
"position": 1,
"name": "LambdaTest",
"item": "https://www.lambdatest.com"
},{
"@type": "ListItem",
"position": 2,
"name": "Support",
"item": "https://www.lambdatest.com/support/docs/"
},{
"@type": "ListItem",
"position": 3,
"name": "Linking Automated Test Cases to Test Manager",
"item": "https://www.lambdatest.com/support/docs/automated-test-cases-linked-with-test-manager/"
}]
})
}}
></script>
Test Manager supports linking automated test runs directly to specific test cases using Test Case IDs. This feature enables better traceability and management of your automated testing workflow.

> Currently, this feature is supported on [HyperExecute](/support/docs/getting-started-with-hyperexecute/) and Web Automation tests.

## How to Link a Test Case ID

To link an automated test run with a specific test case, add the `tms.tc_id` key in the `lt:Options` section of your test capabilities. Here is a sample configuration demonstrating how to include the `tms.tc_id` key in your script:

```javascript
const capabilities = {
"browserName": "Chrome", // Specify browser name
"browserVersion": "120.0", // Specify browser version
"lt:Options": {
"tms.tc_id": "TC-1470" // Link the test execution to the Test Case ID 'TC-1470'
}
};
```

- `browserName` : Name of the browser being used for the test.
- `browserVersion` : Version of the browser.
- `lt:Options` : A JSON object containing additional options for LambdaTest configurations.
- `tms.tc_id` : The key used to link a test case in Test Manager. Replace "TC-1470" with your desired Test Case ID.

:::info NOTE
- Ensure the Test Case ID exists in Test Manager before linking.
- The Test Case ID format should match exactly as shown in Test Manager
- Each automated test run can be linked to one test case at a time
:::
2 changes: 1 addition & 1 deletion sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -1707,7 +1707,7 @@ module.exports = {
type: "category",
collapsed: true,
label: "Automated Test Cases",
items: ["automated-test-cases-with-ai"],
items: ["automated-test-cases-with-ai", "automated-test-cases-linked-with-test-manager"],
},
{
type: "category",
Expand Down
Loading