Action Object
Description
A test action.
Object Model
Action ObjectActionParameterDefinitions CollectionActionParameterDefinition ObjectAction ObjectActionParameterDefinitions CollectionActionParameterDefinition ObjectAction ObjectObjectRepositories CollectionObjectRepositories Collection
Example
Public Methods
Public Method AddExistingActionAdds a call to an existing action from the current action.
Public Method AddExistingAPITestAdds a call to an existing API test from the current action.
Public Method AddNewActionCreates a new action with the specified script content and adds a call to it from the current action.
Public Method GetScriptReturns the complete contents of the action script as a string.
Public Method SetScriptUses the specified string as the new script for the action.
Public Method ValidateScriptValidates the script syntax.
Public Properties
Public Property ActionParameterDefinitionsReturns the ActionParameterDefinitions collection defined for the action.
Public Property DescriptionThe textual description of the action.
Public Property LocationThe location where the action is stored.
Public Property NameThe name of the action.
Public Property ObjectRepositoriesReturns an ObjectRepositories collection representing all object repository files associated with the action.
Public Property TypeThe action type: external, reusable, or non-reusable. Note that 'external' is not valid when setting the property value.
See Also