Skip to content

Commit bfe693f

Browse files
authored
Merge pull request #1065 from Aman1905/stage
updated the images
2 parents c2d4ad3 + 69741aa commit bfe693f

File tree

8 files changed

+97
-17
lines changed

8 files changed

+97
-17
lines changed
97.3 KB
Loading
100 KB
Loading

docs/contacts-on-real-devices.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,18 +49,15 @@ import TabItem from '@theme/TabItem';
4949
})
5050
}}
5151
></script>
52-
5352
With LambdaTest Real Devices, you can interact with the built-in Contacts app on our real devices to test your app's functionality. To support diverse testing, we've included sample contact data for you to use.
5453

5554
## Supported Devices
56-
5755
LambdaTest supports access to the dummy Contacts on the following devices:
5856

5957
- Devices running Android 10 and higher(Except Tabs).
6058
- Devices running iOS 13 and higher.
6159

6260
## What you can test?
63-
6461
With access to the Contacts app on the remote devices, you can now test scenarios, such as:
6562

6663
- Access contacts from the Contacts app.

docs/kane-ai-api-testing.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ KaneAI allows batch processing of multiple APIs to streamline testing. This feat
8686

8787
- **Step**: Add multiple APIs by clicking the plus icon and selecting each API, or paste multiple curl commands to add them automatically to the test steps.
8888

89-
<img loading="lazy" src={require('../assets/images/kane-ai/knowledge-base/api-testing/image9.jpg').default} alt="kenai-jira integration" className="doc_img"/>
89+
<img loading="lazy" src={require('../assets/images/kane-ai/knowledge-base/api-testing/image10.jpg').default} alt="kenai-jira integration" className="doc_img"/>
9090

9191

9292
## 6. Handling Different HTTP Methods
@@ -98,15 +98,15 @@ KaneAI supports various HTTP methods like POST, PUT, GET, and DELETE, allowing y
9898

9999
<img loading="lazy" src={require('../assets/images/kane-ai/knowledge-base/api-testing/image6.jpg').default} alt="kenai-jira integration" className="doc_img"/>
100100

101-
<img loading="lazy" src={require('../assets/images/kane-ai/knowledge-base/api-testing/image10.jpg').default} alt="kenai-jira integration" className="doc_img"/>
101+
<img loading="lazy" src={require('../assets/images/kane-ai/knowledge-base/api-testing/image9.jpg').default} alt="kenai-jira integration" className="doc_img"/>
102102

103103
## 7. Executing and Reviewing Test Steps
104104

105105
Once all APIs are added, KaneAI enables simultaneous execution, with details available on methods used, response statuses, and execution times.
106106

107107
- **Step**: Click to execute all added APIs in one go and review the response details for insights into API performance and data returned.
108108

109-
<img loading="lazy" src={require('../assets/images/kane-ai/knowledge-base/api-testing/image10.jpg').default} alt="kenai-jira integration" className="doc_img"/>
109+
<img loading="lazy" src={require('../assets/images/kane-ai/knowledge-base/api-testing/image13.jpg').default} alt="kenai-jira integration" className="doc_img"/>
110110

111111

112112
This structure provides logical groupings for different aspects of API testing with KaneAI, making it easier to follow each type of action required for comprehensive API testing.

docs/kane-ai-jira-integration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ After you post the comment, Kane AI will process the request and respond with a
7777
<img loading="lazy" src={require('../assets/images/kane-ai/features/jira-integration/jira-test-case.webp').default} alt="kenai-jira integration" className="doc_img"/>
7878
7979
### Step 4: Review and Schedule the Test Case on LambdaTest
80-
- **Access the Test Case :** Click on the link provided by Kane AI in the Jira comment. This will direct you to the [Test Planner platform](/support/docs/kane-ai-test-plan/#step-2-define-your-state-outcomes-error-messages-constraints-and-user-inputs) where the test case has been created.
80+
- **Access the Test Case :** Click on the link provided by Kane AI in the Jira comment. This will create a [Test Plan](/support/docs/kane-ai-test-plan/#step-2-define-your-state-outcomes-error-messages-constraints-and-user-inputs) for you to review and execute via KaneAI.
8181
- **Review Test Case Details :** Check the generated test case for accuracy. You can review test steps, expected outcomes, and conditions to ensure they align with your requirements.
82-
- **Schedule Test Execution :** Once verified, schedule the test case for execution.
82+
- **Schedule the Task for KaneAI :** Once verified, schedule the task for KaneAI to generate and automate the test case on its own.
8383
8484
### Step 5: Check the test execution
8585
Click on the Live Preview button to enter the playground and check the live execution of your test based on your defined objective.

docs/kane-ai-using-variables.md

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
---
2+
id: kane-ai-using-variables
3+
title: KaneAI - Using Variables in Test Cases
4+
hide_title: false
5+
sidebar_label: Variables Guide
6+
description: Learn how to use variables in the KaneAI test cases
7+
keywords:
8+
- lambdatest automation
9+
- lambdatest kaneai
10+
- kaneai scroll elements
11+
- kaneai sidebar scroll
12+
url: https://www.lambdatest.com/support/docs/kane-ai-using-variables/
13+
site_name: LambdaTest
14+
slug: kane-ai-using-variables/
15+
---
16+
17+
import Tabs from '@theme/Tabs';
18+
import TabItem from '@theme/TabItem';
19+
import CodeBlock from '@theme/CodeBlock';
20+
import {YOUR_LAMBDATEST_USERNAME, YOUR_LAMBDATEST_ACCESS_KEY} from "@site/src/component/keys";
21+
22+
<script type="application/ld+json"
23+
dangerouslySetInnerHTML={{ __html: JSON.stringify({
24+
"@context": "https://schema.org",
25+
"@type": "BreadcrumbList",
26+
"itemListElement": [{
27+
"@type": "ListItem",
28+
"position": 1,
29+
"name": "Home",
30+
"item": "https://www.lambdatest.com"
31+
},{
32+
"@type": "ListItem",
33+
"position": 2,
34+
"name": "Support",
35+
"item": "https://www.lambdatest.com/support/docs/"
36+
},{
37+
"@type": "ListItem",
38+
"position": 3,
39+
"name": "KaneAI Jira Integration",
40+
"item": "https://www.lambdatest.com/support/docs/kane-ai-using-variables/"
41+
}]
42+
})
43+
}}
44+
></script>
45+
The new variable definition feature in KaneAI allows users to define reusable variables, assign them values, and use those values within test cases. This feature enhances flexibility, readability, and consistency across test cases, making it easier to maintain and modify them.
46+
47+
## Why Use Variables?
48+
Using variables enables you to:
49+
- Avoid repetitive entries in test cases.
50+
- Update values in one place without needing to modify multiple test cases.
51+
- Increase the reusability and adaptability of test scripts, especially useful for parameters that might change frequently, such as URLs, credentials, or environmental settings.
52+
53+
## Variable Syntax
54+
To work with variables in KaneAI, you need to follow these syntax rules:
55+
56+
- Variables are defined using the `$` prefix
57+
- Variable names should follow the `$` symbol without any spaces
58+
- Example: `$username`, `$phoneNumber`, `$address`
59+
60+
## Creating Variables
61+
To create a variable:
62+
63+
- Navigate to the "Write a Step" text field
64+
- Type your instruction using the following format: *create a variable `$variableName`*
65+
66+
Example:
67+
```bash
68+
create a variable $phoneNumber
69+
```
70+
71+
## Using Variables
72+
To use a previously created variable in any subsequent step or test case, reference the variable using the same `$` syntax. Format: *use the value of `$variableName`*
73+
74+
Example:
75+
```bash
76+
use the value of $phoneNumber in the given text field
77+
```
78+
<img loading="lazy" src={require('../assets/images/kane-ai/knowledge-base/variables/1.png').default} alt="kenai-jira integration" className="doc_img"/>
79+
80+
## Best Practices
81+
### Naming Conventions
82+
- Use descriptive names for your variables
83+
- Avoid special characters except for the required $ prefix
84+
- Use camelCase for multi-word variable names
85+
86+
### Variable Management
87+
- Create variables at the beginning of your test case when possible
88+
- Document the purpose of each variable in comments
89+
- Verify that variables are defined before using them

docs/ui-inspector.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
id: ui-inspector
33
title: UI Inspector
4-
hide_title: true
4+
hide_title: false
55
sidebar_label: UI Inspector
66
description: Learn real device app testing with LambdaTest across Android and iOS devices. Start testing effortlessly today!
77
keywords:
@@ -34,13 +34,8 @@ slug: ui-inspector/
3434
})
3535
}}
3636
></script>
37-
38-
# UI Inspector
39-
4037
LambdaTest UI App Inspector provides a graphical interface to inspect and interact with the elements of a mobile application. When you launch your mobile app, it retrieves the DOM (Document Object Model) of the app. This DOM includes various UI elements such as buttons, text fields, labels, etc., organised in a hierarchical structure.
4138

42-
***
43-
4439
## Benefits of UI Inspector
4540

4641
- **DOM Representation:** It visually represents the DOM of the mobile application in a tree-like structure. This representation helps testers and developers understand the layout and structure of the app's UI.
@@ -85,8 +80,6 @@ Let's have a detailed look at each of these components:
8580
- The Screenshot View provides a comprehensive overview of the mobile application's user interface elements, presented in a visual representation typically in the form of a screenshot dump.
8681
- Users can click on individual elements within the screenshot dump, triggering simultaneous highlighting of the corresponding element in both the Hierarchy View and the Properties Table, facilitating quick navigation and detailed inspection.
8782

88-
89-
9083
<nav aria-label="breadcrumbs">
9184
<ul className="breadcrumbs">
9285
<li className="breadcrumbs__item">

sidebars.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1044,7 +1044,8 @@ module.exports = {
10441044
label: "Knowledge Base",
10451045
items: [
10461046
"kane-ai-command-guide",
1047-
"kane-ai-web-test-writing-guidelines"
1047+
"kane-ai-web-test-writing-guidelines",
1048+
"kane-ai-using-variables"
10481049
],
10491050
},
10501051
{

0 commit comments

Comments
 (0)