RunFactory Object
Description
Services for managing test runs.
Remarks

Get a reference from TSTest.RunFactory.

The RunFactory for the connection is TDConnection.RunFactory.

Interfaces
Implemented InterfaceDescription
_IFactorySupportBatchLockExtends IBaseFactory
IBaseFactory2Provides basic object basic factory services, such as adding and removing factory child objects and creating lists of child objects.
IMailableFactoryMail support for factories.
ISearchableFactoryServices to support text searches in properties of objects managed by a factory.
ISupportCopyPaste2Services for supporting copy and paste.
ISupportCopyPaste4Services for supporting copy and paste.
ISupportEntitySubtypesRepresents a factory with support for subtypes.
Public Methods
Public Method AddItemCreates a new item object.
Public Method CreateSearchOptionsCreates a new SearchOptions object.
Public Method DeleteDuplicateRunsRemoves duplicate runs for the current test set. Removal is immediate without Post.
Public Method GetSubtypeSubtype corresponding to the given subtype ID.
Public Method IsSearchableChecks if the Search method can be called by this factory.
Public Method MailMails the list of items. 'Items' is a list of ID numbers.
Public Method MailExMails the list of IBase Factory Items. 'Items' is a list of ID numbers.
Public Method NewListCreates a list of objects according to the specified filter.
Public Method RemoveItemRemoves item from the database. Removal takes place immediately, without a Post.
Public Method SearchGets a list of objects matching the search query.
Public Properties
Public Property FetchLevelThe Fetch level for a field.
Public Property FieldsThe list of all available fields for the entity managed by the factory.
Public Property FilterThe TDFilter object for the factory.
Public Property GroupingManagerThe GroupingManager for this factory.
Public Property GroupingSupportedCheck whether the factory supports grouping.
Public Property HistoryThe History object for this entity.
Public Property ItemGets an object managed by the factory by its key.
Public Property SubtypesList of subtypes supported by this entity.
Public Property UniqueRunNameGets the run name. The name is unique in the current test and test set.
See Also