Skip to content

Commit f02e207

Browse files
authored
Merge pull request LambdaTest#1614 from Manuraj-7/stage
KTM-2751 Modules document update
2 parents c21283d + 548ba13 commit f02e207

13 files changed

+180
-1
lines changed
75.5 KB
Loading
75.8 KB
Loading
61.9 KB
Loading
41.7 KB
Loading
61.7 KB
Loading
73.8 KB
Loading
73.9 KB
Loading
49.8 KB
Loading
68.9 KB
Loading

docs/create-modules.md

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
---
2+
id: create-modules
3+
title: Create Modules
4+
hide_title: true
5+
sidebar_label: Create Modules
6+
description: Guide for creating & editing Modules in Test Manger through Modules page.
7+
keywords:
8+
- module creation
9+
- test manager
10+
- test step management
11+
- test case
12+
- test steps
13+
url: https://www.lambdatest.com/support/docs/create-modules/
14+
site_name: LambdaTest
15+
slug: create-modules/
16+
---
17+
18+
<script type="application/ld+json"
19+
dangerouslySetInnerHTML={{ __html: JSON.stringify({
20+
"@context": "https://schema.org",
21+
"@type": "BreadcrumbList",
22+
"itemListElement": [{
23+
"@type": "ListItem",
24+
"position": 1,
25+
"name": "LambdaTest",
26+
"item": "https://www.lambdatest.com"
27+
},{
28+
"@type": "ListItem",
29+
"position": 2,
30+
"name": "Support",
31+
"item": "https://www.lambdatest.com/support/docs/"
32+
},{
33+
"@type": "ListItem",
34+
"position": 3,
35+
"name": "Create Modules",
36+
"item": "https://www.lambdatest.com/support/docs/create-modules/"
37+
}]
38+
})
39+
}}
40+
></script>
41+
42+
# Modules - Creation and Management
43+
***
44+
Tired of recreating the same test steps for repetitive testing flows? With Modules in LambdaTest Test Manager you can streamline your workflow by reusing pre-existing test steps across multiple test cases. This powerful feature enables you to encapsulate redundant testing flows into modular, reusable components, saving time and ensuring consistency across your projects.
45+
46+
Modules can be managed from the Modules central repository. For this walkthrough we will see how modules are managed from [Modules page](https://test-manager.lambdatest.com/module).
47+
48+
## Create Module
49+
50+
### Step 1: Go to Modules page
51+
52+
You can create or duplicate modules directly from [Modules section](https://test-manager.lambdatest.com/module):
53+
54+
<img loading="lazy" src={require('../assets/images/mobile-app-testing/modules_listing_page.png').default} alt="automation-dashboard" className="doc_img"/>
55+
56+
:::tip
57+
When you duplicate a module, its steps, description, and linked projects will also be duplicated.
58+
:::
59+
60+
### Step 2: Create New Module
61+
62+
Click on the `Create a Module` button. Then, define your module and outline the steps you want to include.
63+
64+
Don't worry if you don't have all the details now; you can always edit or add them later.
65+
66+
<img loading="lazy" src={require('../assets/images/mobile-app-testing/modules_creation_page.png').default} alt="modules-listing-page" className="doc_img"/>
67+
68+
:::note
69+
You must create at least one test step and provide a module name to create a new module.
70+
:::
71+
72+
## Update Module
73+
Modules support both editing and versioning, but only specific fields trigger a new version update.
74+
75+
:::tip
76+
Only **Test Step** or **Expected Outcome** updation will create a new version of the module.
77+
:::
78+
79+
<img loading="lazy" src={require('../assets/images/mobile-app-testing/modules_page.png').default} alt="module-page" className="doc_img"/>
80+
81+
## Module Versions
82+
83+
You can easily compare different versions of your module and revert to any previous version. Reverting to a previous version will create a new version in your module's history, ensuring a clear audit trail of all changes.
84+
85+
<img loading="lazy" src={require('../assets/images/mobile-app-testing/modules_version_history.png').default} alt="modules-version-history" className="doc_img"/>
86+
87+
Compare your version history side-by-side to easily identify differences and track changes between various iterations of your module.
88+
89+
<img loading="lazy" src={require('../assets/images/mobile-app-testing/modules_version_comparision.png').default} alt="modules-version-comparision" className="doc_img"/>
90+
91+
:::note
92+
Project linking is only added for manual tests in test cases. Hence, modules linked to a particular project are only available to be added in a manual test case. However, for KaneAI test cases, all modules in all projects will be available for selection.
93+
:::

0 commit comments

Comments
 (0)