com.appperfect.devcommon.script.webelement
Interface WebCheckBox

All Superinterfaces:
IScript, WebObject

public interface WebCheckBox
extends WebObject

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

See Also:
WebObject

Method Summary
 boolean check()
 To set the check state of checkbox
 boolean unCheck()
 To unset the check state of checkbox
 
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

check

boolean check()
To set the check state of checkbox

Returns:
true if event was executed successfully, returns false if there is any failure during execution

unCheck

boolean unCheck()
To unset the check state of checkbox

Returns:
true if event was executed successfully, returns false if there is any failure during execution


Copyright © 2003-2016 AppPerfect Corporation. All Rights Reserved.