Open topic with navigation

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.

C# Syntax

    protected virtual string GetAlternativeTestName()

Return Value

The alternative test name.