[Previous] [Next] [Contents] [Index]


    Editing TTCN Documents (in Windows)

In ITEX, TTCN test components can be edited on table level as well as restructured on a hierarchical level. This chapter describes the editors and information managers in ITEX in Windows and how to use them.

For an overview of ITEX, see Introduction to ITEX in Windows.

Note:  Windows version

This chapter is Windows only. The corresponding UNIX chapters are The ITEX Browser (on UNIX) and The ITEX Table Editor (on UNIX).

Table of Contents 

Introduction to ITEX

ITEX can be used for development, specification and compilation of test system components in the TTCN language. The functionality included will be described below.

ITEX supports all of the standardized, non-compact tables that are defined in ISO/IEC 9646-3. The compact test case dynamic behaviour table (ISO/IEC 9646-3, clause C.3) and concurrent TTCN tables are also supported. The compact tables for constraints (also in Annex C of ISO/IEC 9646-3) are not supported.

The general user interface concepts and common menu choices in Telelogic Tau are described in User Interface and Basic Operations.

Different Views of the TTCN Document

The contents of a TTCN test suite can be viewed in the Browser, the Finder and the Table Editor:

The Log Manager gives another view of the test suite. It presents log outputs from the currently loaded test system components. Information from various operations, such as analysis and simulation, will appear in the test component log in the Log Manager. See Viewing Log Information.

Functionality to Apply on the TTCN Document

Building Test Components and Tables

Analyzing, Verifying and Executing a Test

Starting ITEX

You can start ITEX from the Organizer in the following ways:

Figure 226 : ITEX is started and the Browser displays a modular test suite

Extracted pic [1]

Using the Browser

When you open a TTCN document it will be displayed in the Browser. As the structure of TTCN is tree oriented, the Browser presents an overview of the test system component in tree form.

Multiple Browser views can be opened on a document and all editing performed in a Browser will be simultaneously reflected in the other opened Browser windows.

In addition to this, you may create sub Browsers. This means that you restrict the view to only display a few nodes. In combination with the possibility to have multiple Browsers open on the same test document, this enables you to keep just the interesting bits of information in a couple of small Browser windows.

By using the edit operations, such as Add In and Delete, you can manipulate the Browser structure to build a complete TTCN system component. You can control the amount of information actually displayed in a Browser, by collapsing and expanding sub trees.

Opening the Browser and a TTCN Document

You open the Browser and a TTCN document by selecting New or Open from the File menu. From the File menu, you can also select the four most recently used files.

To open additional Browsers for the same component:

The Browser is also opened automatically when ITEX is started from the Organizer, as described in Starting ITEX.

The Browser User Interface

The initial structure of a TTCN tree contains place holders for the static parts of the system component. These static nodes are automatically created by ITEX whenever you create a new test system component. What you usually do when you build a test system component is to add dynamic child nodes to the static nodes, and fill them with test specification data. Examples of static nodes are the Declarations Part and the Constraints Part. Examples of dynamic nodes include tables, groups or objects in a table (e.g. test case variables).

The Browser displays all the static nodes in the order defined in the TTCN standard. This ordering cannot be changed. For example, it is not possible to have the Constraints Part coming before the Declarations Part. Only the dynamic items -- the tables -- may be added and deleted.

Static nodes are the only nodes that can become the root of a sub Browser.

Static Nodes in the Browser

Static nodes can take on four different appearances depending on the parse status of dynamic nodes below. Whenever you analyze a sub-tree, or parts of it, or edit it in a way such that the parse status of one or more dynamic nodes is altered, an abnormal parse status is indicated by the appearance of the static parent nodes.


Extracted pic [14]

This is an ordinary static node. All children to this node have been analyzed with status OK.


Extracted pic [15]

This is a static node where at least one of the dynamic nodes in the sub tree below has not yet been analyzed or is in need of analysis. There are no erroneous dynamic nodes.


Extracted pic [16]

This is a static node where at least one of the dynamic nodes in the sub tree below has been analyzed with an error or warning as result. In the actual view, the arrow is red for errors and purple for warnings.

To find a table that has to be corrected, you follow the marked nodes through the tree. Note that erroneous nodes have precedence over non-parsed ones, so even a single erroneous child to a static node will make it red no matter how many non-analyzed nodes there are in the sub-tree.

It may be that some of the static nodes will remain unused. A TTCN test system component is allowed to leave out the use of for example Test Case Variables. However, although this empty node will be displayed in the Browser, it will not be printed or output in the TTCN-MP format.

Dynamic Nodes in the Browser

A dynamic node is always associated with a table and can be accessed by the Table Editor. Two kinds of dynamic nodes can have children, namely multiple tables and group tables. Multiple tables look just like ordinary table icons, with the added feature of possible children, whereas group tables (referred to as group nodes in the Browser) have a different look to distinguish them somewhat from the others.


Extracted pic [17]

This is a group node with all dynamic nodes in its sub tree analyzed with status OK.


Extracted pic [18]

This is a group node with a sub-tree containing at least one non-analyzed dynamic node, but no erroneous ones.


Extracted pic [19]

This is a group node with a sub-tree containing at least one dynamic node analyzed with an erroneous status or a warning. In the actual view, the color is red for errors and purple for warnings.


Extracted pic [20]

This is a dynamic node (or multi-table) that is analyzed with status OK.


Extracted pic [21]

This is a dynamic node that needs to be analyzed.


Extracted pic [22]

This is a dynamic node that has been analyzed and contains one error. In the actual view, the cross is red for errors and purple for warnings.

Figure 227 : Different node types in a Browser

Extracted pic [23]

Controlling the Nodes in the Browser

As the Browser displays the information in a TTCN document in a tree oriented way, it is very simple to control the amount of information that the you want to see at a specific moment.

Expanding and Collapsing a Node

Nodes with sub-trees are possible to expand and collapse to show or hide the branch below it. This works in the same way that you expand and collapse directory levels in the Windows Explorer by double-clicking.1

Selecting Nodes

Click a node to select it. <Ctrl>-click a node to extend the current selection.

Instead of using the mouse for navigation, you can use the following shortcuts:

Renaming Dynamic Nodes

To rename a dynamic node:

Creating a Sub Browser


Extracted pic [6]

To create a sub Browser:

  • Select Make Sub Browser from the View menu. This replaces the contents of the active Browser with the selected node and its sub tree.

To get a Browser with the full TTCN document tree, select New Window from the Window menu.

Editing the Browser Structure

The static structure is automatically generated when a TTCN document is first created and cannot be edited. To build an individual TTCN system component, you need to add named tables -- such as PDUs, constraints and behavior tables -- and named objects to the multi-object tables -- such as test case variables, PCOs and timers.

Use the Edit menu choices for adding, deleting, copying, pasting, etc, editable nodes -- also called dynamic nodes -- (that is, groups, tables or objects in a multiple object table) in the Browser.

Generating the Test Suite Overview

The test suite overview is a collection of tables that contain test suite structure, test case index and default index. These are used for reference in a printed copy of the system component, as described in the TTCN standard. The overview will be generated the first time you print the test suite, export it or open the overview tables. The generation may take a little while, but it is only needed once for each session, as the tables are automatically updated when you edit the test suite.

Adding Nodes


Extracted pic [5]

To add a new dynamic node as the last child of the selected node:

  • Select Add In from the Edit menu.
    • The shortcut is <Ctrl+Shift+A>.

To add a new dynamic node before the selected node:

Adding Groups

It is possible to add a new test case group, a new test step group or a new default group in the Dynamic Part.


Extracted pic [31]

To add a new group as the last child to the selected node:

  • Select Add Group In from the Edit menu.

To add a new group before the selected node:

To add a table to a group, select the group and Add In.

Adding Compact Tables

It is possible to specify that all the test cases in a given group are displayed in the compact format (see Annex C, clause C.3 of ISO/IEC 9646-3). The following commands allow the insertion of compact groups in the test suite hierarchy:

To add a compact group before the selected node:

To add a compact group as the last child of the selected node:

Cutting, Copying and Pasting Nodes

You may cut or copy dynamic nodes. Dynamic nodes may also be pasted according to compatible classes, for example:

However, it is not possible to paste a constraint, for example, as a test case behaviour.

Paste is not available if the clipboard contains an object of an incompatible type to the selected object.


Extracted pic [3]

To cut the selected node and its sub tree:

  • Select Edit > Cut.
    • The shortcut is <Ctrl+X>.


Extracted pic [4]

To copy the selected node and its sub tree:

  • Select Edit > Copy.
    • The shortcut is <Ctrl+C>.


Extracted pic [10]

To paste a node before the selected node:

  • Select Edit > Paste.


Extracted pic [9]

To paste a node as the last child to the selected node:

  • Select Edit > Paste In.
    • The shortcut is <Ctrl+V>.

Creating Constraints

The most convenient way of creating a constraint is to copy the corresponding type and paste it as a constraint. Do this by copying the chosen type (ASP, PDU, CM or structured type), and then pasting it among the corresponding constraints. This works for both tabular constraints and for ASN.1 constraints.

The pasted table will have all its local names filled in. All that remains is to give the constraint a name and fill in the values.

Deleting Nodes

Dynamic nodes may be removed from the test document.


Extracted pic [11]

To delete the selected node and its sub tree:

  • Select Delete from the Edit menu.

Undoing/Redoing Operations

All editing commands can be undone, and undone actions can be redone.


Extracted pic [12]
  • To revert the last edit step, select Undo from the Edit menu.
    • The shortcut is <Ctrl+Z>.


Extracted pic [13]
  • To revert the last Undo, select Redo from the Edit menu.
    • The shortcut is <Ctrl+Y>.

Opening a Table

To open a table, either:

It is possible to open several tables at the same time, but if it is more than ten, you will be asked to confirm it.

Printing a TTCN Document



Extracted pic [7]

To print a TTCN document:

  • Select Print from the File menu.
    • The shortcut is <Ctrl+P>.

For more information, see The Print Dialogs in ITEX.

Editing Tables

The Table Editor is used for editing various TTCN tables. It displays the tables in three different parts: the header, the body and the footer. Each part, as well as many fields, can be resized.

You can edit tables by using the mouse and/or the keyboard. Rows in a table can easily be added, copied (both within a table and between other tables) and removed. The Table Editor shows the analysis status of the table contents, by use of colored text, and provides for immediate visual feedback during test simulation.

Figure 228 : A Table Editor for a test case

Extracted pic [8]

Resizing Cells and Table Parts

The three parts of a table -- header, body and footer -- are separated by horizontal bars, which you can drag to change the relative size and to hide parts of the table from view.

You can change the individual height of rows by dragging the leftmost row separator. In the body part, you may also change the individual width of columns by dragging the separators of the header fields.

Note that changing the column width may have effect on the row height, as the row will change to display all information it contains.

Renaming a Table

To change the name of a table, you can either rename its node in the Browser or edit the table name in the table itself.

Setting the Input Focus

To set the input focus in another part of a table, either:

To set the input focus within a part, either point and click or use the arrow keys. There are also some shortcuts:

To Move to: Use This Key Combination

Next field in same row

<Tab>

Previous field in same row

<Shift+Tab>

Last field in same column

<Ctrl+Down arrow>

First field in same column

<Ctrl+Up arrow>

First field

<Ctrl+Home>

Last field

<Ctrl+End>

Editing Text in a Table

When you have used the keyboard to move the input focus to a field, the contents of the field will be replaced with the new text when you start typing. To edit the existing text, you have to press <Home> or <End> first.

If you use the mouse to explicitly set the input focus in a field, you can start editing the existing text directly with the keyboard.

The table fields will expand automatically to accommodate the text. You can also add a line break in the text by using <Return>.

To cut, copy and paste text in the fields, you use the corresponding commands in the popup menu, the Edit menu or the standard Windows shortcuts. However, note that it is only possible to paste text into a table field when the field contains a text pointer.

Note: 

The paste buffer for text is not the same as the one used for entire rows in the body of a table.

Editing Rows in the Body of a Table

You can add, delete, cut and copy rows in the body of all TTCN tables that contain more than one column. This is not possible in the headers and footers, since the formats of these parts of a table are defined by the TTCN standard.

The ASN.1 tables only have a single column with a single row and therefore adding, deleting, cutting and copying rows is not applicable. However, the contents of ASN.1 tables can still be copied, pasted, etc, as text.

Selecting and Deselecting Rows

Note: 

Setting the input focus will also deselect all selected rows.

Cutting, Copying and Pasting Rows

Rows in the body of a table may be cut, copied and pasted. Copy and Paste work across all the different tables although the Paste command is mainly intended for use among tables of the same or similar types.


Extracted pic [24]

To cut selected row or rows from the table:

  • Select Edit > Cut.
    • The shortcut is <Ctrl+X>.


Extracted pic [25]

To copy selected row or rows:

  • Select Edit > Copy.
    • The shortcut is <Ctrl+C>.


Extracted pic [39]

To paste a row or rows:

  • Select Edit > Paste.
    • The shortcut is <Ctrl+V>.

To paste a row or rows before the current row:

It is possible to paste a row when a body row or field is selected.

Note: 

The paste buffer for entire rows in the body of a table, is not the same as the one used for text.

Deleting rows

To delete the selected row or rows, select Delete from the Edit menu.

Inserting Rows


Extracted pic [27]

To insert a new row before a selected row:

  • Select Insert New Row Before from the Edit menu.

  • Only one row may be selected. If no row is selected, the new row will be created first in the table.
    • The shortcut is <Ctrl+Ins>.


Extracted pic [30]

To insert a new row after a selected row:

  • Select Insert New Row After from the Edit menu.

  • Only one row may be selected. If no row is selected, the new row will be created last in the table.
    • The shortcut is <Ins>.

To insert a new tree header row before a selected row:

To insert a new tree header row after a selected row:

You may also use <Ins> to insert rows. Where the row will be inserted depends on the input focus:

Indenting Behaviour Lines

The indention of behaviour lines can be increased and decreased:


Extracted pic [32]

To increase the indentation of a row in focus, or selected rows, by one position:

  • Select Increase Indention Level from the Edit menu.


Extracted pic [33]

To decrease the indentation of row in focus, or the selected rows, by one position:

  • Select Decrease Indention Level from the Edit menu.

Browsing in the Table Editor

If you right-click a table field containing an identifier, you may open the table representing the identifier from the pop-up menu:

The Table Editor maintains a history of tables displayed with Open <Identifier> described above. This is similar to going back and forward in a web browser:


Extracted pic [26]

To go forward in the history of the Table Editor:

  • Select Go Forward from the popup menu or the View menu.


Extracted pic [29]

To go back in the history of the Table Editor:

  • Select Go Back from the popup menu or the View menu.

Creating Behaviour Lines

The Data Dictionary gives you an alternative way of writing behaviour lines, by providing easy access to lists of PCOs, types, constraints, timers, etc, that you have already defined

Before you can use the Data Dictionary, the TTCN document has to be analyzed, because PCOs, types and constraints with major reference problems or missing type references will not be presented in the lists in the dialog.

Opening the Data Dictionary

To open the Data Dictionary:

  1. Select a body row in a behaviour table.
  2. Select Data Dictionary from the View menu.

It is only possible to have one Data Dictionary dialog opened.

The Data Dictionary dialog contains:

Generating a Send or Receive Statement

Generate a send or receive statement by selecting a PCO, a type and a constraint. You can also add a timer, assignment and qualifier.

Figure 229  : The Send/Receive tab in the Data Dictionary dialog

Extracted pic [28]

To add a send or receive statement:

  1. Select the Send/Receive tab.
  2. Select a PCO.

  3. The Type and Constraints list will be updated and only show the entries that are valid for the currently selected PCO.
  4. Select the ! radio button for a send statement or the ? radio button for a receive statement.
  5. Select an ASP or a PDU in the Types list.

  6. The PCO and Constraints lists will be updated accordingly.
  7. Select a constraint.

  8. The Type and Constraints list will be updated.
  9. Optionally you can add a timer statement by selecting the Start or Cancel radio button.

  10. To insert a start statement, you also have to select a timer.

    It is not possible to select timeout or to specify a timeout value here. You have to do that in the Timer tab of the dialog.
  11. Optionally, add assignments separated by commas and without parenthesis.
  12. Optionally, add qualifier statements, without brackets.
  13. Optionally, add a verdict.
  14. Click Apply

  15. A new row -- containing the contents of the Behaviour Line, Constraint and Verdict fields in the dialog -- will be added after the currently selected row and the new row will be selected.

Adding a Timer Statement

In the Timer tab, you may generate a StartTimer, CancelTimer or a Timeout statement. As described above, you can also add timer statements from the Send/Receive tab. The difference is that from this tab you can also add Timeout value to the timer and you can add a timeout statement.

Figure 230 : The Timer tab in the Data Dictionary dialog

Extracted pic [34]

To add a timer statement:

  1. Select the Timer tab in the dialog.
  2. Select a timer.
  3. Select the Start, Cancel or Timeout radio button.
  4. If you selected Start or Timeout, you also have to specify a timer duration in the Timeout field.
  5. Click Apply.

  6. A new row -- containing the contents of the Behaviour Line, Constraint and Verdict fields in the dialog -- will be added after the currently selected row and the new row will be selected.

Adding an Attachment Statement

Generate an Attachment statement by selecting a test step and specifying an actual parameter list (if the test step has a formal parameter list).

Figure 231 : The Attachment tab in the Data Dictionary dialog

Extracted pic [40]

To add an attachment statement:

  1. Select the Attachment tab.
  2. Select an attachment.
  3. If the selected test step has a formal parameter list, specify the parameter values in the Attachment Parameters area.

Viewing Log Information

The Log Manager is a collection of log outputs, where each test system component can report information. The Log Manager contains one log per test component, and one common pane that is used for general information.

Examples of actions that can result in log information:

The Log Manager can be configured to behave in various ways. The default setting is for the Log Manager to be hidden, but appear whenever log output is present. Only one instance of the Log Manager is available.

The contents of each log can be saved as a text file.

You can open tables by clicking and then <Ctrl>-right-clicking the name of the table in the log.

Figure 232 : The Log Manager window

Extracted pic [36]

Automatic Appearance

The Log Manager can be made to automatically become visible whenever new information is available in a log. This can be handy to reduce the amount of windows open at a given time as the Log Manager can be closed when it is not needed.

To allow the Log Manager to automatically open whenever new information is available:

Changing the Appearance of the Log

The log font can be made smaller or larger, allowing more information to be viewed or increased readability.

To make the log text larger:

To make the log text smaller:

Exporting Information from the Log

The information contained in a log can be copied to the clipboard, or saved to disk as an ordinary text file. In addition to normal text-selection, all text can also be selected with one operation.

To select all text:

To copy the selection to the clipboard:

To save all text in a log to a file:

Clearing the Log

To clear the displayed log:

Finding and Sorting Tables

As an alternative to the Browser, you can use the Finder for displaying TTCN tables in a list, without the ordering restrictions imposed by the TTCN tree structure.

You can search for and display tables in the Finder. The search may for example be based on name, type and content. You can either use the entire TTCN document (the Browser contents) or the Finder list as search source, and extend or restrict the number of tables displayed in any number of steps.

Another way of searching is relationally. This means that you search for tables that reference or are referenced by tables selected in the Finder. The relational search cannot be combined with the ordinary.

The tables that will be displayed after a search, can be sorted by a number of criteria:

Reversed sorting is also possible.

In addition, it is possible to for example open, analyze, rename and delete tables from the Finder, but not cut, copy, paste and insert since that require a tree context.

Opening the Finder


Extracted pic [2]

To open the Finder:

  • Select Open Finder from the View menu.
    • The shortcut is <Ctrl+F>

Figure 233 : The Finder

Extracted pic [35]

The Finder consists of three areas:

About Search Criteria

Search criteria are used for restricting a search. This means that if you do not specify any search criteria -- all fields are empty and no buttons are clicked -- before you click the Find button, all dynamic TTCN tables of the test system component will be displayed.

Consequently, if you specify one or more search criteria, TTCN tables that match at least one of the criteria, will be displayed in the Finder. Additionally, this means that specifying all possible search criteria has the same effect as specifying none. This is merely as a convenience for quickly adding all tables of the test system component, as the closed search criteria is not meaningful.

Note: 

The search criteria are used for an OR-style search.

Finding Tables

Figure 234 : The Find tab in the Finder

Extracted pic [37]

To search for tables:

  1. Select the Find tab.
  2. Select Document in the Search in area to search for tables in the entire TTCN document.
  3. Select one or several table types in the Of type list.

  4. This list contains all existing TTCN and ASN.1 table types supported.
  5. Click a Search mode radio button.

  6. This selection affects the text you type in the Name and Contains fields. If you are not going to use those fields in the search, the search mode does not affect the search at all.
  7. Optionally, type some text in the Name field.

  8. The tables with names that match will be found.
  9. Optionally, type some text in the Contains field.

  10. The tables with contents that match will be found.
  11. Optionally, click one or several Status buttons to sort out tables of a different parse status.

  12. For example, if you select the error button, only tables with erroneous parse status will be found.
  13. Click Find.

  14. Tables that match at least one of the search criteria you have specified will be displayed in the Results List.

Finding Tables Relationally

Figure 235 : The Relational Find tab in the Finder

Extracted pic [38]

You can search for tables that are referenced by and that reference tables that are displayed and selected in the Results list. To do this:

  1. Select the Relational Find tab.
  2. Select one or several tables in the Results List.
  3. Select one of the following radio buttons:
  4. Click Find.

  5. The Results List will be updated in accordance with your settings.

Editing and Sorting the Results List

The Results List contains a subset of all dynamic TTCN tables in the TTCN document. You can perform most standard operation on the tables. However, it is not possible to cut, copy, paste or insert tables, since this requires the structural context of the Browser.

Caution! 

Even if the elements of the Results List are presented without structural ordering, they still follow the TTCN hierarchy. This means that if you delete a group node, the group and its entire sub tree will be removed.

Sorting the Results List

The contents of the Results List can be sorted if you click on the header of the information column. The available information is:

Click a second time on the header to sort the list in reverse order.

Clearing the Results List

Click Clear to clear the contents of the Results List.

Exporting and Importing TTCN-MP

TTCN-GR -- the graphical notation -- is the format used when you edit or print a test suite in ITEX. TTCN-MP -- the textual notation (machine processable) -- can be used when you want to import a TTCN document into a non-ITEX tool or make backups.

To export a TTCN document to TTCN-MP:

To import a TTCN-MP document:

For a full supported EBNF, see The TTCN-MP Syntax Productions in BNF.

The Standard MP Format

When you convert to MP, the TTCN document does not have to be analyzed or correct. TTCN-MP will be generated even for documents that are neither complete nor error-free. This implies that the generated MP file may be, but is not necessarily, conformant to the standardized TTCN-MP format

However, to ensure that the TTCN-MP document can be read by a non-ITEX tool, you should analyze the document and correct any errors.

The ITEX MP Format

An optional but non-standard TTCN-MP for compact tables and ASN.1 references is supported. Additional fields in dynamic tables (fields which are transferred to test suite overview tables) are also supported. You are recommended to use this format for transferring TTCN document between ITEX instances and for making backups of the TTCN documents. Otherwise it works just as the standard MP format.

MP File Format Problem when Importing

When you import certain TTCN-MP documents, a problem with transferring the information (e.g. description) in the overview tables to the tables in Dynamic Part, may occur.

The TTCN standard allow path specifications to optionally include the document name first. This has the unfortunate effect that if the TTCN document contains a top level group with the same name as the TTCN document, there is, in general, no way of knowing if the first part of the paths is a group identifier or the TTCN document identifier.

ITEX assumes that if the first part of the path is equal to the document name, it is the optional document name and, when converting, strips it away. When the document is exported, the document name is always added to the front of all paths. That way ITEX is always able to open the MP files it exports.

If the TTCN document contains top level group identifiers equal to the document name, and ITEX is unable to resolve the paths, temporarily change the document name in the MP file and change it back once inside ITEX.

Note that ITEX 2.0 did not add the document name at export, and therefore the problem described may apply when open MP files exported by ITEX 2.0.

Importing Fields Containing the `$' Character

The contents of table fields in a TTCN-MP file are usually ignored. However, to make it possible to open non-bounded free text fields (for example TS_VarValue field) with embedded dollar characters (`$'), those fields will be syntax checked. This means that it is not possible to convert TTCN documents containing unmatched single or double quotes in non-bounded freetext fields, that is, when you open a TTCN-MP file, syntax errors in those fields will not be tolerated.

Revision Control

There is no integrated revision control system in ITEX. Since normal visible files are used to store the TTCN documents, it is easy to integrate ITEX in a revision control system. However, since the.itex file format is binary, it is better to use the TTCN-MP format.

Exporting to HTML

It is possible to export a TTCN document, or only a part of it, to HTML. The result will be one HTML-file containing what you selected to export, and -- when applicable -- hypertext links as well as information about the structure of the test suite will also be generated.

To export a TTCN document to HTML:

  1. Select the top node in the Browser.
  2. Select Export from the File menu.

  3. A dialog will be opened where you can save the document as HTML.

It is also possible to export a currently opened table to HTML. To do this:

Shortcuts

Common Shortcuts

Shortcut Action

Ctrl+N

Creates a new test suite.

Ctrl+O

Opens an existing test suite.

Ctrl+S

Saves the test suite to file.

Ctrl+P

Prints the test suite.

Ctrl+Z

Undoes latest editing action(s).

Ctrl+Y

Redoes latest undone editing action(s).

Ctrl+L

Shows/Hides Log Manager.

Ctrl+F

Opens a new Finder.

F7

Analyzes the selected node and its sub-tree.

F8

Generates code for the current test suite.

Alt+F8

Displays an options dialog to allow the user to set options for tools working on the Browser.

F5

Runs/continues current simulation.

Pause

Pauses current simulation.

Ctrl+Break

Aborts current simulation.

F11

Steps current simulation.

Browser Shortcuts

Shortcut Action

<Up arrow>

Sets the focus to the above node in the Browser.

<Down arrow>

Sets the focus to the below node in the Browser.

<Right arrow>

If the selected node is collapsed and has children, it will be expanded. If the selected node is expanded and has children the selection will move to the first child.

<Left arrow>

If the selected node is the root of an expanded sub-tree, the sub-tree will be collapsed. If the selected node is the root of a collapsed sub-tree the selection will move to the parent of the current node (if any).

<Ctrl+X>

Cuts the selected non-static node in the Browser.

<Ctrl+C>

Copies the selected non-static node in the Browser.

<Ctrl+V>

Pastes the contents of the cut/copy buffer after the selected node.

<Ctrl+Shift+V>

Pastes the contents of the cut/copy buffer as a child to the selected node.

<Delete>

Deletes selected node(s).

<Enter>

Opens a Table Editor for each selected node.

<Ctrl+A>

Adds a new table after the selected node.

<Ctrl+Shift+A>

Adds a new table as a child to the selected node.

Click

Sets selection on a node in the Browser.

Right-click

If the mouse pointer is above a node, sets selection on that node and display node specific pop-up menu. If no node is selected, displays background pop-up menu.

Double-click

If the selected node is a static node, the sub-tree will either be collapsed or expanded. If the selected node is a collapsed group, its sub-tree will be expanded. Otherwise the associated group table is opened. Finally, if the node is a non-static table a Table Editor for that node will be opened.

<Shift>-click

Selects/deselects all nodes between this selected node and the previously selected nodes.

<Ctrl>-click

Selects/deselects a node without affecting already selected nodes.

Table Editor Shortcuts

Shortcut Action

<Tab>

Moves to the next editable field.

<Shift+Tab>

Moves to the previous editable field.

<Ctrl+Up arrow>

Moves to the previous line.

<Ctrl+Left arrow>

Moves to the next editable field.

<Ctrl+Down arrow>

Moves to the next line.

<Ctrl+Right arrow>

Moves to the previous editable field.

<Ctrl+Space>

Toggles selection of current row in a table body.

<Alt+Left arrow>

Moves forward in history.

<Alt+Right arrow>

Move back in history.

<Page Up>/<Page Down>

Scroll stable one page.

<F7>

Analyzes the current table.

<Ctrl+X>

Cuts selected rows.

<Ctrl+V>

Pastes rows after the selected row, or last if no selection exist.

<Ctrl+C>

Copies selected rows.

<F9>

Toggles breakpoint on selected row(s)

Right-click

Context sensitive popup.

<Ctrl>-right-click

Displays the definition of the currently selected identifier.

Click

Sets text selection and clear row selection.

<Ctrl>-click

Toggles row selection.

Log Manager Shortcuts

Shortcut Action

<Ctrl+Alt+L>

Increases font size.

<Ctrl+Shift+L>

Decreases font size.

Finder Shortcuts

Shortcut Action

<Up arrow>

Sets the focus to the above node in the Results List.

<Down arrow>

Sets the focus to the below node in the Results List.

<Ctrl+C>

Copies the selected non-static node in the Results List.

<Delete>

Deletes selected node(s).

<Enter>

Opens a Table Editor for each selected node.

Click

Sets selection on a node in the Results List.

Right-click

If the mouse pointer is above a node, sets selection on that node and display node specific pop-up menu. If no node is selected, displays background pop-up menu.

Double-click

Opens a Table Editor for the selected node.

<Shift>-click

Selects/deselects all nodes between this selected node and the previously selected nodes.

<Ctrl>-click

Selects/deselects a node without affecting already selected nodes.


1. Note that test group nodes differ. Double-clicking a group node that is expanded always opens its associated table instead of collapsing it. Click on the minus sign to the left of the group icon instead.


[Previous] [Next] [Contents] [Index]