Testing AWT-Swing Applets (AWT, Swing, OS X)

Last edited on

To automate Java applets in Safari on Mac OS X these two environment variables must be set to 1 before running the Squish IDE (or specifically, the squishserver):

To set these environment variables and start Squish, execute the following in Terminal.app:

export SQUISH_USE_AWT=1
export SQUISH_QUIT_SAFARI=1
open "SQUISHDIR/bin/squish.app"

SQUISHDIR must be replaced with a path to a Squish for Web installation.

You could, of course, create a shell script to do this (or put the exports in your login script).