RunFactory object
Manage test runs.
You get a RunFactory reference from the RunFactory property of a TSTestFactory object (TSTest.RunFactory).
Public methods
This object supports the following methods.
Method | Description |
---|---|
Creates a new item object. Syntax: Passing null as the argument creates a virtual object, one that does not appear in the project database. After creating the item, use the relevant object properties to fill the object, then use the Post method to save the object in the database. |
|
GetSubtype |
Subtype corresponding to the given subtype ID. Syntax: Parameters:
|
Mails a list of items. For details, see Mail. |
|
Creates a list of objects according to the specified filter. Syntax: Parameters:
|
|
Removes an object from the database. Removal takes place immediately, without a Post. Syntax: Parameters:
|
|
Gets an object managed by the factory by its key. Syntax: Parameters:
|
Public properties
This object supports the following properties.
Property | R/W | Type | Description |
---|---|---|---|
Fields |
R | Array |
The list of all available fields for the entity managed by the factory. Syntax: |
Filter |
R | Object |
The TDFilter object for the factory. See TDFilter object. Syntax: |
Subtypes | R | Array | List of subtypes supported by this entity. |
UniqueRunName | R | String | Gets the run name. The name is unique in the current test and test set. |