Test/RiskDataLookup
Appearance
< Test
Test cases for the RiskDataLookup tag
| a | b | c | value |
|---|---|---|---|
|
a1 |
b1 |
c1 |
1.0 |
|
a2 |
b2 |
c2 |
2.0 |
|
a3 |
b3 |
c3 |
3.0 |
Lookup second row by value:
| d | e | f | valuedef |
|---|---|---|---|
|
d1 |
e1 |
f1 |
1.01 |
|
d2 |
e2 |
f2 |
2.02 |
|
d3 |
e3 |
f3 |
3.03 |
Lookup the third row by index:
| g | h | i | valueghi |
|---|---|---|---|
|
g1 |
h1 |
i1 |
1.11 |
|
g2 |
h2 |
i2 |
2.23 |
|
g3 |
h3 |
i3 |
3.33 |
Lookup first row (default row):
Use DropDowns to decide which table and which row to fetch:
| table |
|---|
|
testlookup1 |
|
testlookup2 |
|
testlookup3 |
| row | rowindex |
|---|---|
|
1 |
0 |
|
2 |
1 |
|
3 |
2 |
Select which table: Select which row:
Errors:
No table set: riskdatalookup: missing table attribute
Row not found: riskdatalookup: can't find row foo in RiskData table testlookup1
Row not found by index: riskdatalookup: can't find row 11 in RiskData table testlookup1