Generating Declarations: About this Lesson


For automated tests to really save you time, they need to be easy to maintain as your program under test changes. If you have to tinker with each script--or re-record it--because one component changes, you're likely to wonder if you're really saving time. This chapter shows you how to generate declarations--a feature JavaStar provides to make it possible to update a whole collection of tests by simply editing one file they all reference.

Generating declaration files is best done as the first step in creating your scripts. JavaStar includes a feature for automatically incorporating declaration files while recording, but for it to work, you must generate the declaration files before recording the scripts.

As an introduction, this lesson shows you the impact simple GUI changes can have on your application under test, then guides you through the process of modifying your test to be more dynamic. Upon completing this chapter, you should know how to:




Send feedback to JavaStar-feedback@suntest.com
Copyright © 1998 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, CA 94303. All rights reserved.