Class CheckBoxValidator
java.lang.Object
org.uitnet.testing.smartfwk.ui.core.objects.UIObjectValidator
org.uitnet.testing.smartfwk.ui.core.objects.checkbox.CheckBoxValidator
- Direct Known Subclasses:
CheckBoxValidatorSD,CheckBoxValidatorSI
public abstract class CheckBoxValidator extends UIObjectValidator
- Author:
- Madhav Krishna
-
Field Summary
Fields inherited from class org.uitnet.testing.smartfwk.ui.core.objects.UIObjectValidator
appDriver, region, uiObject -
Constructor Summary
Constructors Constructor Description CheckBoxValidator(SmartAppDriver appDriver, CheckBox uiObject, org.sikuli.script.Region region) -
Method Summary
Modifier and Type Method Description abstract CheckBoxValidatorcheckAndValidateChecked(int maxIterationsToLocateElements)CheckBoxgetUIObject()abstract booleanisCheckBoxChecked(int maxIterationsToLocateElements)abstract booleanisDisabled(int maxIterationsToLocateElements)abstract booleanisDisabledButNotReadonly(int maxIterationsToLocateElements)abstract CheckBoxValidatoruncheckAndValidateUnchecked(int maxIterationsToLocateElements)abstract CheckBoxValidatorvalidateCheckBoxChecked(int maxIterationsToLocateElements)abstract CheckBoxValidatorvalidateCheckBoxUnchecked(int maxIterationsToLocateElements)abstract CheckBoxValidatorvalidateDisabled(int maxIterationsToLocateElements)abstract CheckBoxValidatorvalidateDisabledButNotReadonly(int maxIterationsToLocateElements)abstract CheckBoxValidatorvalidateEnabled(int maxIterationsToLocateElements)abstract CheckBoxValidatorvalidateEnabledButNotReadonly(int maxIterationsToLocateElements)Methods inherited from class org.uitnet.testing.smartfwk.ui.core.objects.UIObjectValidator
click, clickAndHold, doubleClick, findElement, findElementNoException, findElements, forceClick, getNewSeleniumActions, getRegion, geUIObjectType, isPresent, isVisible, matchTextValue, mouseHoverOver, performAction, performKeyDown, performKeyPressed, performKeyUp, release, rightClick, scrollElementOnViewport, seleniumToSikuliKeyConverter, sendCommandKeys, typeText, validateElementPresentWithinArea, validateHidden, validateNotPresent, validateNotVisible, validatePresent, validateTextValue, validateVisible
-
Constructor Details
-
CheckBoxValidator
public CheckBoxValidator(SmartAppDriver appDriver, CheckBox uiObject, org.sikuli.script.Region region)
-
-
Method Details
-
getUIObject
- Overrides:
getUIObjectin classUIObjectValidator
-
isCheckBoxChecked
public abstract boolean isCheckBoxChecked(int maxIterationsToLocateElements) -
validateCheckBoxChecked
-
validateCheckBoxUnchecked
-
checkAndValidateChecked
-
uncheckAndValidateUnchecked
-
isDisabled
public abstract boolean isDisabled(int maxIterationsToLocateElements) -
validateDisabled
-
validateEnabled
-
isDisabledButNotReadonly
public abstract boolean isDisabledButNotReadonly(int maxIterationsToLocateElements) -
validateDisabledButNotReadonly
public abstract CheckBoxValidator validateDisabledButNotReadonly(int maxIterationsToLocateElements) -
validateEnabledButNotReadonly
-