TSTest Object
Description
Represents a test instance, or execution test, in a test set.
Remarks

A test instance represents a single use of a planning Test in a TestSet. It can be associated with one or more runs.

Get a TSTest object from a TSTestFactory.

Interfaces
Implemented InterfaceDescription
IAlertable2Services for managing auto-alerts.
IAlertable2DispatchServices for managing auto-alerts.
IBaseField2Represents a basic data field or entity, such as an attachment.
IBaseField3Represents a basic data field or entity, such as an attachment.
IBaseField4Represents a basic data field or entity, such as an attachment.
ICoverableRepresents an entity that covers a requirement.
IFollowUpManagerManages the user-defined follow-ups.
ILinkableServices for managing links.
IMailableEntityMail support for entities.
ISubtypedEntityRepresents an entity with support for subtypes.
ISupportParameterValuesServices to support parameterization.
Public Methods
Public Method AddAlertAdds a new alert to the specified entity.
Public Method CancelFollowUpRemoves the current entity's follow-up.
Public Method CleanAllAlertsRemoves all current object alerts from the database.
Public Method CoverRequirementExAdds the specified requirement to the list of requirements covered by this entity. Optionally, also adds child requirements.
Public Method DeleteAlertRemoves an alert or alerts associated with the current object from the database.
Public Method GenerateTestConfigurationGenerates a new Configuration based on this test instance. Connects the instance to the new created configuration, and returns its ID.
Public Method GenerateXMLDescriptionGenerates an XML description of the test instance.
Public Method GetAlertGets the alert specified by the alert ID.
Public Method GetAlertListGets a list of all alerts associated with the object.
Public Method GetFollowUpGets the date and description for the follow-up associated with the current object.
Public Method HasAlertsChecks if any alerts are associated with the object.
Public Method HasFollowUpChecks if the object has at least one follow-up associated with it.
Public Method HasNewAlertsNew, unread alerts are associated with the object.
Public Method IsFollowUpOverdueChecks if the date of the unsent follow-up is earlier than the current database server date.
Public Method LockObjectLocks the object. Returns True if the object has been changed on the server.Locks the object. Returns True if the object has been changed on the server.
Public Method MailMails the item.
Public Method MailExMails the IMailableEntity field item.
Public Method PostPosts all changed values into database.Posts all changed values into database.
Public Method RefreshReads saved values, overwriting values in memory.Reads saved values, overwriting values in memory.
Public Method SetFollowUpSets an alert for follow-up for the current object.
Public Method UndoUndoes changes to field values that have not been posted.Undoes changes to field values that have not been posted.
Public Method UnLockObjectUnlocks the object.Unlocks the object.
Public Properties
Public Property AttachmentsThe Attachment factory for the object.
Public Property AutoPostIf true, the database is updated immediately when the field value changes.If true, the database is updated immediately when the field value changes.
Public Property AutoUnlockIndicates whether to make the item changeable to other users automatically after a Refresh or Post.
Public Property BugLinkFactoryThe bug link factory that manages the links of the current object to its associated defects.
Public Property CoverageFactoryThe CoverageFactory for the entity.
Public Property EntitySubtypeThe current subtype of the entity.
Public Property ExecutionParamsThe execution parameters for this test instance.
Public Property ExecutionSettingsThe execution settings for this test instance.
Public Property FieldThe value of the specified field.
Public Property FieldMultiValueThe MultiValue object of the specified field.
Public Property HasAttachmentChecks if the object has one or more attachments.
Public Property HasCoverageChecks if the test instance covers at least one requirement.
Public Property HasLinkageChecks if the current object has at least one associated Bug.
Public Property HasOthersLinkageChecks if the current Bug object has at least one associated object that is not another Bug object. Defined only for Bug objects.
Public Property HasStepsChecks if the planning test specified by the Test property has design steps.
Public Property HostNameThe name of the host planned to run this test instance.
Public Property IDThe item ID.The item ID.
Public Property InstanceThe instance number of this test instance in the test set, within the other instances of the same test.
Public Property IsLockedChecks if object is locked for editing.Checks if object is locked for editing.
Public Property LastRunThe Run object of the last run.
Public Property LinkFactoryThe link factory of the current defect object that enables viewing the links. Defined only for Bug objects.
Public Property ModifiedChecks if the item has been modified since last refresh or post operation. If true, the field properties on the server side are not up to date.Checks if the item has been modified since last refresh or post operation. If true, the field properties on the server side are not up to date.
Public Property NameThe name of this test instance. By convention, this is the test instance number and the test name.
Public Property ParameterValueFactoryThe parameter value factory that manages the parameter values of the current object.
Public Property ParamsDeprecated. Use ParameterValueFactory of ISupportParameterValues. The step parameters for this execution test.
Public Property RunFactoryThe Run Factory for this test instance.
Public Property StatusThe test instance's execution status.
Public Property SubjectIdThe ID of the Subject field.
Public Property TestThe planning test of which this is an instance.
Public Property TestConfigurationThe test configuration used by this test instance for the run.
Public Property TestIdThe ID of the planning test of which this is an instance.
Public Property TestNameThe name of the planning test of which this is an instance.
Public Property TestSetThe test set to which the test instance belongs.
Public Property TypeThe test type.
Public Property TypeNameThe field's type.
Public Property VirtualChecks if this is a virtual item, that is, an item that does not have a corresponding database record.Checks if this is a virtual item, that is, an item that does not have a corresponding database record.
See Also