public class ComponentAgent extends ComponentAgent
Modifier and Type | Field and Description |
---|---|
protected abbot.tester.ComponentTester |
componenttester |
objectType
alternateAncestor, alternateAncestorClassname, factory
Constructor and Description |
---|
ComponentAgent()
Constructor for ComponentAgent.
|
Modifier and Type | Method and Description |
---|---|
protected java.awt.Point |
checkForCoord(TestRecordData testRecordData)
Purpose: check 5th parameter for coords, x;y notation, appmap ref is not supported yet |
TestRecordData |
process(java.lang.Object object,
TestRecordData testRecordData)
Process the action provided in the testRecordData.
|
convertCoords, validateActionCommand, validateComponent
getAlternateAncestor, getAlternateAncestorClassname, getAncestorAgent, getCaption, getChildCount, getChildren, getClassName, getID, getLevel, getLocalAgentFactory, getMatchingPathObject, getName, getProperty, getPropertyNames, getStringData, getSubItemAtIndex, getSuperClassNames, getText, isMatchingPath, isShowing, isValid, processAncestor, setAlternateAncestor, setAlternateAncestorClassname, setLocalAgentFactory
public TestRecordData process(java.lang.Object object, TestRecordData testRecordData)
An Agent may throw various types of Agent-specific RuntimeExceptions depending upon failure modes.
process
in interface LocalAgent
process
in class ObjectAgent
testRecordData
- provides all the information needed by the Agent to perform the action.SAFSInvalidActionRuntimeException
- if action is null or 0-lengthSAFSInvalidComponentRuntimeException
- if object is not a Component.SAFSActionErrorRuntimeException(
- x.getMessage(), x) if an abbot exception occurs.SAFSMissingActionArgumentRuntimeException(
- action +" null", x) if a required action arg is missing.ComponentAgent.validateActionCommand(TestRecordData)
,
ComponentAgent.validateComponent(Object)
,
CFComponent
protected java.awt.Point checkForCoord(TestRecordData testRecordData) throws SAFSActionErrorRuntimeException
SAFSActionErrorRuntimeException