Writing a locator consists of implementing the JSNonComponentLocator
class of the JavaStar API. This class contains two methods: findObject()
and getNamed()
. For information on this class, see JSNonComponentLocator
in the JavaStar API Reference. You can also use the source code for the provided locators as examples.
You can find more on implementing locators in the tutorial lesson, Writing Non-Component Locators.
Note - To make new locators easy to find, keep them inside the existing locator package.
Send feedback to
JavaStar-feedback@suntest.com
Copyright © 1998
Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, CA 94303.
All rights reserved.