You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/create-modules.md
+39-12Lines changed: 39 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,49 +43,76 @@ slug: create-modules/
43
43
***
44
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
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).
46
+
## 1.1 Module Creation from existing Test Steps
47
47
48
-
## Create Module
48
+
To export test steps as a module,
49
+
- Navigate to the Test Steps page of your desired Test Case.
50
+
- Select the test steps you wish to include in the module and click the `Create a module` button.
51
+
52
+
:::note
53
+
Only **sequential** steps can be clubbed to create a module.
- 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.
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.
104
+
### Revert to previous Version
105
+
- 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.
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.
To incorporate existing modules into your test steps, simply click on the Modules Icon.
49
46
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.
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.
57
50
58
51
:::note
59
52
Keep in mind that only modules already linked with your project will be available for import.
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.
65
60
66
61
:::note
67
62
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.
0 commit comments