TestMace
0.0.1-beta.7
0.0.1-beta.7
  • Getting Started
  • Interface
    • The Menu
    • Interface Overview
    • Scratches
    • Node Types
    • Keyboard Shortcuts
  • Node Types
    • Project
    • Folder
    • RequestStep
    • Assertion
      • Compare
      • Contains
      • Script
      • XPath
    • Link
    • API description
      • ApiRootFolder
      • ApiFolder
      • ApiRoute
      • API Description Import
    • Broken
    • Script
  • Variables
    • User-Defined Variables
      • Static Variables
      • Dynamic Variables
    • Default Variables
    • Environment Variables
  • Working with the project
    • Cookie
    • Authorization
  • Settings
    • Proxy
  • Other features
    • Bulk Edit
    • Import & Export
      • Shared
      • cURL
      • Swagger
      • Postman
    • Default HTTP headers
Powered by GitBook
On this page

Was this helpful?

  1. Variables
  2. User-Defined Variables

Static Variables

PreviousUser-Defined VariablesNextDynamic Variables

Last updated 5 years ago

Was this helpful?

You can define your own variables, that will be associated with a specific node. Those variables names can't start with the $ symbol, because by convention it is reserved for . The variables mechanism also supports variables inheritance and overriding in child elements.

To edit your variables, you need to open the . On the Variables tab you can see a table with variables, associated with this node. The tab has the following interface:

In variables values you can also reference other variables. Let's rewrite the previous example using variables:

default variables
Variables dialog
The user-defined variables editing dialog
Referencing variables in values