JavaStarTM
Release Notes
Table
of Contents:
Please
e-mail comments to JavaStar-feedback@suntest.com
to send suggestions or comments about this release to the development team.
Your comments will be read by the development team, but due to the large
number of comments, the development team is unable to reply to each comment
individually.
For
product information such as an FAQ list, and possible upgrades or patches,
please visit our SunTest
web site.
What's
New in Release 1.2
General
JavaStarTM
1.2 is compatible with JDK 1.1.1 through JDK 1.1.7B, and JDK 1.2 a.k.a
Java 2.
Errata
JavaStar
User Guide in the section for Java Plug-in incorrectly refers to the the
plugin file to be downloaded as JavaStar-JPI-117.tar.z and JavaStar-JPI-117.zip.
The
correct name of the file is JavaStar-JPI-12.zip and JavaStar-JPI-12.tar.z
There
are two version of the Java Plug-in made availabe for JavaStar. One
which corresponds to 1.1.X version of the jdk is in the 112 directory and
the version corresponding to the 1.2 version of jdk is in 12 directory.
What's
New in Release 1.1.7
-
General
-
JavaStarTM
1.1.7 is compatible with JDK 1.1.1 through JDK 1.1.7. This release is primarily
a bug fix.
-
Non-Component Locators
-
JFC
-
There
are new locators for combo boxes. The list locator has been enhanced to
work with list items with embedded images. The tutorial has a new lesson
on testing JFC components.
-
Writing
Non-Component Locators
-
The
tutorial has a new lesson on creating Non-Component Locators.
New
Material
-
HotJava
-
There
is new documentation on testing applets within the HotJava Browser using
project files. The command shells previously provided have been discontinued.
-
Using the API
-
The
tutorial lesson formerly called Writing Java Code has been enhanced
and is now called Using the JavaStar API.
-
Printing Results
-
The print button has been removed from the Test Results Viewer. To print
results, extract them to HTML or text and print those extractions through
normal methods.
Limitations
-
Recording
-
Sub-processes spawned by the program under test cannot be recorded.
-
Cut and paste actions are not recorded.
-
Scrollbars on lists cannot be disabled; if they are interacted with during
pauses, playbacks may fail.
-
The scrolling of ScrollPanes cannot be recorded, but the correct events
are still sent to components inside the ScrollPane.
-
A multiClick on a component that calls System.exit is not recorded on Windows
platforms. Workaround: manually add, with an editor, the event which exits
the application.
-
Comparison (Verification and Synchronization)
You cannot compare frames alone; menus will be compared also.
-
There is no comparison of icon images.
-
File dialogs are replaced with relativefile() calls with the file name
as arguments. You cannot verify a file dialog.
-
In JDK 1.1.1, you cannot compare a container component that contains any
light-weight components. This is fixed in JDK 1.1.2 and above.
-
JavaStar Plug-in
-
The JavaStar Plug-in enables the use of any browser that supports the Java
Plug In. Here are some limitations on the use of this plug-in.
-
You cannot use declarations.
-
You need to turn off the JIT in the Java Plug-in control panel.
-
If you use locators you need to move the entire directory tree of the locators
and start JavaStar from this directory.
-
You cannot edit test scripts (this is a Java Plug-in limitation)
-
JavaStar Editor
-
The JavaStar editor on Windows platforms limits file sizes to about 28K.
You need to use a different editor for files larger than that size.
Known
Software Bugs
-
Java-related Bugs
-
The following two messages are from JavaStar printed to System.out. Both
are bugs in the JDK and have no adverse effects on JavaStar.
-
Exception occurred during event dispatching:
java.lang.NullPointer Exception
at java.awt.LightweightDispatcher.retargetMouseEvent
(Container.java:1416)
Note-JDK bug FIXED in 1.1.5
Sometimes when you enter or exit the JavaStar GUI, Java throws a NullPointerException.
This bug occurs most frequently in Windows NT and is a bug in the JDK.
There are no adverse effects on JavaStar when this situation occurs. You
will see the bug as an exception.
java.lang.NullPointerException
at java.awt.Component$NativeInLightFixer.componentMoved
(Component.java:2873)
at java.awt.Component.processComponentEvent
(Component.java:2173)
Note-JDK bug FIXED in 1.1.5
Solaris-related Bugs
Doing a mouse-press on the scrollbar for too long can enter an infinite
loop.
Certain features in JavaStar require key sequences involving Ctrl-Alt.
For example, Generate Declarations uses Ctrl-Alt-F10. On certain Solaris
configurations the Alt key is not mapped correctly. Try using the Meta
key or the Shift key instead of the Alt key (Ctrl-Meta-F10). The meta key
is usually located to the right of the Alt key and it has a picture of
a diamond on the key.
Windows-related Bugs
The following bug in the Java AWT has been fixed in JDK 1.1.2 and exists
in JDK 1.1.1 only: In Windows NT 4.0, Certain modal dialogs disappear when
they are moved around the screen. For example in the composer save a jst
with no filename. The resulting modal dialog disappears when it is moved
across the screen.
Due to a bug (bugid #4064116) in Runtime.exec on Windows, arguments to
the program under test, to the JST, or to test script must not contain
spaces or special characters.
HotJava Bug
You are unable to generate declarations for the HotJava Browser. Doing
so results in an exception: Internal JavaStar error cannot locate self.
Fixed
Software Bugs
-
General
-
Font changes through the options are reflected in all windows.
-
JavaStar can now find more than one non-component locator or text map.
-
The property file no longer disappears after use in a script.
Documentation
Errata
-
General
-
There are some screen shots which do not reflect the current state of the
JavaStar GUI.