GetResultsFromTest Method (TestFunction)
Gets the results for a specific completed test from the previous test run. If the test was looped multiple times then results for each loop are returned.
Type: Runner
Namespace: XJTAG.Integration.XJRunner
Syntax
public IEnumerable<TestResult> GetResultsFromTest(TestFunction function)
Parameters
- function
Type: TestFunction
The TestFunction for which output is required.
Return Value
- System.Collections.Generic.IEnumerable<TestResult>
An IEnumerable of TestResult objects that hold the XJEase test result and text output. Will be empty if results for the test were not found in the last test run.
Exceptions
- System.ArgumentException
The test group or function name in the function passed in were empty.
- System.ArgumentNullException
The function passed in was null.
- System.ObjectDisposedException
The Runner has already been disposed.
XJTAG v4.2.5
