![]() |
![]() |
![]() |
![]() |
![]() |
Selecting Browser Items
The Selector is a tool that you may use when you want to make selections of Browser items. Before you apply the Selector, the Browser must already contain a selection.Then you can specify, with the Selector, if you want to increase, decrease or replace the existing selection.
Based on the selections in the Browser, you can make sub Browsers. A sub Browser works as the normal TTCN Browser, but it does not contain the entire test suite - only selected parts.
What You Will Learn
Selection 1
Suppose that you wish to select all the tables in the test suite that reference the PDU called SEND:
- Deselect the entire test suite.
- Select the single PDU called SEND.
- Select Selector from the Browser Tools menu.
- Select the Extend option in Select Mode.
- Choose the Referenced by option in the Relations box.
- Click the Select button.
Selection 2
As another example, suppose that you wish to find all behaviour tables that have the character 1 included in their identifier and have a PASS verdict in the table:
- Select the entire test suite.
- Select Selector from the Browser Tools menu.
- Type 1 in the Name restriction field.
- Select Test Case Dynamic Behaviour, Test Step Dynamic Behaviour and Default Dynamic Behaviour in the Type Restriction box.
- Type PASS in the Content restriction field.
- Select Restrict in the Select mode box.
- Click the Select button.
Selection 3
Compare the result of the selection above with the following:
- Select the entire test suite.
- Apply the Selector with almost the same options as described above.
- Click the Selector button.
Creating a Sub Browser
It might be suitable at this point to create a sub Browser of the selection that you have just created (i.e. just the items TEST_CASE_1 and TEST_STEP_1):
http://www.ibm.com/rational |
![]() |
![]() |
![]() |
![]() |