Share this page

# TestFactory object

Manage tests, including adding and removing tests.

You get a TestFactory object from TDConnection.TestFactory.

Public methods

This object supports the following methods.

Method | Description
--- | ---
AddItem | Creates a new test. For details, see AddItem.
GetSubtype | Subtype corresponding to the given subtype ID. Syntax: `GetSubtype(subtypeId)` Parameters: subtypeId. A string that represents the ID of the subtype.
Mail | Mails a list of items. For details, see Mail.
NewList | Creates a list of tests according to the specified filter. For details, see NewList.
RemoveItem | Removes a test from the database. Removal takes place immediately, without a Post. For details, see RemoveItem.
Item | Gets an object managed by the factory by its key. For details, see Item.

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.
Filter | R | Object | The TDFilter object for the factory. See TDFilter object. When TS_SUBJECT is used as one of the filter fields, the subject is the full path to the test in the tree, including the root node.
Subtypes | R | Array | List of subtypes supported by this entity.

Back to top

https://admhelp.microfocus.com Application Quality Management 8942
Tips to improve your search results... OpenText™ Application Quality Management Help Center OpenText™ Application Quality Management Help Center OpenText™ Application Quality Management Help 26.1 All View Local Help Center View Online Help Center Version: