Need To Get The Status of Each Iteration in UFT

0
0

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());
}
  • You must to post comments
Showing 0 results
Your Answer
Post as a guest by filling out the fields below or if you already have an account.
Name*
E-mail*
Website