To set the values of global variables for all executions of a keyword-driven test asset, where these executions are triggered by you, use the Global variables grid of the Run Configurations dialog box. For additional information, see Replaying Keyword-Driven Tests from Eclipse.
When executing keyword-driven tests that are part of an automation framework and that are managed in a test management tool, for example Silk Central, you can set the values of any variables that are used for the execution of the keyword-driven test in Silk4J. To set the values of global variables for the entire project, which means that these values are used whenever a Silk4J user executes the keyword-driven test assets in this project, perform the following actions:
name=value
user=John password=john5673
For information about the format of a properties file and how you can enter UNICODE characters, for example a space, see Properties File Format.
${variable name}For example, in the following keyword-driven test, the ${current user} parameter uses a global variable:
Whenever a keyword-driven test in the project is executed from Silk4J, the variables are used.