Subscribing to projects
How to have your project subscribe to another.
Ensure that your TestArchitect Client is running and connected to repositories containing the projects you want to subscribe to.
To subscribe to one or more projects from a given project:
In the TestArchitect explorer tree panel, right-click the project node you wish to provide a supplier for, then click Subscribe to.
In the example above, there are three available projects amongst the repositories to which we are currently connected and logged in :
- Car Rental Reservation, of the NewRepository repository, which is the project being set up as a subscriber.
- Customer Handling, also in the NewRepository repository.
- Global Definitions, in the Infrastructure repository.
In the Subscription dialog box, select the projects to be subscribed to from the list of Available supplier(s).
Click > to add selected suppliers to the Selected supplier(s) list.
ヒント:- Click >> to add all available suppliers.
- Click < to remove selected suppliers from the Selected supplier(s) list, or click « to remove all suppliers from the Selected supplier(s) list.
覚えておく:The order in which the suppliers appear in the list of selected suppliers determines the order in which TestArchitect searches for a specified project item definition. If the definition is not found within the subscriber, TestArchitect performs a recursive search from top to bottom through the suppliers list. (Recursive because suppliers may have other suppliers, thus forming a logical tree structure; see subscription rules for details) . You may modify the order by selecting a project in the Selected supplier(s) list and clicking theup
ordown
button above the list box. (Note that the top-to-bottom order of suppliers in the Selected supplier(s) list corresponds to their left-to-right order in the DFS search diagrams of subscription rules.)制限: :Circularly linked subscriptions are not allowed. (For example, project A subscribing to project B, project B to C, and C back to A.) TestArchitect displays an error message when an illegal subscription is attempted.
After subscribing to supplier projects, a project may begin utilizing the supplier’s actions, interface definitions, data sets, and picture checks. Within the editor, these subscribed items will appear in Content Assist pop-ups as highlighted red items, so that they may be easily distinguished from native (non-subscribed) items, which are not highlighted.