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} |  

enter image description here


Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - Chrome Extension: Interacting with iframe embedded within popup -