withvectorby Group Public on Friday September 18 2009 @ 13:23:47 (1/1 Points) |
|
| Language ↪Reference ✑ Reply ✓ Stick It ✗ Ditch It ⚐ Tag It |
withvector is an extended rvalue→ which creates a vector: an ordered set of values.
Syntax
Following the withvector keyword each line, until end, is added as a value in the vector.
set %MyVector% withvector One Two end
Each item in the vector is further subject to extended rvalue→ notation, thus functions and complex objects can be built.
set %MyVector% withvector
%SomeVar%
A string with a %Var%
as response //div[@id='123']
with
%Key% embedded
%Key2% map
end
withvector
embedded
vector
end
endEmpty lines, like most places in the language, are simply ignored. If you need the empty string value in your list use the %Codes:EMPTYSTR% item.
TestPlan withvector
