RunFactory Object
Services for managing test runs.

Get a reference from TSTest.RunFactory.

The RunFactory for the connection is TDConnection.RunFactory.

Implemented Interface Description
_IFactorySupportBatchLock Extends IBaseFactory
IBaseFactory2 Provides basic object basic factory services, such as adding and removing factory child objects and creating lists of child objects.
IMailableFactory Mail support for factories.
ISearchableFactory Services to support text searches in properties of objects managed by a factory.
ISupportCopyPaste2 Services for supporting copy and paste.
ISupportCopyPaste4 Services for supporting copy and paste.
ISupportEntitySubtypes Represents a factory with support for subtypes.
Public Methods
Public Method AddItem Creates a new item object.
Public Method CreateSearchOptions Creates a new SearchOptions object.
Public Method DeleteDuplicateRuns Removes duplicate runs for the current test set. Removal is immediate without Post.
Public Method GetSubtype Subtype corresponding to the given subtype ID.
Public Method IsSearchable Checks if the Search method can be called by this factory.
Public Method Mail Mails the list of items. 'Items' is a list of ID numbers.
Public Method MailEx Mails the list of IBase Factory Items. 'Items' is a list of ID numbers.
Public Method NewList Creates a list of objects according to the specified filter.
Public Method RemoveItem Removes item from the database. Removal takes place immediately, without a Post.
Public Method Search Gets a list of objects matching the search query.
Public Properties
Public Property FetchLevel The Fetch level for a field.
Public Property Fields The list of all available fields for the entity managed by the factory.
Public Property Filter The TDFilter object for the factory.
Public Property GroupingManager The GroupingManager for this factory.
Public Property GroupingSupported Check whether the factory supports grouping.
Public Property History The History object for this entity.
Public Property Item Gets an object managed by the factory by its key.
Public Property Subtypes List of subtypes supported by this entity.
Public Property UniqueRunName Gets the run name. The name is unique in the current test and test set.
See Also