[Ohio] script1.t [Ohio] script2.t [Ohio] script3.t [Montana] script1.t [Montana] script2.t [Montana] script3.t
Any spaces between the name of the target Agent and the script name are not significant.
testcase TestSerially ()
STRING sMachine
// Define list of agent names
LIST OF STRING lsMachines = {...}
"Ohio"
"Montana"
// Invoke test function for each name in list
for each sMachine in lsMachines
DoSomeTesting (sMachine)
// Define the test function
DoSomeTesting (STRING sMachine)
Connect (sMachine)
Print ("Target machine: {sMachine}")
// do some testing...
Disconnect (sMachine)
You will rarely need to run one test serially on multiple machines. Consider this example a step on the way to understanding parallel testing.