Need To Get The Status of Each Iteration in UFT like Execution Status, Error Message if the that particular iteration is failed and the status of Checkpoint. Whether it is pass or failed. I have checked for one code which i got from another forum but cannot be self explanatory. Can anyone help in getting more clear on the option to get the status of each iteration.
Code:
List<IterationStatus> iterationList = this.Context.ExecutionStatus.IterationStatus;
if (iterationList.Count > 0)
{
this.Context.UserLogger.Info(iterationList[1].CheckpointFailed.ToString());
this.Context.UserLogger.Info(iterationList[1].Succeed.ToString());
}