![]() |
![]() |
![]() |
![]() |
![]() |
Using TTCN Suite Services
This section is meant to exemplify the usage of a few TTCN Suite services. The examples are made using the Service Encapsulator described in a previous section. For the complete list of supported services, see TTCN Suite Services.
Opened Documents
This command retrieves a list of information about the opened TTCN documents.
serverpc itex openeddocumentsThis will yield a list of open TTCN documents (not necessarily shown) that looks like this (see complete list for description of the list format):
Reply status is OKDoc1:1:/path/doc1.itex:/path/#doc1.itex Doc2:2:/path/doc2.itex:/path/#doc2.itexIf the TTCN environment is not yet started the message will be:
Error sending to postmaster: server not connected to postmasterFind Table
To use this command the TTCN document in which the table is located must be open.
To invoke the service the following Service Encapsulator command is made:
serverpc itex findtable 1 \"Foo\"which will search for the table named Foo in the open TTCN document with buffer identifier 1 and open it the Table Editor.
If the table is found the table will be shown and the following message will be returned:
Reply status is OKIf the table can not be found, an error message is issued:
Unable to find object 1 Foo
http://www.ibm.com/rational |
![]() |
![]() |
![]() |
![]() |