AutoRunTestCaseAction

The AutoRunTestCaseAction action downloads a test case XML file from the specified URL and inserts the actions from the file to the start of the list of pending actions.

Parameters

This action accepts the following parameters:
url
Required: The URL of the test case XML file. This URL must begin with the forward slash (/) character. The path that is specified by the url parameter identifies a test case XML file with a location that is relative to the workspace_dir\LOBTools\WebContent directory. For example, if the value of the url parameter is /testdata/commerce/catalog/restricted/test.xml, the test case XML file location must be workspace_dir\LOBTools\WebContent\testdata\commerce\restricted\test.xml.

Do not modify or add test case files to restricted directories. Add new test case XML files to directories that are not restricted within workspace_dir\LOBTools\WebContent\testdata.

requiredValueKey
The name of the value that the AutoSetValueAction action must set before the action can run. If the value is an empty string or the value is not set, the action cannot run.

Example

The following code snippet shows an example of these parameters when used in the AutoRunTestCaseAction action:

<!-- Run Asset testcase -->		
<action name="cmc/automation/AutoRunTestCaseAction">
  <param name="url" value="/testdata/commerce/attachment/restricted/Attachment.xml"/>
  <param name="requiredValueKey" value="storeIdentifier"/>
</action>