Step object
A Step object represents a test step in a test run.
You get a Step object from a StepFactory object.
Public methods
This object supports the following methods.
| Method | Description | 
|---|---|
| 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.  | 
                                                                
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.  | 
                                                                
| 
                                                                         BugLinkFactory  | 
                                                                    R | Object | 
                                                                         The bug link factory that manages the links of the current run step to its associated defects.  | 
                                                                
| DesignStepSource | R | Number | The design step ID. | 
| 
                                                                         Field  | 
                                                                    R/W | Any | 
                                                                         The value of the specified field. Syntax:  Parameters: 
  | 
                                                                
| 
                                                                         FieldMultiValue  | 
                                                                    R/W | Object | 
                                                                         The MultiValue object of the specified field. See MultiValue object. Syntax: Parameters: 
  | 
                                                                
| 
                                                                         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.  | 
                                                                
| 
                                                                         ID  | 
                                                                    R | Number | 
                                                                         The run step ID.  | 
                                                                
| 
                                                                         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 run step name.  | 
                                                                
| Run | R | Object | Gets the Run object handling this step. See Run object. | 
| Status | R/W | String | The run step status. | 
| TestSource | R | Number | The test ID of the test from which this step run originates. | 
| 
                                                                         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.  | 
                                                                

                                                        
                                                        
                                                        
                                                        
                                                        
 
                                                                    
                                                                    
                                        
                                        