Concordion > Commands > "execute" >

Executing Lists

The execute command has special behavior when placed on a list element (<ol> or <ul>). Instead of executing once, it executes every list item in the list (and all its sub lists) and transfers the commands from the list element to each list item element. This feature can for example be used to setup a hierarchical structure of test data.


Given the following HTML list:

<ol concordion:execute="parseNode(#TEXT, #LEVEL)">

When executing the active specification containing the execute command, the following items are used as parameters to the "ParseNode" method:

Europe 1
Austria 2
Vienna 3
UK 2
England 3
Scotland 3
France 2
Australia 1