public class ComponentAgent extends ComponentAgent
| Modifier and Type | Field and Description |
|---|---|
protected abbot.tester.ComponentTester |
componenttester |
objectTypealternateAncestor, 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, validateComponentgetAlternateAncestor, getAlternateAncestorClassname, getAncestorAgent, getCaption, getChildCount, getChildren, getClassName, getID, getLevel, getLocalAgentFactory, getMatchingPathObject, getName, getProperty, getPropertyNames, getStringData, getSubItemAtIndex, getSuperClassNames, getText, isMatchingPath, isShowing, isValid, processAncestor, setAlternateAncestor, setAlternateAncestorClassname, setLocalAgentFactorypublic 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 LocalAgentprocess in class ObjectAgenttestRecordData - 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),
CFComponentprotected java.awt.Point checkForCoord(TestRecordData testRecordData) throws SAFSActionErrorRuntimeException
SAFSActionErrorRuntimeException