Nexial Automation

Test Automation Platform for everyone!

X

base » saveVariablesByRegex(var,regex)

Description

This command collects all available data variables whose name matches the specified regex. The matched data variable names will be saved as a list under the named specified by var.

Parameters

  • var - the variable name to save the matching data variable names.
  • regex - the regular expression to find matching data variable names.

Example

Script:
script

Output:
Observe that the extracted variable names as a list. output log

See Also