Storing Selenium IDE Variables
With Selenium IDE it is possible to
These variables can then be used in later commands during the same test flow.
How to store a variable
To store a variable during a test, please use the
This example will store a variable called
emailAddress and its value will be a random
How to use a variable
Once you have stored a variable, you can use it in subsequent steps like this:
Below are some examples on how to store and use variables.
This will store the text from element with CSS selector
.container:nth-child(1) > span:nth-child(3) in a variable called
This will type the text stored in the
myVar variable to an element with