GetRunner Method (XJLink)
Gets a Runner instance for the specified XJLink.
Type: RunnerProject
Namespace: XJTAG.Integration.XJRunner
Syntax
public Runner GetRunner(XJLink xjlink)
Parameters
- xjlink
Type: XJLink
The XJLink to use to run the tests.
Exceptions
- System.InvalidOperationException
The specified XJLink is in use with another Runner instance.
- ProjectException
No suitable licence is available to allow the project to be run.
- RuntimeException
There was an error creating the Runner object.
- System.ObjectDisposedException
The RunnerProject has already been disposed.
Remarks
This overload of GetRunner returns a Runner instance without any XjtagOutputBox instance to display output. To obtain any text output from tests, the TextOutputGenerated event should be subscribed to. Alternatively output can be retrieved after the test has finished from the OutputFromLastTestRun property.
XJTAG v4.2.5
