How Can I Get the Name of test step in the function OnResultPublished of a ResultListener?
public override void OnResultPublished(Guid stepRun, ResultTable result)
{
}
Hi @allen,
The typical way of doing this is to keep track of active test step runs using a dictionary, mapping GUID to TestStepRun.
Since we had no example of it I have added one in a pull request, maybe you could check it out.
Its on Github: Example Result Listener
Look for what is done with activeTestStepRuns
.
Got it, thank you very much for your example.
1 Like