Skip to main content
AutoFlow Studio - Learning Center and Docs home page
Search...
⌘K
Support
Book a Demo
Book a Demo
Search...
Navigation
Test Editing
Using Variables In AutoFlow Studio
Documentation
Website
Community
Introduction
Welcome to the World of Effortless Testing!
Get Started
Welcome
First Steps
Install and Update
Test Creation
Creating Test Suite
Creating Test
Device Profile
Test Editing
Using Variables In AutoFlow Studio
Testing with Randomized Data on Every Run
Editing Steps in AutoFlow Studio
Test Execution
Running a Test
Scheduling Runs
Run Types
Advanced Options
Retaining localStorage from Test Recording
Using In-App Temporary Email
Testing Email Verification
Reporting
Test Reports
History
AI Steps
AI Suggestions and Steps
Workspaces
Overview
Private Workspace
Team Workspaces
Environments
What are Environments?
Collaborate
Invite Teammates
Accept Invite
Export
Exporting to Playwright
On this page
Setting a Variable in AutoFlow Studio
Setting a Variable
1. In recording or editing mode, click on the ‘pencil’ icon to edit the input step
2. At the bottom of the input modal, there’s a checkbox with ‘Set as variable’. Select that checkbox.
3. In the input field, enter the name of the variable
4. Once done, click on the Save button
5. You’ll see the indicator within the step that you’ve set a variable.
Getting a Variable and Using Its Value
1. Click on any step’s pencil icon to edit it (preferably input modal)
2. Select the ‘Get from variable’ radio button
3. Done! On the sidebar, you’ll see a badge within the step to indicate that you’re using a variable in this step
Test Editing
Using Variables In AutoFlow Studio
Learn how to set and get variables in your tests
Setting a Variable in AutoFlow Studio
Setting a Variable
1. In recording or editing mode, click on the ‘pencil’ icon to edit the input step
2. At the bottom of the input modal, there’s a checkbox with ‘Set as variable’. Select that checkbox.
You can even set randomized values as variables. To learn more about how to randomize test data, go to the ‘
Randomization
’ section.
3. In the input field, enter the name of the variable
4. Once done, click on the Save button
5. You’ll see the indicator within the step that you’ve set a variable.
Getting a Variable and Using Its Value
You can use the variable you just set in the previous section with a few clicks.
1. Click on any step’s pencil icon to edit it (preferably input modal)
2. Select the ‘Get from variable’ radio button
3. Done! On the sidebar, you’ll see a badge within the step to indicate that you’re using a variable in this step
Was this page helpful?
Yes
No
Device Profile
Testing with Randomized Data on Every Run
⌘I