Selenium IDE: Nested variables -
is possible evaluate expression nested variables in selenium ide? example:
store | 2 | scenario store | $10 | data${scenario}cost
so data2cost = $10
store | ${data{$scenario}cost} | ${scenario}result echo | ${scenario}result |
which returns 2result = ${data2cost}
opposed 2result = $10
.
you can use storeeval store evaluated expression variable tutorial helped me achieving that
|store | 2 | scenario | |store | $10 | data${scenario}cost | |storeeval | storedvars['data${scenario}cost'] | ${scenario}result | |storeeval | storedvars['${scenario}result'] | mainresult | |echo | ${mainresult} |
Comments
Post a Comment