EndRunSession Method

Ends any current run session begun by a call to BeginRunSession. The post-testing function is run (if defined), the summary table is generated and any log files are written to disk. The next time any tests or XJEase functions are run, or when the next run session is started using BeginRunSession, XJEase variables (including the serial number) will be reset.

Type: Runner

Namespace: XJTAG.Integration.XJRunner

Syntax

public void EndRunSession()

Exceptions

RuntimeException

Attempted to end a run session while tests or functions are currently executing or writing the log files failed.

System.ObjectDisposedException

The Runner object has already been disposed.