|
| 1 | +--- |
| 2 | +id: kane-ai-modules |
| 3 | +title: 'Utilizing KaneAI Modules Feature: A Step-by-Step Guide' |
| 4 | +hide_title: false |
| 5 | +sidebar_label: Modules |
| 6 | +description: Learn how to use custom modules while executing your tests using the Kane AI |
| 7 | +keywords: |
| 8 | + - lambdatest automation |
| 9 | + - lambdatest kaneai |
| 10 | + - kaneai geolocation support |
| 11 | + - kaneai tunnel support |
| 12 | + - kaneai proxy support |
| 13 | +url: https://www.lambdatest.com/support/docs/kane-ai-modules/ |
| 14 | +site_name: LambdaTest |
| 15 | +slug: kane-ai-modules/ |
| 16 | +--- |
| 17 | + |
| 18 | +import Tabs from '@theme/Tabs'; |
| 19 | +import TabItem from '@theme/TabItem'; |
| 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": "KaneAI Modules", |
| 41 | + "item": "https://www.lambdatest.com/support/docs/kane-ai-modules/" |
| 42 | + }] |
| 43 | + }) |
| 44 | + }} |
| 45 | +></script> |
| 46 | +The KaneAI Modules feature is a powerful tool for optimizing your testing processes. By converting test steps into reusable modules, you can enhance productivity and maintain accuracy in your test executions. Follow this guide to fully utilize this feature and maximize the potential of your testing workflows. |
| 47 | + |
| 48 | +## Step-by-Step Guide |
| 49 | +### Step 1: Author Your test using KaneAI |
| 50 | +- Begin with authoring your test with KaneAI and executing a set of test steps. These steps will form the basis of your module. |
| 51 | + |
| 52 | +<img loading="lazy" src={require('../assets/images/kane-ai/features/modules/1.png').default} alt="automation-dashboard" className="doc_img"/> |
| 53 | + |
| 54 | +### Step 2: Pause and Select Test Steps |
| 55 | +- Click the Pause Test button. |
| 56 | +- Select the test steps you wish to include in the module. |
| 57 | + |
| 58 | +For example, if you want to group test steps related to login functionality, highlight those steps. |
| 59 | + |
| 60 | +<img loading="lazy" src={require('../assets/images/kane-ai/features/modules/2.png').default} alt="automation-dashboard" className="doc_img"/> |
| 61 | + |
| 62 | +### Step 3: Create and Save your Module |
| 63 | +- With the relevant test steps selected, click on the Create Module button. |
| 64 | +- Enter a module name and description: |
| 65 | + - **Name :** "Login Flow for LambdaTest.com" |
| 66 | + - **Description :** "This is the login flow module." |
| 67 | + |
| 68 | +<img loading="lazy" src={require('../assets/images/kane-ai/features/modules/3.png').default} alt="automation-dashboard" className="doc_img"/> |
| 69 | + |
| 70 | +- Click Create Module to finalize the process. The selected steps will be converted into a module structure. You can now view and manage these steps as a cohesive unit. |
| 71 | + |
| 72 | +<img loading="lazy" src={require('../assets/images/kane-ai/features/modules/4.png').default} alt="automation-dashboard" className="doc_img"/> |
| 73 | + |
| 74 | +### Step 4: Reuse Modules in a New Test |
| 75 | +- Create a new test in KaneAI to demonstrate module reuse. |
| 76 | + |
| 77 | +<img loading="lazy" src={require('../assets/images/kane-ai/features/modules/5.png').default} alt="automation-dashboard" className="doc_img"/> |
| 78 | + |
| 79 | +### Step 5: Access the Modules Functionality |
| 80 | +- Create a web test in KaneAI and use either of the following methods to access existing modules: |
| 81 | + - Click the **plus (+)** icon in the test interface. |
| 82 | + - Type a **slash (/)** to invoke the modules menu. |
| 83 | + |
| 84 | +Here, you can browse all existing modules, including the one you just created. |
| 85 | + |
| 86 | +<img loading="lazy" src={require('../assets/images/kane-ai/features/modules/6.png').default} alt="automation-dashboard" className="doc_img"/> |
| 87 | + |
| 88 | +- Select the desired module from the list, add the module to the test queue and observe as the execution of the module’s test steps begins automatically, eliminating the need to reconfigure or repeat those steps. |
| 89 | + |
| 90 | +<img loading="lazy" src={require('../assets/images/kane-ai/features/modules/7.png').default} alt="automation-dashboard" className="doc_img"/> |
| 91 | + |
| 92 | +## Conclusion |
| 93 | + |
| 94 | +By following the steps above, you can: |
| 95 | + |
| 96 | +- Reuse existing test modules effortlessly. |
| 97 | +- Reduce duplication in test creation. |
| 98 | +- Maintain consistency across test cases. |
| 99 | + |
| 100 | +> 📕 Refer here for your created [KaneAI Modules](https://kaneai.lambdatest.com/module) 🚀 |
| 101 | +
|
| 102 | +<video class="right-side" width="100%" controls id="vid"> |
| 103 | +<source src= {require('../assets/images/kane-ai/features/modules/output.mp4').default} type="video/mp4" /> |
| 104 | +</video> |
0 commit comments