Skip to content

Commit 5949452

Browse files
authored
Merge pull request #1791 from Private1647/stage
Updated jpg to png
2 parents a9a29cc + 63e92a9 commit 5949452

File tree

6 files changed

+5
-5
lines changed

6 files changed

+5
-5
lines changed

docs/kane-ai-using-variables.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Variables can be created using the following three methods:
7373
You can define variables directly by using the `/` command in the step input and select "Add a variable" option. You are allowed to create _global_ and _environment_ variables using this approach and define their values.
7474
The value of variables can be edited by clicking on the variables listing icon on the top right.
7575

76-
<img loading="lazy" src={require('../assets/images/kane-ai/knowledge-base/variables/environment.jpg').default} alt="Image" className="doc_img img_center"/>
76+
<img loading="lazy" src={require('../assets/images/kane-ai/knowledge-base/variables/environment.png').default} alt="Image" className="doc_img img_center"/>
7777

7878
### Using Natural Language in authoring session
7979
KaneAI allows you to create variables using natural language. For instance, you can write:
@@ -95,7 +95,7 @@ Variables can be used to enhance your test cases, making them more dynamic.
9595
### Syntax for Assertions
9696
Variable usage can be done using the `{{` prefix to list all existing variables in the KaneAI session input box. When making assertions in your test case, you can use variables for inputing a value or as part of the assertion logic.
9797

98-
<img loading="lazy" src={require('../assets/images/kane-ai/knowledge-base/variables/syntax.jpg').default} alt="Image" className="doc_img img_center"/>
98+
<img loading="lazy" src={require('../assets/images/kane-ai/knowledge-base/variables/syntax.png').default} alt="Image" className="doc_img img_center"/>
9999

100100
#### String variables example:
101101

@@ -128,22 +128,22 @@ Persist value check is a mechanism used to ensure that variables retain their va
128128
The persist check option becomes available only when you change a variable's scope from local to global.
129129
:::
130130

131-
<img loading="lazy" src={require('../assets/images/kane-ai/knowledge-base/variables/variable-listing-in-session.jpg').default} alt="Image" className="doc_img img_center"/>
131+
<img loading="lazy" src={require('../assets/images/kane-ai/knowledge-base/variables/variable-listing-in-session.png').default} alt="Image" className="doc_img img_center"/>
132132

133133
## Environments
134134

135135
### What are Environments?
136136
Environments in KaneAI refer to the different configurations under which the tests are executed. Environments typically represent different stages of deployment (e.g., development, staging, production). Each environment can have its own set of variables tailored to the respective deployment scenario.
137137

138-
<img loading="lazy" src={require('../assets/images/kane-ai/knowledge-base/variables/persist-value.jpg').default} alt="Image" className="doc_img img_center"/>
138+
<img loading="lazy" src={require('../assets/images/kane-ai/knowledge-base/variables/persist-value.png').default} alt="Image" className="doc_img img_center"/>
139139

140140
### How to Use Environments During Test Runs
141141
Once a test case is authored using environment variables, it can then be executed in any environment as long as the variables used in the test case, exist in the requested environment.
142142

143143
#### Leveraging UI
144144
While executing a test run or scheduling one, you can choose which environment they want to execute a test run on. All the test cases inside a test run can be executed on a single environment only at a point of time.
145145

146-
<img loading="lazy" src={require('../assets/images/kane-ai/knowledge-base/variables/test-run-environment.jpg').default} alt="Image" className="doc_img img_center"/>
146+
<img loading="lazy" src={require('../assets/images/kane-ai/knowledge-base/variables/test-run-environment.png').default} alt="Image" className="doc_img img_center"/>
147147

148148
#### Leveraging API
149149
You can pass environment name programmatically when initiating test runs via the API. This allows you to automate the execution of tests in different environments without manual intervention. For instance,

0 commit comments

Comments
 (0)