|
| 1 | +--- |
| 2 | +id: kaneai-modules-versions-and-enhancement |
| 3 | +title: Modules Versioning and Enhancements |
| 4 | +hide_title: false |
| 5 | +sidebar_label: Modules Versioning and Enhancements |
| 6 | +description: This documentation will help you to understand how to version your created modules and perform the Enhancements |
| 7 | +keywords: |
| 8 | +- modules versioning |
| 9 | +- enhancements |
| 10 | +- modules |
| 11 | +url: https://www.lambdatest.com/support/docs/kaneai-modules-versions-and-enhancement/ |
| 12 | +site_name: LambdaTest |
| 13 | +slug: kaneai-modules-versions-and-enhancement/ |
| 14 | +--- |
| 15 | + |
| 16 | +<script type="application/ld+json" |
| 17 | + dangerouslySetInnerHTML={{ __html: JSON.stringify({ |
| 18 | + "@context": "https://schema.org", |
| 19 | + "@type": "BreadcrumbList", |
| 20 | + "itemListElement": [{ |
| 21 | + "@type": "ListItem", |
| 22 | + "position": 1, |
| 23 | + "name": "Home", |
| 24 | + "item": "https://www.lambdatest.com" |
| 25 | + },{ |
| 26 | + "@type": "ListItem", |
| 27 | + "position": 2, |
| 28 | + "name": "Support", |
| 29 | + "item": "https://www.lambdatest.com/support/docs/" |
| 30 | + },{ |
| 31 | + "@type": "ListItem", |
| 32 | + "position": 3, |
| 33 | + "name": "Modules Versioning", |
| 34 | + "item": "https://www.lambdatest.com/support/docs/kaneai-modules-versions-and-enhancement/" |
| 35 | + }] |
| 36 | + }) |
| 37 | + }} |
| 38 | +></script> |
| 39 | +This guide provides step-by-step instructions on how to enhance the usability of the module section. By implementing module versioning and improving user interaction, users can efficiently manage modules, track changes, and reuse them across various test cases. |
| 40 | + |
| 41 | +## Step 1: Viewing and Creating Modules |
| 42 | +- Navigate to the **Modules** section. |
| 43 | +- View the list of available modules or click **Create a New Module** to add one. |
| 44 | +- The updated interface allows for improved module visibility and usability. |
| 45 | + |
| 46 | +## Step 2: Accessing Module Details |
| 47 | +- Click on a module to view its complete details, including: |
| 48 | + - Descriptions |
| 49 | + - Tags |
| 50 | + - Version history |
| 51 | +- Utilize **Version History** to track changes and reuse module updates in multiple test cases. |
| 52 | + |
| 53 | +<img loading="lazy" src={require('../assets/images/kane-ai/knowledge-base/modules-versioning/image2.png').default} alt="Image" className="doc_img img_center"/> |
| 54 | + |
| 55 | +## Step 3: Comparing and Reverting Module Versions |
| 56 | +- Compare different versions of a module. |
| 57 | +- Review modifications made between versions. |
| 58 | +- Revert to a previous version if required. |
| 59 | + |
| 60 | +<img loading="lazy" src={require('../assets/images/kane-ai/knowledge-base/modules-versioning/image3.png').default} alt="Image" className="doc_img img_center"/> |
| 61 | + |
| 62 | +## Step 4: Creating a Module from KNI Agent |
| 63 | +- If test steps are already present: |
| 64 | + - Pause the test. |
| 65 | + - Select the relevant test steps. |
| 66 | + - Click Create Module to extract them into a reusable module. |
| 67 | +- Modules now support variables, parameters, and secrets. |
| 68 | + |
| 69 | +<img loading="lazy" src={require('../assets/images/kane-ai/knowledge-base/modules-versioning/image4.png').default} alt="Image" className="doc_img img_center"/> |
| 70 | + |
| 71 | +## Step 5: Defining Module Properties |
| 72 | +- Click on the module and enter details such as: |
| 73 | + - Module Name (e.g., Sample Module) |
| 74 | + - Description and Tags |
| 75 | +- Click Create Module to save the test step as a reusable module with a specific version. |
| 76 | + |
| 77 | +<img loading="lazy" src={require('../assets/images/kane-ai/knowledge-base/modules-versioning/image5.png').default} alt="Image" className="doc_img img_center"/> |
| 78 | + |
| 79 | +## Step 6: Editing and Importing Modules |
| 80 | +- Click on an existing module to modify its steps or properties. |
| 81 | +- To import a module into the web agent: |
| 82 | + - Click the slash icon |
| 83 | + - Select Add Module |
| 84 | + - Choose from the list of created modules |
| 85 | + |
| 86 | +<img loading="lazy" src={require('../assets/images/kane-ai/knowledge-base/modules-versioning/image6.png').default} alt="Image" className="doc_img img_center"/> |
| 87 | + |
| 88 | +## Step 7: Executing Test Steps |
| 89 | +- Click **Add in Queue** to execute test steps. |
| 90 | +- The executed test steps will be displayed in the results section. |
| 91 | + |
| 92 | +<img loading="lazy" src={require('../assets/images/kane-ai/knowledge-base/modules-versioning/image7.png').default} alt="Image" className="doc_img img_center"/> |
| 93 | + |
| 94 | +## Step 8: Updating Module Versions |
| 95 | +- If changes are made to an existing module, a new version will be created automatically. |
| 96 | +- For example, adding a test step (e.g., clicking on login) will prompt an updated version (e.g., from 1.1 to 1.2). |
| 97 | + |
| 98 | +<img loading="lazy" src={require('../assets/images/kane-ai/knowledge-base/modules-versioning/image8.png').default} alt="Image" className="doc_img img_center"/> |
| 99 | + |
| 100 | +## Step 9: Version Selection Flexibility |
| 101 | +- Users can choose to either: |
| 102 | + - Accept the new version. |
| 103 | + - Continue using the current version. |
| 104 | +- The newly updated version will reflect the added test step. |
| 105 | + |
| 106 | +By implementing these enhancements, module management is now more efficient, flexible, and user-friendly. Users can seamlessly create, modify, and reuse test modules to streamline automation testing. |
| 107 | + |
| 108 | +<img loading="lazy" src={require('../assets/images/kane-ai/knowledge-base/modules-versioning/image9.png').default} alt="Image" className="doc_img img_center"/> |
0 commit comments