TestConfig object
A TestConfig object describes a specific use case of the test that owns this configuration.
You get a TestConfig reference from a TestConfigFactory object.
Public methods
This object supports the following methods.
| Method | Description | 
|---|---|
| 
                                                                         LockObject  | 
                                                                    
                                                                         Locks the object. Returns True if the object has been changed on the server. For details, see LockObject.  | 
                                                                
| 
                                                                         Post  | 
                                                                    
                                                                         Posts all changed values into database. For details, see Post.  | 
                                                                
| 
                                                                         Refresh  | 
                                                                    
                                                                         Reads saved values, overwriting values in memory. For details, see Refresh.  | 
                                                                
| 
                                                                         Undo  | 
                                                                    
                                                                         Undoes changes to field values that have not been posted. For details, see Undo.  | 
                                                                
| 
                                                                         UnLockObject  | 
                                                                    
                                                                         Unlocks the object. For details, see UnLockObject.  | 
                                                                
Public properties
This object supports the following properties.
| Property | R/W | Type | Description | 
|---|---|---|---|
| 
                                                                         Attachments  | 
                                                                    R | Object | 
                                                                         The AttachmentFactory for the test. See AttachmentFactory object.  | 
                                                                
| 
                                                                         AutoPost  | 
                                                                    R/W | Boolean | 
                                                                         If true, the database is updated immediately when the field value changes.  | 
                                                                
| 
                                                                         AutoUnlock  | 
                                                                    R/W | Boolean | 
                                                                         Indicates whether to make the item changeable to other users automatically after a Refresh or Post.  | 
                                                                
| CreatedBy | R | String | The user who created the configuration. | 
| CreationDate | R | Date | The configuration creation date. | 
| Description | R/W | String | The configuration description. | 
| ExecStatus | R/W | String | The configuration execution status. | 
| 
                                                                         Field  | 
                                                                    R/W | Any | 
                                                                         The value of the specified field. Syntax: Parameters: 
  | 
                                                                
| Filtering | R/W | String | The configuration filtering information of the data resource. | 
| 
                                                                         HasAttachment  | 
                                                                    R | Boolean | 
                                                                         Checks if the test has one or more attachments.  | 
                                                                
| 
                                                                         HasLinkage  | 
                                                                    R | Boolean | 
                                                                         Checks if the test has at least one associated Bug.  | 
                                                                
| HasOthersLinkage | R | Boolean | Checks if the current Bug object has at least one associated object that is not another Bug object. Defined only for Bug objects. | 
| 
                                                                         ID  | 
                                                                    R | Number | 
                                                                         The item ID.  | 
                                                                
| 
                                                                         IsLocked  | 
                                                                    R | Boolean | 
                                                                         Checks if the test configuration is locked for editing.  | 
                                                                
| LinkFactory | R | Object | The link factory of the current defect object that enables viewing the links. Defined only for Bug objects. | 
| 
                                                                         Modified  | 
                                                                    R | Boolean | 
                                                                         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.  | 
                                                                
| 
                                                                         Name  | 
                                                                    R/W | String | 
                                                                         The test configuration name.  | 
                                                                
| TestId | R | Number | The ID of the test that owns this test configuration. | 
| 
                                                                         TypeName  | 
                                                                    R | String | 
                                                                         The field's type.  | 
                                                                
| 
                                                                         Virtual  | 
                                                                    R | Boolean | 
                                                                         Checks if this is a virtual item, that is, an item that does not have a corresponding database record.  | 
                                                                

                                                        
                                                        
                                                        
                                                        
                                                        
 
                                                                    
                                                                    
                                        
                                        