Class LabelValidator
- java.lang.Object
-
- org.uitnet.testing.smartfwk.ui.core.objects.UIObjectValidator
-
- org.uitnet.testing.smartfwk.ui.core.objects.label.LabelValidator
-
- Direct Known Subclasses:
LabelValidatorSD,LabelValidatorSI,WebPageTitleValidatorSD
public abstract class LabelValidator 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 LabelValidator(SmartAppDriver appDriver, Label uiObject, org.sikuli.script.Region region)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description LabelgetUIObject()abstract StringgetValue(int maxIterationsToLocateElements)abstract LabelValidatorvalidateValue(String expectedValue, TextMatchMechanism validationMechanism, 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, validateHidden, validateNotPresent, validateNotVisible, validatePresent, validateTextValue, validateVisible
-
-
-
-
Constructor Detail
-
LabelValidator
public LabelValidator(SmartAppDriver appDriver, Label uiObject, org.sikuli.script.Region region)
-
-
Method Detail
-
getUIObject
public Label getUIObject()
- Overrides:
getUIObjectin classUIObjectValidator
-
validateValue
public abstract LabelValidator validateValue(String expectedValue, TextMatchMechanism validationMechanism, int maxIterationsToLocateElements)
-
getValue
public abstract String getValue(int maxIterationsToLocateElements)
-
-