Skip to content

Commit 1c2106d

Browse files
authored
Merge pull request #1289 from srivishnua-lambdatest/stage
Insights - Now support custom data filter to filter Web Automation tests
2 parents 371566f + e189762 commit 1c2106d

File tree

2 files changed

+91
-0
lines changed

2 files changed

+91
-0
lines changed
Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
---
2+
id: analytics-filter-by-custom-data
3+
title: Filter by Custom Data
4+
sidebar_label: Filter by Custom Data
5+
description: Analyze the test case level insights of your test automation execution on LambdaTest.
6+
keywords:
7+
- analytics
8+
url: https://www.lambdatest.com/support/docs/analytics-filter-by-custom-data/
9+
site_name: LambdaTest
10+
slug: analytics-filter-by-custom-data/
11+
---
12+
13+
<script type="application/ld+json"
14+
dangerouslySetInnerHTML={{ __html: JSON.stringify({
15+
"@context": "https://schema.org",
16+
"@type": "BreadcrumbList",
17+
"itemListElement": [{
18+
"@type": "ListItem",
19+
"position": 1,
20+
"name": "Home",
21+
"item": "https://www.lambdatest.com"
22+
},{
23+
"@type": "ListItem",
24+
"position": 2,
25+
"name": "Support",
26+
"item": "https://www.lambdatest.com/support/docs/"
27+
},{
28+
"@type": "ListItem",
29+
"position": 3,
30+
"name": "Test Overview",
31+
"item": "https://www.lambdatest.com/support/docs/analytics-filter-by-custom-data/"
32+
}]
33+
})
34+
}}
35+
></script>
36+
import NewTag from '../src/component/newTag';
37+
38+
39+
Ability to sent any custom `key` and `value` pair to LambdaTest platform and then filter the test cases based on the custom data. This feature is available for `Web Automation` and `App Automation` coming soon.
40+
41+
## Prerequisites For Insights:
42+
43+
1. You should have an active LambdaTest account.
44+
2. You should han active subscription plan with Web Automation.
45+
3. You should have executed at least one test on the LambdaTest Web Automation platform.
46+
47+
## Capture Custom Data Filter for Insights in Web Automation &nbsp;<NewTag value="BETA" bgColor="#ffec02" color="#000" />
48+
49+
### Update your existing test capabilities
50+
51+
You can use the `customData` capability to send custom data to the LambdaTest platform. The custom data will be displayed in the `Builds Comparison Insights` module. The custom data will be displayed in the `Custom Data` Filter. You can filter the test cases based on the custom data.
52+
53+
```js
54+
{
55+
"capabilities": {
56+
"browserName": "chrome",
57+
"version": "latest",
58+
"platform": "Windows 10",
59+
// highlight-start
60+
"customData": {
61+
"key": "value"
62+
}
63+
// highlight-end
64+
}
65+
}
66+
67+
```
68+
69+
70+
## How To Access Custom Filters?
71+
72+
:::note
73+
74+
Currently, the feature is in the <NewTag value="BETA" bgColor="#ffec02" color="#000" /> phase and will be supported for Build Comparison for Web Automation.
75+
76+
:::
77+
78+
1. Go to the `Insights` tab on the left navigation bar and click on the `Builds Comparison`.
79+
2. Select the `Build` from the list to drill-down.
80+
3. Now, search for `Test Case` widgets in the `Web Automation, App Automation & HyperExecute` products.
81+
4. Add the widgets to the dashboard by clicking on the `Add Widget` button.
82+
83+
84+
## Custom Filters Use Cases
85+
86+
1. You can send the `key` and `value` pair to the LambdaTest platform.
87+
2. You can filter the test cases based on the custom data.
88+
89+
90+

sidebars.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2999,6 +2999,7 @@ module.exports = {
29992999
"analytics-dashboard-features",
30003000
"analytics-widget-drill-down-export",
30013001
"analytics-widget-filter-by-regex",
3002+
"analytics-filter-by-custom-data",
30023003
"analytics-faqs",
30033004
],
30043005

0 commit comments

Comments
 (0)