How Do I...


Run my application

Test and debug my application No tips for this topic No example for this topic Test by printing results to the Transcript window

Once you complete an application and a view part, it's a good idea to periodically display the part and see if it functions properly.

Using the Test tool

While in a Composition Editor, Script Editor, or the VisualAge Organizer, you can display a visual part that has a window or form. Just click on Test (the Test tool) in the tool bar.

Running a Smalltalk statement

If you have ready access to the System Transcript window, you might want to run some Smalltalk code to display the part.

To display a VisualAge part that has a window or form:

  1. Type in the System Transcript window:
    <part name> new openWidget
    
  2. Highlight the text.
  3. From the Edit menu, select Execute.

To display a Smalltalk class that has a window:

  1. Type in the System Transcript window:
    <part name> new open
    
  2. Highlight the text.
  3. From the Edit menu, select Execute.


[ Top of Page | Previous Page | Next Page | Table of Contents ]