com.appperfect.devcommon.script.webelement
Interface WebHiddenField

All Superinterfaces:
IScript, WebObject

public interface WebHiddenField
extends WebObject

WebHiddenField element can be created using createWebHiddenField API of IScriptEngine interface. The return value is an instance of WebHiddenField interface. Once WebHiddenField is created, you can play events on it. Apart from additional events mentioned below, WebHiddenField 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
 
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 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.