Clint,
In the PreUUT sequence is a step that conditional sets the value of Parameters.ContinueTesting.
The condition is if Locals.Once is set true then Parameters.ContinuingTesting is set False. Locals.Once has been initial set as False. Therefore the first time PreUUT is called Parameters.ContinueTesting is set True.
The way I set Locals.Once (in PreUUT) true, is done in the PostUUT sequence by modifying the Runtime version Locals.Once of the sequence PreUUT.
Hence the line:
RunState.SequenceFile.Data.Seq[\"PreUUT\"].Locals.Once = True
This is fine for the first time your SequenceFile is loaded and run, the Local.Once will start off as False. But after the First run, Locals.Once remains equal to True. ( if you look at the value in PreUUT after execution you should find it equal to True).
Hence the reason for adding the ProcessSetup sequence with the statement:
RunState.SequenceFile.Data.Seq[\"PreUUT\"].Locals.Once = False
To ensure the Locals.Once is in the right state for the start of the execution.
I hope this helps in you understanding.
Regards
Ray Farmer
Regards
Ray Farmer
