Action Object
Description
Object Model
Example
Public Methods
(Versions 2021 and later) | Adds a call to an existing action from the current action. |
(Versions 2021 and later) | Adds a call to an existing API test from the current action. |
AddNewAction | Creates a new action with the specified script content and adds a call to it from the current action. |
GetScript | Returns the complete contents of the action script as a string. |
(Versions 23.4 and later) | Removes a call to a specified action from the current action. |
(Versions 23.4 and later) | Removes a call to an external API test from the current action. |
(Versions 23.4 and later) | Replaces an external API test called from the current action with another API test. |
SetScript | Uses the specified string as the new script for the action. |
ValidateScript | Validates the script syntax. |
Public Properties
ActionParameterDefinitions | Returns the ActionParameterDefinitions collection defined for the action. |
Description | The textual description of the action. |
Location | The location where the action is stored. |
Name | The name of the action. |
ObjectRepositories | Returns an ObjectRepositories collection representing all object repository files associated with the action. |
Type | The action type: external, reusable, or non-reusable. Note that 'external' is not valid when setting the property value. |