Skip to content

Commit 4294117

Browse files
committed
updates in Modules Doc
1 parent f02e207 commit 4294117

File tree

5 files changed

+45
-25
lines changed

5 files changed

+45
-25
lines changed
53.2 KB
Loading
49.7 KB
Loading
-41.7 KB
Binary file not shown.

docs/create-modules.md

Lines changed: 35 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -45,21 +45,39 @@ Tired of recreating the same test steps for repetitive testing flows? With Modul
4545

4646
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).
4747

48-
## Create Module
48+
## 1.1 Module Creation from existing Test Steps
49+
50+
To export test steps as a module,
51+
- Navigate to the Test Steps page of your desired Test Case.
52+
- Select the test steps you wish to include in the module and click the `Create a module` button.
53+
54+
:::note
55+
Only **sequential** steps can be clubbed to create a module.
56+
:::
57+
58+
<img loading="lazy" src={require('../assets/images/mobile-app-testing/select_manual_steps_to_create_module.png').default} alt="select-test-steps" className="doc_img"/>
59+
60+
- Clearly define your new module by entering a concise name and a detailed description. This will help you easily identify and understand its purpose later on.
61+
62+
<img loading="lazy" src={require('../assets/images/mobile-app-testing/create_module_from_manual_teststeps.png').default} alt="create-modules-from-test-steps" className="doc_img"/>
63+
64+
## 1.2 Create Module from Modules section
4965

5066
### Step 1: Go to Modules page
5167

52-
You can create or duplicate modules directly from [Modules section](https://test-manager.lambdatest.com/module):
68+
- Click on `Modules` button in the navbar to go to the Modules listing page.
69+
- Click on `Create a Module`.
5370

54-
<img loading="lazy" src={require('../assets/images/mobile-app-testing/modules_listing_page.png').default} alt="automation-dashboard" className="doc_img"/>
71+
<img loading="lazy" src={require('../assets/images/mobile-app-testing/modules-listing-page.png').default} alt="automation-dashboard" className="doc_img"/>
5572

5673
:::tip
5774
When you duplicate a module, its steps, description, and linked projects will also be duplicated.
5875
:::
5976

6077
### Step 2: Create New Module
6178

62-
Click on the `Create a Module` button. Then, define your module and outline the steps you want to include.
79+
- Click on the `Create a Module` button.
80+
- Define your module and outline the steps you want to include.
6381

6482
Don't worry if you don't have all the details now; you can always edit or add them later.
6583

@@ -69,23 +87,30 @@ Don't worry if you don't have all the details now; you can always edit or add th
6987
You must create at least one test step and provide a module name to create a new module.
7088
:::
7189

72-
## Update Module
73-
Modules support both editing and versioning, but only specific fields trigger a new version update.
74-
75-
:::tip
90+
## 2. Update Module
91+
Modules support duplication, editing and versioning, but only specific fields trigger a new version update.
92+
- Add a step by clicking on `Add Step` or update a step through edit icon.
93+
- Click on `update` on top right to save changes.
94+
:::note
7695
Only **Test Step** or **Expected Outcome** updation will create a new version of the module.
7796
:::
7897

7998
<img loading="lazy" src={require('../assets/images/mobile-app-testing/modules_page.png').default} alt="module-page" className="doc_img"/>
8099

81-
## Module Versions
100+
## 3. Module Versions
82101

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.
102+
### Revert to previous Version
103+
- Click on `revert` to revert your module to that version. Reverting to a previous version will create a new version in your module's history, ensuring a clear audit trail of all changes.
84104

85105
<img loading="lazy" src={require('../assets/images/mobile-app-testing/modules_version_history.png').default} alt="modules-version-history" className="doc_img"/>
86106

107+
### Compare Versions
87108
Compare your version history side-by-side to easily identify differences and track changes between various iterations of your module.
88109

110+
- Click on `Compare` & select the version to compare with.
111+
112+
You will be redirected to the Version Comparision page where you can track changes:
113+
89114
<img loading="lazy" src={require('../assets/images/mobile-app-testing/modules_version_comparision.png').default} alt="modules-version-comparision" className="doc_img"/>
90115

91116
:::note

docs/modules-in-manual-testcases.md

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
id: modules-in-manual-testcases
33
title: Modules in Manual Testcases
44
hide_title: true
5-
sidebar_label: Link Modules With Manual Testcases
5+
sidebar_label: Importing Modules into Testcases
66
description: Guide for linking Modules with Manul Testcases in Test Manger.
77
keywords:
88
- module creation
@@ -39,32 +39,27 @@ slug: modules-in-manual-testcases/
3939
}}
4040
></script>
4141

42-
# Link Modules With Manual Test Cases
42+
# Importing modules into Test Steps
4343
***
44-
Here's how to link and manage modules within your manual test cases:
45-
46-
## 1. Module Creation from existing Test Steps
47-
To export test steps as a module, first navigate to the Test Steps page of your desired Test Case. Then, select the **sequential** test steps you wish to include in the module and click the `Create a module` button.
48-
<img loading="lazy" src={require('../assets/images/mobile-app-testing/select_manual_steps_to_create_module.png').default} alt="select-test-steps" className="doc_img"/>
44+
45+
To incorporate existing modules into your test steps, simply click on the Modules Icon.
4946

50-
Clearly define your new module by entering a concise name and a detailed description. This will help you easily identify and understand its purpose later on.
47+
<img loading="lazy" src={require('../assets/images/mobile-app-testing/module_button.png').default} alt="import-module" className="doc_img"/>
5148

52-
<img loading="lazy" src={require('../assets/images/mobile-app-testing/create_module_from_manual_teststeps.png').default} alt="create-modules-from-test-steps" className="doc_img"/>
53-
54-
## 2. Import Module into Test Steps
55-
56-
To incorporate existing modules into your test steps, simply click on the Modules Icon. From there, you'll be able to select and import the specific module you need.
49+
From there, you'll be able to select and import the specific module you need.
5750

5851
:::note
5952
Keep in mind that only modules already linked with your project will be available for import.
6053
:::
6154

6255
<img loading="lazy" src={require('../assets/images/mobile-app-testing/import_module_in_manual_testcases.png').default} alt="import-module" className="doc_img"/>
6356

64-
Notice that imported modules will appear visually distinct from other individual steps within your test case, making them easy to identify. You also have the flexibility to edit or delete these modules directly from this view. However, be aware that making changes will create a new version of that module.
57+
Notice that imported modules will appear visually distinct from other individual steps within your test case, making them easy to identify.
58+
59+
You also have the flexibility to edit or delete these modules directly from this view. However, be aware that making changes will create a new version of that module.
6560

6661
:::note
6762
Please note that when a module is updated to a new version, its existing occurrences within your test cases will not be affected. They will remain linked to the previous version. To utilize the latest version of a module, you'll need to manually sync it by clicking the `Sync to latest` button. This allows you to review and confirm changes before they impact your test cases.
6863
:::
6964

70-
<img loading="lazy" src={require('../assets/images/mobile-app-testing/sync_module_version.png').default} alt="sync-module" className="doc_img"/>
65+
<img loading="lazy" src={require('../assets/images/mobile-app-testing/sync_module_version.png').default} alt="sync-module" className="doc_img"/>

0 commit comments

Comments
 (0)