public class JComboBoxAgent extends JComboBoxAgent
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
action |
protected java.lang.String |
compName |
protected java.lang.String |
param |
protected JComboBoxTester |
tester |
protected java.lang.String |
windowName |
objectType
alternateAncestor, alternateAncestorClassname, factory
Constructor and Description |
---|
JComboBoxAgent()
Constructor for JComboBoxAgent.
|
Modifier and Type | Method and Description |
---|---|
TestRecordData |
process(java.lang.Object object,
TestRecordData testRecordData)
Process the action provided in the testRecordData.
|
protected void |
verifySelected(TestRecordData testRecordData,
javax.swing.JComboBox combo)
verifies the selected combobox item to the text value given in the command parameter (5th argument)
|
getSubItemAtIndex
getChildCount, getChildren
convertCoords, validateActionCommand, validateComponent
getAlternateAncestor, getAlternateAncestorClassname, getAncestorAgent, getCaption, getClassName, getID, getLevel, getLocalAgentFactory, getMatchingPathObject, getName, getProperty, getPropertyNames, getStringData, getSuperClassNames, getText, isMatchingPath, isShowing, isValid, processAncestor, setAlternateAncestor, setAlternateAncestorClassname, setLocalAgentFactory
protected JComboBoxTester tester
protected java.lang.String action
protected java.lang.String windowName
protected java.lang.String compName
protected java.lang.String param
public TestRecordData process(java.lang.Object object, TestRecordData testRecordData)
process
in interface LocalAgent
process
in class ObjectAgent
testRecordData
- provides all the information needed by the Agent to perform the action.protected void verifySelected(TestRecordData testRecordData, javax.swing.JComboBox combo) throws SAFSException
testRecordData
- the test record objectcombo
- the Swing combobox controlSAFSException