You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/kane-ai-smart-variables.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ They cover categories such as date & time, system information, location, connect
47
47
When typing `{{` in the Web/App Agent, an overlay displays all available variables, including regular, secret, and smart variables, with smart variables labeled as "Smart" and accompanied by descriptions.
48
48
:::
49
49
50
-
Smart Variables listing is available near User Variables
50
+
Smart Variables are listed under the variables section within an authoring session.
@@ -57,14 +57,15 @@ Smart variables can be referenced in test steps, modules, and test cases using t
57
57
58
58
### Step 1: Access the Test Environment
59
59
60
-
Navigate to the Web/App Agent & enter the authoring mode.
60
+
Enter the Authoring or Editing mode for a KaneAI test case
61
61
62
62
### Step 2: Reference a Smart Variable
63
63
64
64
In the "Write a Step" field type `{{` to trigger the variable overlay. This will display a list of all available variables, including smart variables labeled with "Smart".
65
65
66
66
For example, to use the current date in a test step:
67
67
68
+
Use `{{` syntax to get the list of smart variables listed and type to search and filter them out then select the desired one.
68
69
```
69
70
Enter the value of {{smart.current_date}} in the date field
70
71
@@ -78,7 +79,7 @@ From the overlay, select the desired smart variable. The variable will be insert
78
79
79
80
### Step 4: Run Your Test
80
81
81
-
Execute the test case. The smart variable will dynamically resolve to its corresponding value based on the current environment or condition (e.g., `2025-04-29` for `{{smart.current_date}}`).
82
+
Once the test step is executed the smart variable will dynamically resolve to its corresponding value based on the current environment or condition (e.g., `2025-04-29` for `{{smart.current_date}}`).
82
83
83
84
## Supported Smart Variables
84
85
@@ -131,4 +132,4 @@ Below is a comprehensive list of supported smart variables, organized by categor
0 commit comments