How Do I ... : Write Smalltalk scripts : Test my script and connections
Test my script and connections
Test my scriptTest my scriptNo tip for this topicNo example for this topicDebug my scriptDebug my script
Once you add all needed connections, you can display your application's window and see if the connections function properly.
Using the Test tool
While in a Composition Editor, Script Editor, or the 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 VA Smalltalk 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.
Last modified date: 08/09/2019