public class DomRadioButton extends DomElement
Modifier | Constructor and Description |
---|---|
protected |
DomRadioButton(JtfObjectHandle handle,
Desktop desktop)
Creates a new DomRadioButton with a JtfObjectHandle.
|
Modifier and Type | Method and Description |
---|---|
int |
getRadioListItemCount()
Gets the number of items in the radiolist.
|
List<ItemIdentifier> |
getRadioListItems()
Gets the list of items in the radio list.
|
int |
getRadioListSelectedIndex()
Gets the index of the selected item.
|
ItemIdentifier |
getRadioListSelectedItem()
Gets the item that is selected in the radiolist.
|
boolean |
isSelected()
Gets whether the radio button is selected.
|
void |
radioListSelect(int itemIndex)
Selects an item in the radio list.
|
void |
radioListSelect(ItemIdentifier item)
Selects an item in the radio list.
|
void |
radioListSelect(String itemText)
Selects an item in the radio list.
|
void |
select()
Selects the radio button.
|
domClick, domClick, domClick, domDoubleClick, domDoubleClick, domDoubleClick, domDoubleClick, domMouseMove, domMouseMove, executeJavaScript, executeJavaScript, getCssStyle, getDomAttribute, getDomAttributeList, getDomAttributeList, getHtmlRect, getText, highlight, scrollIntoView, setDomAttribute, unhighlight
click, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, isVisible, mouseMove, mouseMove, pressKeys, pressKeys, pressMouse, pressMouse, pressMouse, pressMouse, releaseKeys, releaseKeys, releaseMouse, releaseMouse, releaseMouse, releaseMouse, setFocus, typeKeys, typeKeys, typeKeys, typePasswordKeys, typePasswordKeys, typePasswordKeys
captureBitmap, captureBitmap, exists, exists, generateLocator, getChildren, getDynamicMethodList, getParent, getPropertyList, getRect, getRect, getValue, highlightObject, highlightObject, highlightObject, invokeMethods, textCapture, textCapture, textClick, textClick, textClick, textClick, textClick, textClick, textExists, textExists, textExists, textExists, textExists, textRectangle, textRectangle, textRectangle, textRectangle, textRectangle, waitForChildDisappearance, waitForChildDisappearance, waitForDisappearance, waitForDisappearance, waitForObject, waitForObject, waitForProperty, waitForProperty
equals, exists, find, find, findAll, findAll, getCustomTypeName, getDesktop, getHandle, getLocator, getProperty, getTypeName, hashCode, imageClick, imageClick, imageClick, imageClick, imageClick, imageClick, imageClickFile, imageClickFile, imageClickFile, imageClickFile, imageClickFile, imageClickFile, imageExists, imageExists, imageExists, imageExistsFile, imageExistsFile, imageExistsFile, imageRectangle, imageRectangle, imageRectangle, imageRectangleFile, imageRectangleFile, imageRectangleFile, invoke, preventFinalLocator, setProperty, toString
protected DomRadioButton(JtfObjectHandle handle, Desktop desktop)
handle
- the handle that identifies the DomRadioButtondesktop
- the desktop on which this object livespublic void radioListSelect(ItemIdentifier item)
In Silk Test 14.0 or later, whitespace in the list is trimmed consistently across all supported browsers. For some browser versions, this whitespace handling differs to Silk Test versions prior to Silk Test 13.5. You can re-enable the old behavior by setting the OPT_COMPATIBILITY option to a version lower than 13.5.0.
item
- the item to selectpublic void radioListSelect(String itemText)
In Silk Test 14.0 or later, whitespace in the list is trimmed consistently across all supported browsers. For some browser versions, this whitespace handling differs to Silk Test versions prior to Silk Test 13.5. You can re-enable the old behavior by setting the OPT_COMPATIBILITY option to a version lower than 13.5.0.
itemText
- the item to selectpublic void radioListSelect(int itemIndex)
In Silk Test 14.0 or later, whitespace in the list is trimmed consistently across all supported browsers. For some browser versions, this whitespace handling differs to Silk Test versions prior to Silk Test 13.5. You can re-enable the old behavior by setting the OPT_COMPATIBILITY option to a version lower than 13.5.0.
itemIndex
- the item to selectpublic void select()
public int getRadioListItemCount()
public List<ItemIdentifier> getRadioListItems()
In Silk Test 14.0 or later, whitespace in the list is trimmed consistently across all supported browsers. For some browser versions, this whitespace handling differs to Silk Test versions prior to Silk Test 13.5. You can re-enable the old behavior by setting the OPT_COMPATIBILITY option to a version lower than 13.5.0. This property is not supported for mobile Web applications.
public int getRadioListSelectedIndex()
public ItemIdentifier getRadioListSelectedItem()
public boolean isSelected()
Copyright 2009-2012 Micro Focus. All Rights Reserved.