If I have a suite setup to run three test items.
I have a an onStop event handler that is calling a unit function called logit().
function logit()
{
Log.Message("count:" + Project.Logs.LogItemsCount);
Log.Message("childcount;" + Project.Logs.LogItem(0).ChildCount);
}
If I try to run the suite using TestExecute it will thow the error "parameter incorrect".
It doesn't appear that TestExecute have access to the Project.Logs.LogItem(0) when the suite is running.
I am assuming that the LogItem(0) does not change as
Project.Logs.LogItemsCount is always zero when it iterates though the
test items.