Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added assets/images/kane-ai/features/datasets/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/kane-ai/features/datasets/2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/kane-ai/features/datasets/3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/kane-ai/features/datasets/4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/kane-ai/features/datasets/5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/kane-ai/features/datasets/6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/kane-ai/features/datasets/7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/kane-ai/features/datasets/8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file added assets/images/kane-ai/features/parameters/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/kane-ai/features/parameters/10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/kane-ai/features/parameters/13.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/kane-ai/features/parameters/3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/kane-ai/features/parameters/4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/kane-ai/features/parameters/7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/kane-ai/features/parameters/8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
96 changes: 96 additions & 0 deletions docs/kane-ai-using-datasets.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
---
id: kane-ai-using-datasets
title: KaneAI - Using Datasets on Test Manager
hide_title: false
sidebar_label: Datasets
description: Learn how to use datasets in the KaneAI test cases
keywords:
- lambdatest automation
- lambdatest kaneai
- kaneai scroll elements
- kaneai sidebar scroll
url: https://www.lambdatest.com/support/docs/kane-ai-using-datasets/
site_name: LambdaTest
slug: kane-ai-using-datasets/
---

import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
import CodeBlock from '@theme/CodeBlock';
import {YOUR_LAMBDATEST_USERNAME, YOUR_LAMBDATEST_ACCESS_KEY} from "@site/src/component/keys";

<script type="application/ld+json"
dangerouslySetInnerHTML={{ __html: JSON.stringify({
"@context": "https://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [{
"@type": "ListItem",
"position": 1,
"name": "Home",
"item": "https://www.lambdatest.com"
},{
"@type": "ListItem",
"position": 2,
"name": "Support",
"item": "https://www.lambdatest.com/support/docs/"
},{
"@type": "ListItem",
"position": 3,
"name": "KaneAI Datasets",
"item": "https://www.lambdatest.com/support/docs/kane-ai-using-datasets/"
}]
})
}}
></script>
Datasets in KaneAI-LambdaTest allow you to manage and reuse input values for test cases efficiently. This guide explains how to create, edit, and manage these data sets while utilizing parameters to run test cases with a variety of inputs, improving flexibility and reducing manual data entry.

## Accessing Datasets within a Project
Navigate to the Parameters section within your project and review existing data sets under this section.
> **Note :** Parameters act as placeholders for data, enabling test cases to use varying inputs.

<img loading="lazy" src={require('../assets/images/kane-ai/features/datasets/1.png').default} alt="Image" className="doc_img img_center"/>

Every test case which uses parameters in KaneAI automatically generates a default data set during authoring. Example: A default data set might capture initial values like form submissions.
> Default Datasets are immutable in nature i.e. they cannot be modified.

<img loading="lazy" src={require('../assets/images/kane-ai/features/datasets/2.png').default} alt="Image" className="doc_img img_center"/>

## Creating and Editing Datasets
- To create a dataset, navigate to the Datasets section, click "Create Dataset," and define parameters and values as needed.
- For existing datasets, access the version history of a default dataset, create a copy, and edit the copied dataset to update or add values seamlessly.

<img loading="lazy" src={require('../assets/images/kane-ai/features/datasets/3.png').default} alt="Image" className="doc_img img_center"/>

## Adding Data to Datasets
Open the editable Dataset. Click on "**Add a Row After**". Enter your desired values (e.g., 5 or Mike).

<img loading="lazy" src={require('../assets/images/kane-ai/features/datasets/4.png').default} alt="Image" className="doc_img img_center"/>

### Autofill with AI

Alternatively, you can use the **Autofill with AI** option to automatically populate data fields. AI generates values based on the parameter's name, saving time and effort.

<img loading="lazy" src={require('../assets/images/kane-ai/features/datasets/5.png').default} alt="Image" className="doc_img img_center"/>

### Importing Data via CSV Files
Prepare your data set in CSV format. Use the Import Data feature in the data set editor and verify imported data and save the test case to ensure synchronization.

<img loading="lazy" src={require('../assets/images/kane-ai/features/datasets/6.png').default} alt="Image" className="doc_img img_center"/>

## Utilizing Version History
- **Version Tracking :** All changes to data sets are recorded.
- **Revert or Restore :** Easily revert to a previous version if needed.
- **Backup Assurance :** Ensure data integrity with a maintained history of edits.

<img loading="lazy" src={require('../assets/images/kane-ai/features/datasets/7.png').default} alt="Image" className="doc_img img_center"/>

## Executing Test Cases with Parameters
Combine multiple data sets with their respective parameters.
Execute test cases using these data sets to simulate diverse input scenarios.

<img loading="lazy" src={require('../assets/images/kane-ai/features/datasets/8.png').default} alt="Image" className="doc_img img_center"/>

## Video Explanation
<video class="right-side" width="100%" controls id="vid">
<source src= {require('../assets/images/kane-ai/features/datasets/output.mp4').default} type="video/mp4" />
</video>
2 changes: 1 addition & 1 deletion docs/kane-ai-using-json-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
id: kane-ai-using-json-variables
title: KaneAI - Utilizing JSON Variables for Assertions
hide_title: false
sidebar_label: JSON Variables Guide
sidebar_label: JSON Variables
description: Learn how to use JSON variables in the KaneAI test cases for assertions
keywords:
- lambdatest automation
Expand Down
116 changes: 116 additions & 0 deletions docs/kane-ai-using-parameters.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
---
id: kane-ai-using-parameters
title: KaneAI - Using Parameters
hide_title: false
sidebar_label: Parameters
description: Learn how to use parameters in the KaneAI test cases
keywords:
- lambdatest automation
- lambdatest kaneai
- kaneai scroll elements
- kaneai sidebar scroll
url: https://www.lambdatest.com/support/docs/kane-ai-using-parameters/
site_name: LambdaTest
slug: kane-ai-using-parameters/
---

import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
import CodeBlock from '@theme/CodeBlock';
import {YOUR_LAMBDATEST_USERNAME, YOUR_LAMBDATEST_ACCESS_KEY} from "@site/src/component/keys";

<script type="application/ld+json"
dangerouslySetInnerHTML={{ __html: JSON.stringify({
"@context": "https://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [{
"@type": "ListItem",
"position": 1,
"name": "Home",
"item": "https://www.lambdatest.com"
},{
"@type": "ListItem",
"position": 2,
"name": "Support",
"item": "https://www.lambdatest.com/support/docs/"
},{
"@type": "ListItem",
"position": 3,
"name": "KaneAI Parameters",
"item": "https://www.lambdatest.com/support/docs/kane-ai-using-parameters/"
}]
})
}}
></script>
This guide provides a detailed walkthrough for utilizing parameters in KaneAI to streamline test case management and execute tests with various data inputs. By leveraging data parameters, testers and developers can manage configurations effortlessly. Follow the step-by-step instructions below for successful implementation.

## Key Features of Parameters in KaneAI
- **Dynamic Data Input :** Use parameters to define and input test data dynamically during test execution.
- **Multiple Configurations :** Simplify the execution of tests with different data sets.
- **Seamless Test Management :** Centralized management of parameters improves efficiency and reduces redundancy.

## Define Parameters in a Web or App Agent Test
- Navigate to the specific web agent test URL and configure the test to accept input parameters.

<img loading="lazy" src={require('../assets/images/kane-ai/features/parameters/1.png').default} alt="Image" className="doc_img"/>

## Create a parameter in a test
- Confirm that parameters are already defined in the system. To add a new parameter, use one of the following methods to define the parameter:
- Type a **`slash (/)`** and select the Parameter option.
- Click the Plus icon and choose the Parameter icon.

Click **Create Parameter** to save.

<img loading="lazy" src={require('../assets/images/kane-ai/features/parameters/3.png').default} alt="Image" className="doc_img"/>

## Reference the parameter in test step
Reference any parameter using **dollar-curly braces syntax** (e.g.,`${phone_number}`). Enter the name in its designated input field.

<img loading="lazy" src={require('../assets/images/kane-ai/features/parameters/4.png').default} alt="Image" className="doc_img"/>

## Step 4: Test Summary Page
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@amanchopra1905 This Step was left to be removed. Please remove.

Upon completing the test, review the Test Summary Page, where all utilized parameters are clearly displayed, and the corresponding generated code is readily available for seamless integration into future test scenarios.
<img loading="lazy" src={require('../assets/images/kane-ai/features/parameters/7.png').default} alt="Image" className="doc_img"/>

## Using parameters for test runs

### Step 1: Navigate to Test Project
Open the Test Project dashboard and go to the **Test Run** section.

<img loading="lazy" src={require('../assets/images/kane-ai/features/parameters/8.png').default} alt="Image" className="doc_img"/>

### Step 2: Create a New Test Run
- Click **Create New Test Run** and name it (e.g., parameters test run).
- Select the KaneAI-generated test cases.
- Optionally, add a description or relevant tags.
- Click **Create Test Run**.

<img loading="lazy" src={require('../assets/images/kane-ai/features/parameters/9.png').default} alt="Image" className="doc_img"/>

### Step 3: Add Test Cases and Data Sets
- Select and add the desired test cases to the run.
- Specify configurations (e.g., Windows 10 Chrome).
- Attach the required data sets for the test run.

<img loading="lazy" src={require('../assets/images/kane-ai/features/parameters/10.png').default} alt="Image" className="doc_img"/>

### Step 4: Apply Data Sets
- Ensure the data sets containing necessary parameters are pre-filtered and accessible.
- Click **Apply** to confirm the Dataset selection.

<img loading="lazy" src={require('../assets/images/kane-ai/features/parameters/11.png').default} alt="Image" className="doc_img"/>

### Step 5: Save and Prepare for Execution
- Save the test run with the selected parameters and Datasets. The system will create test instances ready for execution in a hybrid environment.

<img loading="lazy" src={require('../assets/images/kane-ai/features/parameters/12.png').default} alt="Image" className="doc_img"/>

### Step 6: Execute Tests with Parameters
Utilize the parameters to run your test cases with different data sets and inputs. You can manage and monitor execution using the LambdaTest Test Manager interface.

<img loading="lazy" src={require('../assets/images/kane-ai/features/parameters/13.png').default} alt="Image" className="doc_img"/>

## Video Explanation
<video class="right-side" width="100%" controls id="vid">
<source src= {require('../assets/images/kane-ai/features/parameters/output.mp4').default} type="video/mp4" />
</video>
4 changes: 2 additions & 2 deletions docs/kane-ai-using-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
id: kane-ai-using-variables
title: KaneAI - Using Variables in Test Cases
hide_title: false
sidebar_label: Variables Guide
sidebar_label: Variables
description: Learn how to use variables in the KaneAI test cases
keywords:
- lambdatest automation
Expand Down Expand Up @@ -36,7 +36,7 @@ import {YOUR_LAMBDATEST_USERNAME, YOUR_LAMBDATEST_ACCESS_KEY} from "@site/src/co
},{
"@type": "ListItem",
"position": 3,
"name": "KaneAI Jira Integration",
"name": "KaneAI Variables",
"item": "https://www.lambdatest.com/support/docs/kane-ai-using-variables/"
}]
})
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
id: kaneai-hyperexecute-test-plan-execution
id: kaneai-hyperexecute-test-run-execution
title: Create and Execute your Test Plan for KaneAI Generated Tests on HyperExecute
hide_title: false
sidebar_label: Execute Test Plans on HyperExecute
Expand All @@ -13,9 +13,9 @@ keywords:
- test plan
- test manager
- generate and manage test cases
url: https://www.lambdatest.com/support/docs/kaneai-hyperexecute-test-plan-execution
url: https://www.lambdatest.com/support/docs/kaneai-hyperexecute-test-run-execution
site_name: LambdaTest
slug: kaneai-hyperexecute-test-plan-execution/
slug: kaneai-hyperexecute-test-run-execution/
---

<script type="application/ld+json"
Expand All @@ -35,13 +35,13 @@ slug: kaneai-hyperexecute-test-plan-execution/
},{
"@type": "ListItem",
"position": 3,
"name": "KaneAI Test Plan",
"item": "https://www.lambdatest.com/support/docs/kaneai-hyperexecute-test-plan-execution"
"name": "KaneAI Test Run",
"item": "https://www.lambdatest.com/support/docs/kaneai-hyperexecute-test-run-execution"
}]
})
}}
></script>
This documentation outlines the steps to create a test plan for KaneAI generated tests using Test Manager. The steps include selecting test cases, setting configurations, and running tests with HyperExecute for efficient execution. Follow the instructions carefully to ensure seamless execution of the process.
This documentation outlines the steps to create a test run for KaneAI generated tests using Test Manager. The steps include selecting test cases, setting configurations, and running tests with HyperExecute for efficient execution. Follow the instructions carefully to ensure seamless execution of the process.

## Prerequisites
- Access to Test Manager.
Expand All @@ -55,42 +55,36 @@ This documentation outlines the steps to create a test plan for KaneAI generated

<img loading="lazy" src={require('../assets/images/kane-ai/test-manager/test-plan-execute-hyperexecute/step1.png').default} alt="Image" className="doc_img"/>

### Step 2: View and Select Test Cases
- Review the list of created test cases in the Test Cases section.
- Select the desired test cases and click Create Test Plan.

<img loading="lazy" src={require('../assets/images/kane-ai/test-manager/test-plan-execute-hyperexecute/step2.png').default} alt="Image" className="doc_img"/>

### Step 3: Create a Test Plan
- Alternatively, go to the Test Plan section within the project.
- Click Create Test Plan.
### Step 2: Create a Test Plan
- Go to the Test Plan section within the project.
- Click Demo Test Plan.
- Provide the following details:
- **Name :** e.g., Demo Test Plan 123.
- **Description :** A brief overview of the plan.
- **Description :** A brief overview of the run.
- **Type :** Choose KaneAI Generated Test Cases.

<img loading="lazy" src={require('../assets/images/kane-ai/test-manager/test-plan-execute-hyperexecute/step3.png').default} alt="Image" className="doc_img"/>

### Step 4: Select and Add Test Cases
### Step 3: Select and Add Test Cases
- Click Next to view available test cases.
- Select the required test cases for the plan.
- Select the required test cases for the run.
- Click Add Test Case to include them.

<img loading="lazy" src={require('../assets/images/kane-ai/test-manager/test-plan-execute-hyperexecute/step4.png').default} alt="Image" className="doc_img"/>

### Step 5: Assign and Configure Test Cases
### Step 4: Assign and Configure Test Cases
- On the test plan page, review the added test cases.
- Assign team members in bulk.
- Update configurations as required.

<img loading="lazy" src={require('../assets/images/kane-ai/test-manager/test-plan-execute-hyperexecute/step5.png').default} alt="Image" className="doc_img"/>

### Step 6: Set Browser Configurations
### Step 5: Set Browser Configurations
- Choose from available browser configurations. If a new configuration is needed, click on Create Configuration button and choose from thousands of configuration options.

<img loading="lazy" src={require('../assets/images/kane-ai/test-manager/test-plan-execute-hyperexecute/step6.png').default} alt="Image" className="doc_img"/>

### Step 7: Create New Configuration
### Step 6: Create New Configuration
- Enter the following details:
- **OS :** e.g., Monterey.
- **Browser :** e.g., Chrome 131.
Expand All @@ -99,27 +93,21 @@ This documentation outlines the steps to create a test plan for KaneAI generated

<img loading="lazy" src={require('../assets/images/kane-ai/test-manager/test-plan-execute-hyperexecute/step7.png').default} alt="Image" className="doc_img"/>

### Step 8: Link and Save Test Plan Configurations
### Step 7: Link and Save Test Run Configurations
- Select the newly created configuration and link it to the selected test cases.
- Confirm configurations and test cases and add additional test cases if required. Save the test plan.

<img loading="lazy" src={require('../assets/images/kane-ai/test-manager/test-plan-execute-hyperexecute/step8.png').default} alt="Image" className="doc_img"/>

### Step 9: Create a Build
- Once the test plan is saved, it will display test cases and configurations. Create a build and provide a name, e.g., Demo Build.
- The test plan is automatically linked to the build. You can also add a tag for filtering our your test plans. Now create the build.

<img loading="lazy" src={require('../assets/images/kane-ai/test-manager/test-plan-execute-hyperexecute/step9.png').default} alt="Image" className="doc_img"/>

### Step 10: Run with HyperExecute
### Step 8: Run with HyperExecute
- Initiate the run using HyperExecute by clicking **Run with HyperExecute**.
- View all test instances in the dashboard.
- Set the desired concurrency level, e.g., 5.
- Click Execute to run the tests.

<img loading="lazy" src={require('../assets/images/kane-ai/test-manager/test-plan-execute-hyperexecute/step10.png').default} alt="Image" className="doc_img"/>

### Step 11: Monitor Execution on HyperExecute
### Step 9: Monitor Execution on HyperExecute
- Navigate to the HyperExecute page.
- Observe the discovery and rapid execution of test cases.

Expand Down
Loading
Loading