SET VARIABLE
Description
Variable can be utilized as parameters. It can be used in all values of all Keywords, Locators, SQL Statements
– Value 1(*): Variable name. It must be start with [${] and end with [}]. Ex: ${Variable1}
– Value 2(*): The value of variable
Some special values:
— [TODAY()] will be the current date with format is defined in [Value 3]
— PAST() will be the date in past with format is defined in [Value 3] and [n] days before the current date is defined in [Value 4]
— FUTURE() will be the date in future with format is defined in [Value 3] and [n] days before the current date is defined in [Value 4]
— RANDOMTEXT() will be the random text with the length is defined in [Value 3]
— RANDOMEMAIL() will be the random email (XXX@test.org) with the length is defined in [Value 3]
— RANDOMNUMBER() will be the random number with the min value is defined in [Value 3] and max value is defined in [Value 4]
— SQL will be the result of executing the SQL Statement (sqlStatement.properties) is defined in [Value 3]
Example