How to Use Variables in Genta
Last updated: 2026-09-21
Use built-in, custom, and AI-generated variables to make your Genta automation reusable across cases and suites.
How to Use Variables in Genta
Variables let you avoid hardcoded values and make test automation reusable across cases and suites.
Variable types in Genta
Built-in variables: system-provided values (dates, random values, etc.).
Custom variables: values you create and control.
AI-generated variables: values/documents generated from prompts.
Open Variables
Go to Variables from the sidebar.
Use filters/search to find built-in or custom variables.
Create a custom variable
In Variables, switch to Custom.
Open Static and click New Variable.
Set:
Display Name
Data Type
Value (optional)
Color (optional)
Click Create.
Use variable tokens
Built-in variables use
@@...tokens.Custom variables use
##...tokens.
Use these tokens in your case guidance/inputs where dynamic values are needed.
Update or delete variables
Select a variable from the list.
Edit details in the right panel.
Click Save (or Delete for custom variables).
Best practices
Prefer descriptive display names.
Keep data types accurate (Text, Number, Date, Json, etc.).
Use custom variables for stable reusable values.
Use built-in variables for runtime-generated values.