UFT Pro (LeanFT) .NET SDK Reference, Version 14.03
GetAlternativeTestName Method
Returns the alternative Test name that is used whenever framework errors occur.
Remarks
This can be useful to set the start and end points of a test in your class if the runner you are using does not successfully pass LeanFT test names to the LeanFT report.

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

Syntax
protected virtual string GetAlternativeTestName()

Return Value

The alternative test name.