In JavaStar, a text map class provides the information JavaStar needs to extract a text name for a component that otherwise does not provide one. Components that do not provide text names are:
setName()
method to associate a name
The code JavaStar generates for these components can appear cryptic. For example, you might see
member("MyClassName", 3)
where the class name refers to the component, and the number that follows indicates the position within the containing object. When you edit a test, or when you try to interpret test results, this might not be helpful.
With a text map, however, you tell JavaStar how to associate the component with a text name, so that instead you would see:
member("MyClassName", "Exit")
where Exit
is the text name you provided.
Send feedback to
JavaStar-feedback@suntest.com
Copyright © 1998
Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, CA 94303.
All rights reserved.