|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WebComboBox
WebComboBox element can be created using createWebComboBox API of
IScriptEngine interface. The return value is an instance of WebComboBox
interface. Once WebComboBox is created, you can play events on it. Apart from
additional events mentioned below, WebComboBox also supports events supported
on WebObject
WebObject
Method Summary | |
---|---|
java.lang.String |
getItem(int index)
To get item at specified index in the combo |
java.lang.String[] |
getItems()
To get all the items in the combo |
int |
getItemsCount()
To get items count in the combo |
java.lang.String[] |
getSelectedItems()
To get all the selected items in the combo |
boolean |
select(int index)
To select item at specified index in the combo |
boolean |
selectItem(java.lang.String item)
To select specified item in the combo |
boolean |
selectMultipleItems(java.lang.String item,
java.lang.String separator)
To select multiples items in the combo |
Methods inherited from interface com.appperfect.devcommon.script.webelement.WebObject |
---|
addAttribute, click, dblClick, mouseMove, rightClick, set, setBreakPoint, setExactMatchForAttributesComparision, setIgnored, setImagePath, setThinkTime, setTitle, submit, type, wait |
Methods inherited from interface com.appperfect.devcommon.script.IScript |
---|
getReasonForFailure, isIgnored, isTaskSuccessful, isTaskTimedOut, setReasonForFailure, setTaskSuccessful, setTaskTimedout, setTimeout |
Method Detail |
---|
java.lang.String getItem(int index)
index
- zero based index of the item to fetch
java.lang.String[] getItems()
int getItemsCount()
java.lang.String[] getSelectedItems()
boolean select(int index)
index
- zero based index of the item to select
boolean selectItem(java.lang.String item)
item
- item to select
boolean selectMultipleItems(java.lang.String item, java.lang.String separator)
item
- items to selectseparator
- string separating the items
|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |