public class DojoComboboxProxy extends GenericComboboxProxy
HtmlGuiProxy.Clicker, HtmlGuiProxy.DoubleClicker, HtmlGuiProxy.Dragger, HtmlGuiProxy.Hoverer, HtmlGuiProxy.nClickDragger, HtmlGuiProxy.nClicker, HtmlGuiProxy.PointIterator
HtmlProxy.GetObjectRunnable, HtmlProxy.HtmlElementEnumeration, HtmlProxy.IntegerByReference, HtmlProxy.InvalidNativeHandleException, HtmlProxy.JSObjectHtmlElementEnumeration, HtmlProxy.NativeProxyReleasedException
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DOJOCOMBOBOXTESTOBJECT_CLASSNAME |
TESTDATA_LIST, TESTDATA_SELECTED
defaultRecognitionProperty, DISPLAYPROPERTY, subDomain
currentMethod, LEFT, OFFSETHEIGHTPROPERTY, OFFSETLEFTPROPERTY, OFFSETRECTPROPERTY, OFFSETTOPPROPERTY, OFFSETWIDTHPROPERTY
BOUNDSPROPERTY, channel, CLASSINDEX, CLASSPROPERTY, CLIENTRECTPROPERTY, debug, DISABLEDPROPERTY, DOCCLASSINDEX, dojoProps, domain, HTMLPROXYCHANNELRUNNABLE_TIMEOUTVALUE, IDPROPERTY, isSiebelActive, jswarapper, NAMEPROPERTY, parentsTextDescendantsMayBeInteresting, READONLYPROPERTY, TAGPROPERTY, TESTDATA_TEXT, TEXTPROPERTY, TITLEPROPERTY, UNIQUEIDPROPERTY
BROWSERTABTESTOBJECT_CLASSNAME, BROWSERTESTOBJECT_CLASSNAME, COLORDIALOGTESTOBJECT_CLASSNAME, CROSSDOMAINCONTAINER_CLASSNAME, DOCUMENTTESTOBJECT_CLASSNAME, DOMAINTESTOBJECT_CLASSNAME, ECLIPSETOPLEVELTESTOBJECT_CLASSNAME, EMBEDDEDBROWSERTESTOBJECT_CLASSNAME, FILEDIALOGTESTOBJECT_CLASSNAME, FRAMESUBITEMTESTOBJECT_CLASSNAME, FRAMETESTOBJECT_CLASSNAME, GEFEDITPARTTESTOBJECT_CLASSNAME, GUISUBITEMTESTOBJECT_CLASSNAME, GUITESTOBJECT_CLASSNAME, INTERNALFRAMETESTOBJECT_CLASSNAME, MESSAGEBOXTESTOBJECT_CLASSNAME, PALETTEGUISUBITEMTESTOBJECT_CLASSNAME, PROCESSTESTOBJECT_CLASSNAME, SCROLLSUBITEMTESTOBJECT_CLASSNAME, SCROLLTESTOBJECT_CLASSNAME, SELECTGUISUBITEMTESTOBJECT_CLASSNAME, SELECTSCROLLGUISUBITEMTESTOBJECT_CLASSNAME, SHELLTESTOBJECT_CLASSNAME, STATELESSGUISUBITEMTESTOBJECT_CLASSNAME, SUBITEMTESTOBJECT_CLASSNAME, TABITEMTESTOBJECT_CLASSNAME, TESTOBJECT_CLASSNAME, TEXTGUISUBITEMTESTOBJECT_CLASSNAME, TEXTGUITESTOBJECT_CLASSNAME, TEXTSCROLLTESTOBJECT_CLASSNAME, TEXTSELECTGUISUBITEMTESTOBJECT_CLASSNAME, TIMEOUTTESTOBJECT_CLASSNAME, TOGGLEGUITESTOBJECT_CLASSNAME, TOGGLETESTOBJECT_CLASSNAME, TOPLEVELSUBITEMTESTOBJECT_CLASSNAME, TOPLEVELTESTOBJECT_CLASSNAME, TRACKBARTESTOBJECT_CLASSNAME, vomClippedRectangle
CUSTOM_DOMAIN_LIST, DOJO_CUSTOM_DOMAIN_NAME, SAPWEBPORTAL_CUSTOM_DOMAIN_NAME
INCLUDE_ALL, INCLUDE_JUSTOBJECT, INCLUDE_SIBLINGS
Constructor and Description |
---|
DojoComboboxProxy(HtmlTestDomainImplementation domain,
IChannel channel,
long handle) |
DojoComboboxProxy(HtmlTestDomainImplementation domain,
IChannel channel,
long handle,
IBrowserCommunicator jswrap) |
Modifier and Type | Method and Description |
---|---|
void |
click(MouseModifiers modifiers,
java.awt.Point pt) |
long |
getComboboxArrowButtonInner() |
long |
getComboboxArrowControl() |
static long |
getComboboxFromText(HtmlProxy proxy) |
static long |
getControlElement(HtmlProxy proxy) |
static HtmlProxy |
getCustomProxy(HtmlProxy defaultProxy,
HtmlTestDomainImplementation domain,
IChannel channel,
IBrowserCommunicator jswrap) |
GenericComboboxDropdownProxy |
getDropdown() |
long |
getDropdownHandle() |
long |
getDropdownHandle(HtmlProxy proxy) |
SubobjectProxy |
getItemAtPoint(java.awt.Point point) |
ProxyTestObject[] |
getMappableChildren()
Uses getChildrenEnumeration to implement.
|
GenericOptionProxy |
getOption(long handle,
Subitem text) |
java.lang.Object |
getPropertyInternal(java.lang.String propertyName) |
java.lang.String |
getSelectedText()
Allows direct access to the selected text property on the control.
|
java.util.Hashtable |
getStandardProperties()
Returns a complete set of consistent properties for the associated
test object.
|
ITestData |
getTestData(java.lang.String testDataType)
This method constructs the specified verification data object.
|
java.util.Hashtable |
getTestDataTypes()
Returns a hashtable of data type descriptions of the verification
point data available with the associated object in the SUT.
|
java.lang.String |
getTestObjectClassName()
The default GUI marshaller is returned.
|
static boolean |
isComboboxTextControl(HtmlProxy proxy) |
static boolean |
isComboboxTextControl(HtmlProxy proxy,
long handle) |
boolean |
isComboboxWithoutDownArrow() |
protected void |
processPreDownMouseEvent(IMouseActionInfo action) |
void |
setText(java.lang.String text) |
click, click, getActionArgs, getComboboxDropdownControl, getComboboxTextControl, getDataDrivableCommand, getOption, getOptions, getRole, getScreenPoint, isComboboxArrowControl, isComboboxArrowControl, isComboboxDropdownControl, isComboboxDropdownControl, isComboboxOptionControl, isComboboxTextControl, isDropdownReady, select, select
calculateParentsTextDescendantsMayBecomeInteresting, getAncestorAtLevel, getAncestorHandleMatchingByPropertyNames, getAncestorHandleMatchingProperty, getAncestorHandleMatchingProperty, getAncestorHandleMatchingProperty, getAncestorHandleMatchingProperty, getHtmlChildren, getHtmlParent, getObjectCustomClassName, getProperty, getSubDomain, getVisibleTextProperty, isEnabled, isVisible, setClickArgs, setDownPointArgs, setMethodSpecification, setMethodSpecification, setSubDomain, shouldBeMapped
activateTopWindow, click, clickAtScreenPoint, clickWithMouse, clickWithOutMouse, clickWithOutMouse, clickWithOutMouse, clickWithOutMouse, clickWithOutMouse, clickWithOutMouse, clickWithOutMouseN, convertFromScreenToOffset, doScroll, doubleClick, doubleClick, doubleClick, doubleClickAtScreenPoint, drag, drag, drag, drag, dragAtScreenPoint, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, ensureObjectIsVisible, getActionArgs, getChildAtPoint, getChildAtPoint, getChildAtPointN, getChildrenHandlesMatchingProperty, getClippedScreenRectangle, getClippingParent, getClippingParentRectangle, getCurrentMethod, getDefaultActionArgs, getDefaultPointToClick, getDefaultPointToClick, getMethodName, getMethodSpecForPoint, getPointFromAction, getPointOnObject, getPointToClick, getScreenCenter, getScreenPoint, getScreenRectangle, getTargetChildHandles, getTargetChildItem, getTargetChildItem, getTargetChildItems, getVisualClippableParent, hasFocus, hover, hover, hover, hover, hoverAtScreenPoint, isInView, isInView, isOpaque, isPointInObject, isPointInObject, isShowing, mouseMove, mouseMove, nClick, nClick, nClickAtScreenPoint, nClickDrag, nClickDragAtScreenPoint, nClickDragToScreenPoint, performAction, performClick, performClick, performDoubleClick, performSelect, performSetText, processHoverMouseEvent, processMouseEvent, processPreUpMouseEvent, proxyGetChildAtPoint, restoreTopLevelWindow, scrollIntoView, scrollIntoView, scrollIntoView, scrollIntoViewN, scrollIntoViewWithDirection, scrollIntoViewWithDirectionN, setClickArgs, setCurrentMethod, setDownPointArgs, setDrag, setMethodSpecification, setMethodSpecification, setMultiClickAction, snapToRectangle
addAdditionalRecognitionProperties, addChildrenHandlesToVector, addChildrenToVector, addChildrenToVector, addDataDrivableCommands, addDojoDomain, addRecognitionProperty, adjustCustomDomains, callJqueryFind, clearAllSubdomains, clearCustomSubdomains, detach, disableAllHtmlCustomDomains, disableHtmlCustomDomain, disableHtmlCustomDomains, enableAllHtmlCustomDomains, enableHtmlCustomDomain, enableHtmlCustomDomains, equals, fetchProperties, find, findElementsByXpath, findElementsDirectly, findElementsViaQuery, findElementWithDynamicFind, findElementWithName, getAddedRecognitionProperty, getAddedRecognitionPropertyValue, getAddedRecognitionPropertyWeight, getBrowserAppVersion, getCachedData, getChannel, getChildren, getChildren, getChildren, getChildrenEnumeration, getChildrenEnumeration, getChildrenHandleEnumeration, getChildrenHandles, getChildrenN, getChildrenWithTagType, getClassIndex, getCustomClassProperty, getCustomClassPropertyValue, getCustomDomainName, getCustomDomainName, getCustomDomainName, getCustomDomainNameForChildren, getCustomDomainNameForParent, getCustomObject, getDescriptiveName, getDisabledProperty, getDocClassIndex, getDocument, getDocument, getDocumentHandle, getDocumentWindow, getDomain, getElementHandlesByTag, getElementObjectsByTag, getElementsByNameInProxyTestObjects, getElementsByTag, getElementsByTag, getElementsByTagEnumeration, getElementsByTagInProxyTestObjects, getElementsByTagN, getElementsByXpath, getElementsByXpath, getElementsByXpathEnumeration, getElementsDirectly, getHandle, getHtmlTag, getHtmlTagNameFromClassProperty, getIgnorableProperties, getIndexer, getIndexers, getInterestingRecogPropsForDynFind, getJsProps, getJswarapper, getMappableChildren, getMappableElementsByNameInProxyTestObjects, getMappableElementsByTagInProxyTestObjects, getMappableParent, getMappableParent, getMethods, getNonValueProperties, getObject, getObjectClassName, getOwnedObjects, getOwnedObjects, getOwner, getParent, getParent, getParentN, getProperties, getProperties, getProperty, getPropertyInternalRunnable, getPropertyN, getProxyTestObjectsFromEnumeration, getReadOnlyProperty, getRecognitionProperties, getRecognitionPropertyWeight, getSavedDescriptiveName, getScriptCommandFlags, getStandardProperties, getTestDomain, getText, getTopMappableParent, getTopParent, getTopParent, getTopParentInternal, getTopParentN, getUniqueId, getValueProperty, getVisualTopParent, hasAddedRecognitionProperties, isClassIndexConsidered, isClassIndexPropertyAndValueDefined, isClassIndexSet, isContextObjectSet, isContextObjectSet, isDocClassIndexSet, isEqual, isFindOptimized, isObjectDead, isPropertyOptimizable, isReleaseRequired, isSameObject, isScoreForFindBYIdorName, isValidRecognitionProperty, isXpathSupported, matches, release, release, release, release, release, release, releaseElementHandle, releaseN, replaceAll, restoreAllCustomSubDomains, restoreCustomSubDomains, setCachedData, setClass, setClassIndex, setClassIndex, setClassIndex, setClassIndex, setClassIndex, setClassIndexOfChild, setCustomClassProperty, setCustomClassPropertyValue, setCustomDomainInContext, setDocClassIndex, setDocClassIndex, setDocClassIndex, setDocClassIndex, setDomain, setIndexer, setJswarapper, setProperty, setProperty, setSavedDescriptiveName, shouldDocumentBeAdded, split, updateTestData
baseClassMatch, canTakeVP, findChildrenWithProperties, findChildrenWithPropertiesAndInvoke, getDataDrivableCommands, getElementWithFocus, getField, getProxy, getScriptCommandAnchor, getVisualClippedRectangle, getVisualMappableChildren, getVOMSpecificProperty, hasSpecialFrameState, isValidObject, ping, suppressKeyAction
public static final java.lang.String DOJOCOMBOBOXTESTOBJECT_CLASSNAME
public DojoComboboxProxy(HtmlTestDomainImplementation domain, IChannel channel, long handle, IBrowserCommunicator jswrap)
public DojoComboboxProxy(HtmlTestDomainImplementation domain, IChannel channel, long handle)
public static HtmlProxy getCustomProxy(HtmlProxy defaultProxy, HtmlTestDomainImplementation domain, IChannel channel, IBrowserCommunicator jswrap)
public java.lang.String getTestObjectClassName()
HtmlProxy
getTestObjectClassName
in interface IProxyBase
getTestObjectClassName
in class GenericComboboxProxy
public static boolean isComboboxTextControl(HtmlProxy proxy)
public static boolean isComboboxTextControl(HtmlProxy proxy, long handle)
public static long getComboboxFromText(HtmlProxy proxy)
public ProxyTestObject[] getMappableChildren()
HtmlProxy
getMappableChildren
in class GenericComboboxProxy
public SubobjectProxy getItemAtPoint(java.awt.Point point)
public boolean isComboboxWithoutDownArrow()
protected void processPreDownMouseEvent(IMouseActionInfo action)
processPreDownMouseEvent
in class GenericComboboxProxy
public void click(MouseModifiers modifiers, java.awt.Point pt)
click
in class HtmlGuiProxy
public long getDropdownHandle()
public java.lang.String getSelectedText()
getSelectedText
in class GenericComboboxProxy
public java.lang.Object getPropertyInternal(java.lang.String propertyName)
getPropertyInternal
in class HtmlProxy
public long getComboboxArrowControl()
getComboboxArrowControl
in class GenericComboboxProxy
public long getComboboxArrowButtonInner()
getComboboxArrowButtonInner
in class GenericComboboxProxy
public long getDropdownHandle(HtmlProxy proxy)
public GenericComboboxDropdownProxy getDropdown()
getDropdown
in class GenericComboboxProxy
public static long getControlElement(HtmlProxy proxy)
public java.util.Hashtable getStandardProperties()
ProxyTestObject
ProxyTestObject.getProperties()
.
The HTML domain supports standard properties and
returns properties that are consistent across browser versions.
The Java domain does not support this notion of standard properties.
In this domain, getStandardProperties,
and getProperties
do the same thing.
For HTML, standard properties are a subset
of the properties returned by getProperties()
.
The meaning of a property is specific to the test domain
and the test object. Typically, this is a set of name/value pairs
that describe the test object and its active state. Properties such
as font, colors, and coordinate information are typically associated
with a GUI test object. Associated data and state information can also
be returned, depending on the test object.getStandardProperties
in class HtmlProxy
ProxyTestObject.getProperty(String)
,
ProxyTestObject.setProperty(String,Object)
,
ProxyTestObject.getProperties()
,
ProxyTestObject.getNonValueProperties()
public void setText(java.lang.String text)
public ITestData getTestData(java.lang.String testDataType)
getTestDataTypes
.
For Dojo 1.6.1, check if this combobox is a DateTextBox control
and if so, always use the selected value for the data VP(as there is no list,
but only a calendar on the popup)getTestData
in class GenericComboboxProxy
testDataType
- A test data type supplied by
getTestDataTypes
.getTestDataTypes()
,
ITestData
public java.util.Hashtable getTestDataTypes()
GenericComboboxProxy
getTestDataTypes
in class GenericComboboxProxy
GenericComboboxProxy.getTestData(String)
,
ITestData
public GenericOptionProxy getOption(long handle, Subitem text)
getOption
in class GenericComboboxProxy