/tst

Run a component or application shell in test mode.

/tst  ComponentName | ApplicationName.aps

Parameters

  • ComponentName —name of a form, report, or service
  • ApplicationName.aps—name of an application shell.

Description

Start the named component (or application shell) in test mode. The exec operation of the component is started with an activate statement. For example:

activate "myform".EXEC

The component runs in the Uniface IDE, rather than in your own application, so it maintains the behavior of the IDE. For example, assignment settings such as $MESSAGE_LINE and $MENU_BAR do not affect the component.

It is not possible for /tst to display a DBMS or Network Log On form while it is starting the Uniface IDE. If the table or file on the path $UUU requires logon information, you must provide that information on a path-to-connector assignment in an assignment file. The path-to-connector assignment cannot contain questions marks (?).

Note: It is not possible to run bidirectional (RTL) applications or forms in test mode.

The following example tests the form named GENINFO:

/tst geninfo