com.appperfect.devcommon.script.webelement
Interface WebEdit

All Superinterfaces:
IScript, WebObject

public interface WebEdit
extends WebObject

WebEdit element can be created using createWebEdit API of IScriptEngine interface. The return value is an instance of WebEdit interface. Once WebEdit is created, you can play events on it. Apart from additional events mentioned below, WebEdit also supports events supported on WebObject

See Also:
WebObject

Method Summary
 boolean set(java.lang.String text)
 To set the specified text in the Edit box
 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
 
Methods inherited from interface com.appperfect.devcommon.script.IScript
getReasonForFailure, isIgnored, isTaskSuccessful, isTaskTimedOut, setReasonForFailure, setTaskSuccessful, setTaskTimedout, setTimeout
 

Method Detail

set

boolean set(java.lang.String text)
To set the specified text in the Edit box

Specified by:
set in interface WebObject
Parameters:
text - text to set in edit box
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.