com.appperfect.devcommon.script.webelement
Interface WebInputElement
- All Superinterfaces:
- IScript, WebObject
public interface WebInputElement
- extends WebObject
WebInputElement element can be created using createWebInputElement API of
IScriptEngine interface. The return value is an instance of WebInputElement
interface. Once WebInputElement is created, you can play events on it. Apart
from additional events mentioned below, WebInputElement also supports events
supported on WebObject
- See Also:
WebObject
Method Summary |
boolean |
set(java.lang.String text)
To set the specified text in the element |
boolean |
submit()
To submit the form |
Methods inherited from interface com.appperfect.devcommon.script.webelement.WebObject |
addAttribute, click, dblClick, mouseMove, rightClick, setBreakPoint, setExactMatchForAttributesComparision, setIgnored, setImagePath, setThinkTime, setTitle, type, wait |
set
boolean set(java.lang.String text)
- To set the specified text in the element
- Specified by:
set
in interface WebObject
- Parameters:
text
- text to set in element
- Returns:
- true if success, false otherwise
submit
boolean submit()
- To submit the form
- Specified by:
submit
in interface WebObject
- Returns:
- true if success, false otherwise
Copyright © 2003-2016 AppPerfect Corporation. All Rights Reserved.