![]() |
![]() |
![]() |
![]() |
![]() |
Finding Tables
The Find Table tool searches for and displays named tables. The name searched for is given by the currently marked piece of text in any TTCN Suite window. This tool is very useful when debugging a TTCN document from an Analyzer log.
Finding Tables by Name
The Find Table tool is available from the Tools menu in the TTCN sub menu in the Organizer, from the Tools menu in a Browser and from the Tools menu in a Table Editor. Unlike most other tools it does not require a selection: it applies to the context given by where the tool is started (i.e. a TTCN table or a TTCN document), and its action is the same whether it is invoked from the Organizer, from a Browser or from a Table Editor.
Tools > Find Table
A typical use of this tool would be to debug a TTCN document when analyzing. Erroneous tables identified in the Analyzer log window can be easily found by marking the names of these tables in the log window and applying the Find Table tool.
The Find Table tool is able to find named objects with the name specified as <document name>::<object name> (e.g. Test_Suite_A::SEND), where <document name> is the name of a document in the TTCN system and <object name> is the name of an object available in the context of that document. This may also be specified as <document name>__<object name> (i.e. with underscores instead of colons).
The Find Table tool will in fact use marked text as the look-up string from any X Window, not just TTCN Suite windows.
Marking the PDU name CON_req in, say, the behaviour line L! CON_req (X:=1) of a test step, and then choosing the Find Table tool will cause the PDU definition of CON_req to be displayed (assuming it exists).
On the other hand, marking the test case variable X in the same line would cause the Test Case Variables table, in which X is declared, to be displayed.
http://www.ibm.com/rational |
![]() |
![]() |
![]() |
![]() |