-
Notifications
You must be signed in to change notification settings - Fork 41
kane ai datasets and sidebar restructure #1188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
f9e4126
kane ai datasets and sidebar restructure
amanchopra1905 9943baa
spell update
amanchopra1905 fa9805c
test plan to test run
amanchopra1905 3f225ac
updated the feedback changes
amanchopra1905 3f69506
kane ai parameters docs
amanchopra1905 54cdf0f
updated as per feedback
amanchopra1905 2c377ea
feedback changes
amanchopra1905 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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.
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.
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.
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.
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.
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.
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 removed
BIN
-100 KB
assets/images/kane-ai/test-manager/test-plan-execute-hyperexecute/step2.png
Binary file not shown.
Binary file removed
BIN
-98.3 KB
assets/images/kane-ai/test-manager/test-plan-execute-hyperexecute/step9.png
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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> | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 | ||
amanchopra1905 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| 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> | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.