API Reference


API Overview

Class Categories
Component and Control Classes
Non-Component Classes
Timer Classes
Script Control Class
Error Classes
Exception Classes
Waiting--Custom Synchronization
Deprecated Methods

Component and Control Classes

JS
Inheritance
Syntax
Variables
Methods
Methods by Name
Methods by Category
delay(long)
deliverEventToHidden(boolean)
flushEventQueue()
note(String)
pause()
postEvent(AWTEvent)
wrap(Component)
applet (String, int)
dialog(String, String)
dialogRE(String, String)
find(String, String)
findRE(String, String)
frame(String)
frameRE(String)
lookup(String)
mlookup(String)
getProperty(String)
setProperty(String, String)
getTimeout()
setTimeout(int)
getTypingRate()
setTypingRate(int)
check(boolean)
check(boolean, String)
check(Script, boolean)
check(Script, boolean, String)
verifyAnyField(Script, boolean, boolean, Object String, Object, String)
verifyAnyMethod(Script, boolean, boolean, Object, String, Object, String)
waitFor(Waiting)
dialogRX(String, String)
findRX(String, String)
frameRX(String)
goldenDirectory(String, String)
playbackEnd(String, boolean)
playbackEnd(String, Throwable)
playbackInit(String)
processPlayerArgs(String)
startApplication(Script)
JSComponent
Syntax
Methods
Methods by Name
Methods by Category
action()
action(String)
buttonPress()
choosefile(String, String)
deiconify()
deselect()
deselect(int)
deselect(String)
deselect(int, String)
destroy()
fkey(int, int)
fkeyUp(int, int)
gotFocus()
iconify()
key(int, int)
key(int, int, int, int)
keyPressed(int, char, int)
keyReleased(int, char, int)
keyTyped(char)
keyUp(int, int)
lostFocus()
mouseClicked(int, int, int)
mouseDragged(int, int, int)
mouseEntered(int, int)
mouseExited(int, int)
mouseMoved(int, int)
mousePressed(int, int, int)
mouseReleased(int, int, int)
multiClick(int, int, int, int)
popupTrigger(int, int)
select()
select(int)
select(String)
select(int, String)
typeString(String)
typeString(String, int, int)
relativefile(String, String)
windowMoved(int, int, int, int)
ageDifferentiation(int, int)
button(String)
buttonRE(String)
center(String, String)
child(int, String, String)
dialog(String)
dialog(String, String)
dialogRE(String)
dialogRE(String, String)
east(String, String)
hasMember(String)
hasMember(String, String)
hasMemberRE(String, String)
lookup(String)
member(String)
member(String, String)
member(String, String, int)
member(String, int)
memberRE(String, String)
menubar()
north(String, String)
popup(String)
popup(String, int)
south(String, String)
west(String, String)
getAll()
getAllValid()
getUnique()
getValidUnique()
isUnique()
isValidUnique()
synchronize(Script, String, String)
verify(Script, boolean, String)
verify(Script, String, String)
verifyAnyField(Script, boolean, boolean, String, Object, String)
verifyAnyMethod(Script, boolean, boolean, String, Object, String)
verifyWithFile(Script, String, String)
waitFor(boolean, String)
waitFor(String)
waitFor(String, String)
absolute(int)
lineDown(int)
lineUp(int)
pageDown(int)
pageUp(int)
getAnyField(String)
getAnyMethod(String)
readString()
buttonRX(String)
orphan(String)
dialogRX(String)
dialogRX(String, String)
hasMemberRX(String, String)
keyTyped(int, int)
memberRX(String, String)
mouseClick(int, int, int)
mouseDown(int, int, int)
mouseDrag(int, int, int)
mouseEnter(int, int)
mouseExit(int, int)
mouseMove(int, int, int)
mouseUp(int, int, int)
JSMenuComponent
Class
Syntax
Methods
Methods by Name
Methods by Category
action()
deselect()
getAll()
getUnique()
getValidUnique()
isUnique()
isValidUnique()
item(String)
item(int, String)
menu(String)
menu(int, String)
mlookup(String)
nested(String)
nested(int, String)
select()

Non-Component Classes

JSNonComponentLocator
Class
Syntax
Methods
findObject(Component, AWTevent)
getNamedObjectData(Component, String)
JSNCLData
Class
Inheritance
Syntax
Variables
JSNonComponent
Class
Syntax
Methods
Methods by Name
Methods by Category
verifyAnyField(Script, Boolean, Boolean, String, Object, String)
verifyAnyMethod(Script, Boolean, Boolean, String, Object, String)
getOffset()
getReference()
getAnyField(String)
getAnyMethod(String)
mouseClicked(int, int, int)
mouseDragged(int, int, int)
mouseMoved(int, int, int)
mousePressed(int, int, int)
mouseReleased(int, int, int)
multiClick(int, int, int, int)

Text Map Class

Class
Syntax
Methods
computeText(Component)

Timer Classes

JSTimer
Class
Inheritance
Syntax
Methods
getElapsedTime(String)
getStartTime(String)
register(Object, Boolean)
start(String)
stop(String)
JSTimerCallback
Class
Syntax
Methods
timerStarted(String, long, long)
timerStopped(String, long, long)

Script

Class
Inheritance
Syntax
Methods
getAppArgs()
getAppClass()
gold()
play(String[])
run()
setGold(String)

Error Classes

BadRegularExpressionError
Inheritance
Syntax
JavaStarInternalError
Class
Inheritance
Syntax
Methods
NoAppResponseError
Class
Inheritance
Syntax

Exception Classes

AmbiguousGUIException
Class
Inheritance
Syntax
GUINotAcceptingException
Class
Inheritance
Syntax
GUINotFoundException
Class
Inheritance
Syntax
GUITypeException
Class
Inheritance
Syntax
SyncException
Class
Inheritance
Syntax

Waiting--Custom Synchronization

Class
Syntax
Methods
getState()

Syntax for Regular Expressions

Current Syntax
Alternatives
Items
Excluded Syntax
Previous Syntax
Concatenating Regular Expressions
More Examples


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