Open topic with navigation

GetAlternativeClassName Method
Returns the alternative Class name that is used whenever framework errors occur.
Remarks
This can be useful to set the start and end points of a class in your project if the runner you are using does not successfully pass LeanFT class names to the LeanFT report.

In this case, by default the HTML report displays: [Undefined]. Override to provide an alternative test method name.

C# Syntax

    protected virtual string GetAlternativeClassName()

Return Value

The alternative test name.