Silk Test Workbench lets you create variables to represent data in a visual test so the data is available to any other visual test in the same database. You do this by setting the data to global variables.
Global variables are useful for data that needs to be used in several different tests, and the data to be used is constant. You can define the data in a global variable once, then reference the global variable in each visual test that requires the data. If the data represented by a global variable changes, you change the data in one place. Each visual test automatically uses the new data during its next playback.
To use global variables, you can create them in one visual test and store their values to local variables in other visual tests. This lets you create data in one test that can be re-used throughout your testing solution. Once data in a global variable is read into a local variable, the data can be used like any local variable.
Unlike local variables, global variables are not created and deleted only during playback of the visual test in which they are created. A global variable can be accessed and modified by any visual test that plays back the visual test containing the global variable.
Create a global variable in a visual test by creating a Set global step and setting the step's properties to define the variable. Each Set global step represents one global variable definition.