Share this page

# Report code samples (.NET SDK)

In this topic:

## Customize the OpenText Functional Testing for Developers run report settings

This example shows how to use the Reporter.Init() method to initialize the Reporter before using it.

    Reporter.Init(new ReportConfiguration
    {
    	Title = "WinForms",
    	Description = "Using Report in Console application",
    	IsOverrideExisting = true,
    	ReportFolder = "WinFormsResults",
    	ReportLevel = ReportLevel.All,
    	SnapshotsLevel = CaptureLevel.OnError,
    	TargetDirectory = "."
    	});

Back to top

## Access current report status during runtime

This example shows how to access the current report status during runtime, and write different scenarios of the test execution according to the obtained value.

    Status reportStatus = Reporter.Status;
    if (reportStatus == Status.Passed)
    {
    	//continue test execution
    }
    else
    {
    	//make custom action
    }

Back to top

https://admhelp.microfocus.com Functional Testing for Developers 8942
Tips to improve your search results... OpenText™ Functional Testing for Developers Help Center OpenText™ Functional Testing for Developers Help 25.2 All View Local Help Center View Online Help Center Version: