RanorexRanorex Documentation
TestReport Class
NamespacesRanorex.Core.ReportingTestReport
Provides structured reporting functionality for Ranorex test suites.
Declaration Syntax
C#Visual BasicVisual C++
public class TestReport
Public Class TestReport
public ref class TestReport
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
TestReport()()()
Initializes a new instance of the TestReport class

BeginTestCase(String, String)
Creates a new TestCaseActivity and pushes it on the ActivityStack.

BeginTestCase(String)
Creates a new TestCaseActivity and pushes it on the ActivityStack.

BeginTestCaseSetup()()()
Creates a new TestCase "setup" activity container and pushes it on the ActivityStack.

BeginTestCaseTeardown()()()
Creates a new TestCase "teardown" activity container and pushes it on the ActivityStack.

BeginTestIteration(Int32)
Creates a new TestIterationActivity and pushes it on the ActivityStack.

BeginTestModule(String)
Creates a new TestModuleActivity and pushes it on the ActivityStack.

BeginTestSuite(String, String, IDictionary<(Of <(String, String>)>))
Creates a new TestSuiteActivity and pushes it on the ActivityStack.

BeginTestSuite(String, String)
Creates a new TestSuiteActivity and pushes it on the ActivityStack.

BeginTestSuite(String)
Creates a new TestSuiteActivity and pushes it on the ActivityStack.

Clear()()()
Clears the current test report, removing all information logged up to this point.

CurrentTestCaseActivity
Returns the Activity for the currently active test case.

CurrentTestIterationActivity
Returns the Activity for the currently active test case iteration.

CurrentTestModuleActivity
Returns the Activity for the currently active test module.

CurrentTestSuiteActivity
Returns the Activity for the currently active test suite.

EnableTracingScreenshots
Determines whether screenshots should be made for every step. This provides a number of screenshots in case an error occurs.

EndTestCase(TestResult)
Removes the current TestCaseActivity from the ActivityStack and updates its TestResult.

EndTestCase()()()
Removes the current TestCaseActivity from the ActivityStack.

EndTestCaseSetup()()()
Removes the current TestCase "setup" activity from the ActivityStack.

EndTestCaseSetup(TestResult)
Removes the current TestCase "setup" activity from the ActivityStack and updates its TestResult.

EndTestCaseTeardown()()()
Removes the current TestCase "teardown" activity from the ActivityStack.

EndTestCaseTeardown(TestResult)
Removes the current TestCase "teardown" activity from the ActivityStack and updates its TestResult.

EndTestIteration(TestResult)
Removes the current TestIterationActivity from the ActivityStack and updates its TestResult.

EndTestIteration()()()
Removes the current TestIterationActivity from the ActivityStack.

EndTestModule(TestResult)
Removes the current TestModuleActivity from the ActivityStack.

EndTestModule()()()
Removes the current TestModuleActivity from the ActivityStack.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()
Gets the type of the current instance.
(Inherited from Object.)
HasTimePlaceholders(String)
Determines whether the specified path contains time-dependent placeholder values.

MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
ReportEnvironment
Provides access to all filenames and path used by the report.

ReportFilename Obsolete.
The filename of the report file to to use.

ReportWriteInterval
The time interval for the current report to be saved to the target file.

ResolvePlaceholders(String)
Resolves the predefined placeholders for the test suite report filename.
Note: This is done automatically when calling Setup()

SaveLocalScreenshotBuffer()()()
Saves all screenshots stored in the local screenshot buffer associated with the current test module activity.

SaveReport()()()
Forces the current report to be saved to the configured file name.

SetCurrentTestResult(TestResult)
Sets the test result for the currently active test case or test module.

Setup(ReportLevel, String, Boolean, Boolean, Duration)
Sets up the reporting environment.

Setup(ReportLevel, String, Boolean, Boolean, Duration, String)
Sets up the reporting environment.

Setup(ReportLevel, String, Boolean)
Sets up the reporting environment.

Setup(ReportLevel, String, Boolean, String)
Sets up the reporting environment.

ThumbImageWidth
The width (in pixels) of thumbnail images included in the report.

ToString()()()
Returns a string that represents the current object.
(Inherited from Object.)
TracingScreenshotCountLocal
Gets or sets the number of tracing screenshots hold per module. The tracing screenshots are stored and shown in the report in case the module fails.

Inheritance Hierarchy
Object
TestReport

Assembly: Ranorex.Core (Module: Ranorex.Core) Version: 4.0.3.22982 (4.0.3.22982)