com.appperfect.devcommon.script.webelement
Interface WebPasswordField

All Superinterfaces:
IScript, WebObject

public interface WebPasswordField
extends WebObject

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