Test javascript evaluation of parameters |
||
open | ./tests/html/test_store_value.html | |
type | theText | javascript{[1,2,3,4,5].join(':')} |
verifyValue | theText | 1:2:3:4:5 |
type | javascript{'the' + 'Text'} | javascript{10 * 5} |
verifyValue | theText | 50 |
verifyValue | theText | javascript{10 + 10 + 10 + 10 + 10} |
store | the value | var1 |
type | theText | javascript{'${var1}'.toUpperCase()} |
verifyValue | theText | ${VAR1} |
type | theText | javascript{storedVars['var1'].toUpperCase()} |
verifyValue | theText | THE VALUE |