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
browser, region, uiObject -
Constructor Summary
Constructors Constructor Description LabelValidator(WebBrowser browser, Label uiObject, org.sikuli.script.Region region) -
Method Summary
Modifier and Type Method Description LabelgetUIObject()abstract StringgetValue(int numRetries)abstract voidvalidateValue(String expectedValue, TextMatchMechanism validationMechanism, int numRetries)Methods inherited from class org.uitnet.testing.smartfwk.ui.core.objects.UIObjectValidator
click, clickAndHold, doubleClick, findElement, findElementNoException, findElements, getRegion, geUIObjectType, isPresent, isVisible, matchTextValue, performAction, performKeyDown, performKeyPressed, performKeyUp, release, rightClick, scrollElementOnViewport, seleniumToSikuliKeyConverter, typeText, validateHidden, validateNotPresent, validatePresent, validateTextValue, validateVisible
-
Constructor Details
-
LabelValidator
-
-
Method Details
-
getUIObject
- Overrides:
getUIObjectin classUIObjectValidator
-
validateValue
public abstract void validateValue(String expectedValue, TextMatchMechanism validationMechanism, int numRetries) -
getValue
-