Skip to content

Commit 596fbc6

Browse files
authored
Merge pull request #2079 from Ishavyas9/main
HYP doc updated
2 parents 28d0612 + 51c1939 commit 596fbc6

File tree

5 files changed

+182
-19
lines changed

5 files changed

+182
-19
lines changed
10.7 MB
Binary file not shown.

docs/hyperexecute-projects.md

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -102,26 +102,9 @@ Click on **Save** button to finish the setup of your project.
102102
</div>
103103
104104
## Schedule your Workflows
105-
Within each HyperExecute Project, you can set up one or more workflows. These workflows allow for scheduled execution of your tests, providing you with the flexibility to automate your testing process according to your development and release cycles.
105+
Within each HyperExecute Project, you can set up one or more workflows. These workflows allow for scheduled execution of your tests, providing you with the flexibility to automate your testing process according to your development and release cycles.
106106
107-
> **NOTE :** Currently, it works only in the [dynamic mode of test discovery](/support/docs/deep-dive-into-hyperexecute-yaml/#testdiscovery).
108-
109-
**Step 1:** Click on the **Setup Workflow**. Enter your workflow name, provide your branch name and then enter the path of your YAML file you want to execute. Click on **Next**.
110-
111-
**Step 2:** Configure the schedule of your workflow. Select the **days** and **time** at which you want to trigger your tests. Click on **Next**.
112-
113-
**Step 3: Workflow Linking (Optional)-** You can connect this workflow to other existing workflows in this project or others that you own. When this workflow is completed successfully, it can automatically activate the linked workflows. To configure this, select the workflows you want to trigger from the list of existing workflows. This feature enables you to create automated workflow chains for more complex testing and deployment processes.
114-
115-
> 📘 Gain a Comprehensive Understanding of how to use connected workflows to create [Test Chains](/support/docs/hyperexecute-test-chains/).
116-
117-
Click on the **Finish** button and your job will be triggered on the defined day and time.
118-
119-
<div className="storylane-iframe">
120-
<script async src="https://js.storylane.io/js/v2/storylane.js"></script>
121-
<div className="sl-embed">
122-
<iframe loading="lazy" className="sl-demo" src="https://app.storylane.io/demo/mm0v54k4vzmb?embed=inline" name="sl-embed" allow="fullscreen" allowfullscreen></iframe>
123-
</div>
124-
</div>
107+
> To learn more about Workflows in HyperExecute, refer to our [detailed documentation](/support/docs/hyperexecute-workflows)
125108
126109
## Setting Up Specialized Projects
127110
In addition to custom projects, HyperExecute supports integration with specialized testing tools such as Tosca, Tosca DEX, and Performance testing with JMeter. For detailed instructions on setting up these specific projects, please refer to their dedicated documentation pages:
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
---
2+
id: hyperexecute-release-notes-3-0-1
3+
title: Version 3.0.1
4+
hide_title: false
5+
sidebar_label: Version 3.0.1
6+
description: Version 3.0.1
7+
keywords:
8+
- LambdaTest Hyperexecute
9+
- LambdaTest Hyperexecute help
10+
- LambdaTest Hyperexecute documentation
11+
- FAQs
12+
url: https://www.lambdatest.com/support/docs/hyperexecute-release-notes-3-0-1/
13+
site_name: LambdaTest
14+
slug: hyperexecute-release-notes-3-0-1/
15+
---
16+
17+
import NewReleaseTag from '../src/component/newRelease.js';
18+
import EnhancementTag from '../src/component/enhancementTag';
19+
import BugFixTag from '../src/component/bugFixTag';
20+
import CodeBlock from '@theme/CodeBlock';
21+
import {YOUR_LAMBDATEST_USERNAME, YOUR_LAMBDATEST_ACCESS_KEY} from "@site/src/component/keys";
22+
23+
<script type="application/ld+json"
24+
dangerouslySetInnerHTML={{ __html: JSON.stringify({
25+
"@context": "https://schema.org",
26+
"@type": "BreadcrumbList",
27+
"itemListElement": [{
28+
"@type": "ListItem",
29+
"position": 1,
30+
"name": "Home",
31+
"item": "https://www.lambdatest.com"
32+
},{
33+
"@type": "ListItem",
34+
"position": 2,
35+
"name": "Support",
36+
"item": "https://www.lambdatest.com/support/docs/"
37+
},{
38+
"@type": "ListItem",
39+
"position": 3,
40+
"name": "Version",
41+
"item": "https://www.lambdatest.com/support/docs/hyperexecute-release-notes-3-0-1/"
42+
}]
43+
})
44+
}}
45+
></script>
46+
## Workflow Variables on HyperExecute
47+
With Workflow Variables, you can now customize your workflow execution. This makes it easier to reuse the same workflow across multiple scenarios without editing YAML or creating duplicate workflows.
48+
49+
- **Workflow-level Variables :** Define reusable variables (e.g., ENVIRONMENT, BROWSER) while creating or editing workflows.
50+
- **Default & Multiple Values :** Assign defaults or provide multiple values per variable.
51+
- **Runtime Overrides :** Update variable values at run time without changing saved defaults.
52+
53+
> To learn more about Workflow Variables on HyperExecute, refer to our [detailed documentation](/support/docs/hyperexecute-workflows/#workflow-variables)

docs/hyperexecute-workflows.md

Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
---
2+
id: hyperexecute-workflows
3+
title: Workflows in HyperExecute
4+
sidebar_label: Workflows
5+
description: Schedule and orchestrate HyperExecute jobs without a full CI/CD, chain workflows across projects, and parameterize runs with workflow variables.
6+
keywords:
7+
- LambdaTest HyperExecute
8+
- HyperExecute Workflows
9+
- schedule tests
10+
- connected workflows
11+
- test chains
12+
url: https://www.lambdatest.com/support/docs/hyperexecute-workflows/
13+
site_name: LambdaTest
14+
slug: hyperexecute-workflows/
15+
---
16+
17+
<script type="application/ld+json"
18+
dangerouslySetInnerHTML={{ __html: JSON.stringify({
19+
"@context": "https://schema.org",
20+
"@type": "BreadcrumbList",
21+
"itemListElement": [{
22+
"@type": "ListItem",
23+
"position": 1,
24+
"name": "Home",
25+
"item": "https://www.lambdatest.com"
26+
},{
27+
"@type": "ListItem",
28+
"position": 2,
29+
"name": "Support",
30+
"item": "https://www.lambdatest.com/support/docs/"
31+
},{
32+
"@type": "ListItem",
33+
"position": 3,
34+
"name": "Workflows in HyperExecute",
35+
"item": "https://www.lambdatest.com/support/docs/hyperexecute-workflows/"
36+
}]
37+
})
38+
}}
39+
></script>
40+
Workflows give you the speed, reliability, and platform‑native orchestration of HyperExecute on a schedule. Think of Workflows as a lightweight, cloud-native alternative and companion to CI/CD, with all the functionalities of HyperExecute such as reporting, RCA etc.
41+
42+
## Why Workflows
43+
- **Schedule-first orchestration:** Run regular suites by just connecting your Git repo, without wiring a CI pipeline.
44+
- **Native to HyperExecute:** Leverage JIT infrastructure, smart test discovery/splitting, and rich artifacts in one place.
45+
- **Chainable runs:** Trigger downstream workflows on success to form full test chains across projects.
46+
- **Customizable:** Use Workflow Variables to reuse the same YAML across environments and scenarios.
47+
48+
## How Workflows are Used
49+
Workflows are schedule and platform driven, not commit-driven yet. Workflows can be thought of as UI alternative for CLI-based executions, if your project is available on Git. They’re great for:
50+
- Nightly smoke/regression runs across browsers/devices.
51+
- Scheduled environment checks (staging, pre-prod) before business hours.
52+
- Chaining suites across multiple repositories or projects.
53+
54+
## Prerequisites
55+
- A [HyperExecute Project](/support/docs/hyperexecute-projects/) connected to **GitHub** or **Bitbucket**.
56+
- A HyperExecute YAML present on the specified branch, or provide a Custom YAML during setup. New to YAML? See [Generate YAML](/support/docs/hyperexecute-generate-sample-yaml/) and the [Deep Dive](/support/docs/deep-dive-into-hyperexecute-yaml/).
57+
- Note: Workflows currently work with the [dynamic mode of test discovery](/support/docs/deep-dive-into-hyperexecute-yaml/#testdiscovery).
58+
59+
## Create a Workflow
60+
1) In your Project, click **Setup Workflow**.
61+
2) Enter details:
62+
- **Workflow name**
63+
- **Branch name** (source branch containing the YAML)
64+
- **YAML file path** (path in repo) or add Custom YAML
65+
3) (Optional) Configure the **schedule** or skip it if you want to run workflow manually.
66+
4) (Optional) You can **link your workflow** by selecting existing workflows to trigger automatically after this workflow completes successfully.
67+
5) (Optional) You may also define **Workflow Variables** which can be used in the YAML to customize behavior at runtime for a specific workflow.
68+
6) Click **Finish** and your workflow is ready. Click on Play button in the workflow list to run the job manually.
69+
70+
All jobs appear under the same Project. View jobs from the Project’s **Jobs** tab or by clicking the workflow name to open **Past Jobs** view.
71+
72+
:::note
73+
If you don’t see a job after clicking Run or after the scheduled time, open the workflow and check **Past Occurrences**. Runs that failed to create a job (e.g., due to YAML validation, missing file path, or branch mismatch) are listed there with error details.
74+
:::
75+
76+
<div className="storylane-iframe">
77+
<script async src="https://js.storylane.io/js/v2/storylane.js"></script>
78+
<div className="sl-embed">
79+
<iframe loading="lazy" className="sl-demo" src="https://app.storylane.io/demo/mm0v54k4vzmb?embed=inline" name="sl-embed" allow="fullscreen" allowfullscreen></iframe>
80+
</div>
81+
</div>
82+
83+
## Connected Workflows (Test Chains)
84+
Use Workflow Linking to form test chains. For example, run a daily smoke suite first and trigger a broader regression only if smoke passes. You can link across projects you own to coordinate multi-repo testing.
85+
86+
- Learn the pattern with real examples: [Test Chains](/support/docs/hyperexecute-test-chains/)
87+
88+
## Workflow Variables
89+
Variables let you customize job runs without the need of creating multiple workflows with different YAML configurations for the same project or editing YAML before every run. To set workflow variables for a single workflow, you need to follow the following steps:
90+
1. Create or edit a workflow. On Step 3, turn on **Workflow Variables** and add these keys (`key_1`, `key_2` and `key_3`) in the **Key** column.
91+
2. For the values of the corresponding keys, you can:
92+
- **Add single value**: This value will be considered default when workflow runs through schedule. While manually running you can edit the value at runtime too.
93+
- **Add multiple values**: Among these, the first value will be considered default while running the workflow through schedule. At runtime, you will be able to select any value from all these.
94+
- **Do not add any value**: You can keep the value of a key empty too and fill it later at runtime. The value will be passed as `null` if you do not add any value at runtime.
95+
3. Once you have added all the keys and their values, save the workflow.
96+
4. You have the flexibility to edit the values for specific keys at the runtime, whenever you are running the workflow manually.
97+
98+
:::note
99+
Make sure that you have added `vars` parameter in your YAML file in the given format ([know more](/support/docs/deep-dive-into-hyperexecute-yaml/#vars)):
100+
```json
101+
vars:
102+
Variable_1: ${key_1}
103+
Variable_2: ${key_2}
104+
Variable_3: ${key_3}
105+
```
106+
:::
107+
108+
<br />
109+
<video class="right-side" width="100%" controls id="vid">
110+
<source src= {require('../assets/videos/hyperexecute/workflow/workflow_vars.mp4').default} style={{ height: '300px' }} type="video/mp4" />
111+
</video>
112+
113+
**Maximum Limits:**
114+
- Up to **100 variables per workflow**.
115+
- Up to **25 values per variable**.
116+
- Value length limit: **500 characters** (excluding commas/spaces).
117+
118+
## FAQ
119+
- **Which repos are supported for Projects?** Currently **GitHub** and **Bitbucket**.
120+
- **Is dynamic test discovery required?** Yes, Workflows currently work with the [dynamic mode of test discovery](/support/docs/deep-dive-into-hyperexecute-yaml/#testdiscovery).
121+
- **Can I trigger other workflows automatically?** Yes, via Workflow Linking to build [Test Chains](/support/docs/hyperexecute-test-chains/).
122+
- **Among runtime and workflow variables, what takes precedence?** Runtime value > Workflow‑level defaults.

sidebars.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,11 @@ module.exports = {
181181
label: "Hyperexecute Projects",
182182
id: "hyperexecute-projects",
183183
},
184+
{
185+
type: "doc",
186+
label: "Workflows",
187+
id: "hyperexecute-workflows",
188+
},
184189
{
185190
type: "doc",
186191
label: "Jobs Archiving",

0 commit comments

Comments
 (0)