background image
<< Creating a Group | Importing Files from a Makefile >>
<< Creating a Group | Importing Files from a Makefile >>

Creating an External Command Node

Test RealTime - User Guide
The preferred method to create an application or test node is to use the Activity
Wizard, which guides you through the entire creation process.
However, if you are re-using existing components, you might want to create an
empty application node and manually add its components to the workspace.
The GUI allows you to freely create and modify test or application nodes. However,
you must follow the logical rules regarding the order of execution of the items
contained in the node. When using Component Testing for C++, .otc scripts must be
placed before .otd scripts.
To manually add components to the application node.
1.
In the Project Explorer, right-click a Project node or a Group node.
2.
From the pop-up menu, select Add Child and Files.
3.
In the File Selector, select the files that you want to add to the application node.
4. Click
Ok.
Note Before running an application node created with this method, please
ensure that all necessary files are present in the application node and that all
Configuration Settings have been correctly set.
Creating an External Command Node
External Command nodes are custom nodes that allow you to add a user-defined
command line at any point in the project tree.
This is particularly useful when you need to run a custom command line during test
execution.
To add an external command to a workspace:
1. In
the
Project Explorer, right-click the node inside which you want to create the
test, application or external command node
2.
From the pop-up menu, select Add Child and External Command.
3.
To move the node up or down in the workspace, right-click the external
command node and select Move Up or Move Down .
To specify a command line for the external node:
Once the External Command node has been created, you can specify the command
line that it will be carrying in the Configuration Settings dialog box:
1. In
the
Project Explorer, click the Settings
button.
2. Click
the
External Command node.
292