Develop > Presentation layer > Management Center test automation framework
wcfAutoRunCustomServiceAction
The wcfAutoRunCustomServiceAction action invokes a custom service on the specified business object.
Parameters
This action accepts the following parameters:
- object
- The name of the business object. This name must match the objectKey parameter of a previous action that attempted to locate the business object.
- url
- Required: The URL of the custom service (wcfCustomService) defined in the object definition for the business object.
- abortOnError
- Specifies whether to continue the automated testing when the wcfAutoRunCustomServiceAction action cannot be performed. By default, this parameter is set to true to stop automated testing when this action cannot be performed.
Example
The following code snippet shows an example of these parameters used in the wcfAutoRunCustomServiceAction action:
<!-- Activate the Web Activity --> <action name="wcfAutoRunCustomServiceAction"> <param name="object" value="webActivity"/> <param name="url" value="/cmc/ActivateActivity"/> <param name="abortOnError" value="false"/> </action>
Related reference