Skip to content

Commit 54cdf0f

Browse files
updated as per feedback
1 parent 3f69506 commit 54cdf0f

File tree

5 files changed

+26
-43
lines changed

5 files changed

+26
-43
lines changed
-77.8 KB
Binary file not shown.
-67.8 KB
Binary file not shown.
Binary file not shown.

docs/kane-ai-using-parameters.md

Lines changed: 16 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -42,82 +42,71 @@ import {YOUR_LAMBDATEST_USERNAME, YOUR_LAMBDATEST_ACCESS_KEY} from "@site/src/co
4242
})
4343
}}
4444
></script>
45-
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 parameters such as `name`, `age`, and `phone_number`, testers and developers can manage configurations effortlessly. Follow the step-by-step instructions below for successful implementation.
45+
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.
4646

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

52-
## Step 1: Define Parameters in a Web Agent Test
52+
## Step 1: Define Parameters in a Web or App Agent Test
5353
- Navigate to the specific web agent test URL.
5454
- Prepare the test to accept inputs for `name`, `age`, and `phone_number` as parameters.
5555

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

58-
## Step 2: Create the Phone Number Parameter
59-
- Confirm that parameters for `name` and `age` are already defined in the system. To add a new parameter for `phone_number`, use one of the following methods to define the parameter:
58+
## Step 2: Create a parameter in a test
59+
- Confirm that parameters are already defined in the system. To add a new parameter, use one of the following methods to define the parameter:
6060
- Type a **`slash (/)`** and select the Parameter option.
6161
- Click the Plus icon and choose the Parameter icon.
6262

63-
Assign a name such as `phone_number` and enter a default value (e.g., 123-456-7890). Click **Create Parameter** to save.
63+
Click **Create Parameter** to save.
6464

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

67-
## Step 3: Finalize the Parameter
68-
Reference any parameter using **$curly braces syntax** (e.g.,`${phone_number}`). Enter the name in its designated input field.
67+
## Step 3: Reference the parameter in test step
68+
Reference any parameter using **dollar-curly braces syntax** (e.g.,`${phone_number}`). Enter the name in its designated input field.
6969

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

72-
## Step 4: Input Additional Data
73-
Input values for the age and phone number fields.
74-
Execute the test as usual.
75-
76-
<img loading="lazy" src={require('../assets/images/kane-ai/features/parameters/5.png').default} alt="Image" className="doc_img"/>
77-
78-
## Step 5: Submit and Review Parameters
79-
- Access the parameter list for navigation.
80-
- Click Submit to confirm the data inputs.
81-
- Finalize by clicking Finish Test.
82-
83-
<img loading="lazy" src={require('../assets/images/kane-ai/features/parameters/6.png').default} alt="Image" className="doc_img"/>
84-
85-
## Step 6: Test Summary Page
72+
## Step 4: Test Summary Page
8673
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.
8774
<img loading="lazy" src={require('../assets/images/kane-ai/features/parameters/7.png').default} alt="Image" className="doc_img"/>
8875

89-
## Step 7: Navigate to Test Project
76+
## Using parameters for test runs
77+
78+
### Step 1: Navigate to Test Project
9079
Open the Test Project dashboard and go to the **Test Run** section.
9180

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

94-
## Step 8: Create a New Test Run
83+
### Step 2: Create a New Test Run
9584
- Click **Create New Test Run** and name it (e.g., parameters test run).
9685
- Select the KaneAI-generated test cases.
9786
- Optionally, add a description or relevant tags.
9887
- Click **Create Test Run**.
9988

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

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

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

109-
## Step 10: Apply Data Sets
98+
### Step 4: Apply Data Sets
11099
- Ensure the data sets containing necessary parameters are pre-filtered and accessible.
111100
- Click **Apply** to confirm the Dataset selection.
112101

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

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

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

120-
## Step 12: Execute Tests with Parameters
109+
### Step 6: Execute Tests with Parameters
121110
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.
122111

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

docs/kaneai-hyperexecute-test-run-execution.md

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -55,42 +55,36 @@ This documentation outlines the steps to create a test run for KaneAI generated
5555

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

58-
### Step 2: View and Select Test Cases
59-
- Review the list of created test cases in the Test Cases section.
60-
- Select the desired test cases and click Create Test Run.
61-
62-
<img loading="lazy" src={require('../assets/images/kane-ai/test-manager/test-plan-execute-hyperexecute/step2.png').default} alt="Image" className="doc_img"/>
63-
64-
### Step 3: Create a Test Run
65-
- Alternatively, go to the Test Run section within the project.
66-
- Click Create Test Run.
58+
### Step 2: Create a Test Run
59+
- Go to the Test Run section within the project.
60+
- Click Demo Test Run.
6761
- Provide the following details:
6862
- **Name :** e.g., Demo Test Plan 123.
6963
- **Description :** A brief overview of the run.
7064
- **Type :** Choose KaneAI Generated Test Cases.
7165

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

74-
### Step 4: Select and Add Test Cases
68+
### Step 3: Select and Add Test Cases
7569
- Click Next to view available test cases.
7670
- Select the required test cases for the run.
7771
- Click Add Test Case to include them.
7872

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

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

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

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

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

93-
### Step 7: Create New Configuration
87+
### Step 6: Create New Configuration
9488
- Enter the following details:
9589
- **OS :** e.g., Monterey.
9690
- **Browser :** e.g., Chrome 131.
@@ -99,21 +93,21 @@ This documentation outlines the steps to create a test run for KaneAI generated
9993

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

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

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

108-
### Step 9: Run with HyperExecute
102+
### Step 8: Run with HyperExecute
109103
- Initiate the run using HyperExecute by clicking **Run with HyperExecute**.
110104
- View all test instances in the dashboard.
111105
- Set the desired concurrency level, e.g., 5.
112106
- Click Execute to run the tests.
113107

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

116-
### Step 10: Monitor Execution on HyperExecute
110+
### Step 9: Monitor Execution on HyperExecute
117111
- Navigate to the HyperExecute page.
118112
- Observe the discovery and rapid execution of test cases.
119113

0 commit comments

Comments
 (0)