Script: Methods


suntest.javastar.lib.Script Methods

Method Description
getAppArgs() Returns arguments with which the app will be started. For internal use only.
getAppClass() Returns the full class name of the app main For internal use only.
gold() Returns the gold directory For internal use only.
play(String[]) The body of this method is created by a record or hand-written to exercise the GUI being tested.
run() Starts application For internal use only.
setGold(String) Sets the gold directory. For internal use only.

getAppArgs()

Syntax

Description

Returns arguments with which the app will be started. For internal use only.

getAppClass()

Syntax

Description

Returns the full class name of the app main. For internal use only.

gold()

Syntax

Description

Returns the gold directory. For internal use only.

play(String[])

Syntax

Description

The body of this method is created by a record or hand-written to exercise the GUI being tested. Failure is indicated by a Throwable being thrown.

run()

Syntax

Description

Starts application. For internal use only.

setGold(String)

Syntax

Description

Sets the gold directory. For internal use only.




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