In some cases, you prefer not to input real values in the Selenium script for security or customizing considerations. For example, you do not want to input the password directly in the script and you want to specify the password later on IBM Cloud Pak console. To achieve this goal, you can store and use variables in the script and specify real values for the variables on IBM Cloud Pak console when you create a Selenium script test. These variable values can be passed from IBM Cloud Pak console to the Selenium script.
If you want to use variables for some commands instead of using real values, you need to change the script in Selenium IDE. For example, if you use variables for the type command, take the following steps:
Click the row where the type command is again and change the Value field based on the variable name that you set in the last step. Enclose the variable name in curly brackets ({}) and precede it with a dollar sign. Example:

In this example, the variable username is stored with the default value demo and the type command uses the username variable.
Create a Selenium script test. You can change the variable values under the Script variables section on IBM Cloud Pak console. For more information, see step 4 and step 10 of the topic Creating a Selenium script test.