Customer Service Center
Home
Knowledge Base
Contact Support
License Activation
|
Contact Support
|
License Activation
|
Spirent KB Article
Doc ID: FAQ16520
Printer Friendly
Email Article Link
iTest: What is the usage of foreach loop in iTest?
Environment/Versions
Spirent iTest.
Answer
A foreach loop performs the steps within the loop for each value in a specified set of values.
The statement in the Description cell (the value of the Command property) of a foreach step follows Tcl foreach syntax and takes an even number of lists and goes through the lists two at a time.
The first is a list of variables and the second is the list of values that the variables take on.
A foreach loop is composed of all of the steps that are indented under the foreach clause.
Version
2.0
Publish Date
2023-11-16
Categories
Product : Velocity Portfolio,Velocity iTest
Related Articles