|
Earlier versions of iTest allowed numbered (un-named) args to appear before named args. iTest 3.4.2 fixes this inconsistency. The documentation for procedure calls (both for the call action and for CallProcedure events) did not make the following requirement explicitly:
Procedure call syntax procedureName [-namedArg1 arg1Value -namedArg2 arg2Value ...] [numberedArg1 numberedArg2 ...] -- Arguments are optional -- Any named arguments must appear before any numbered arguments Example This example call to the ExercisePorts procedure includes two named arguments and one numbered argument. Here is the form of the procedure call: procedureName -slot slotNumber -port portNumber numberOfRepetitions Here is the actual text that appears in the Description cell for the call step (the value of the port argument is determined dynamically by the return value of a param command). ExercisePorts -slot 3 -port [param portInUse] 75 |