Printer FriendlyEmail Article Link

iTest: What is the usage of foreach loop in iTest?

  • Spirent iTest.
  • 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.

Product : iTest Enterprise