Class LabelValidatorSI
- java.lang.Object
-
- org.uitnet.testing.smartfwk.ui.core.objects.UIObjectValidator
-
- org.uitnet.testing.smartfwk.ui.core.objects.label.LabelValidator
-
- org.uitnet.testing.smartfwk.ui.standard.imgobj.LabelValidatorSI
-
public class LabelValidatorSI extends LabelValidator
- Author:
- Madhav Krishna
-
-
Constructor Summary
Constructors Constructor Description LabelValidatorSI(SmartAppDriver appDriver, LabelSI uiObject, org.sikuli.script.Region region)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description LabelValidatorSIclick(int maxIterationsToLocateElements)LabelValidatorSIclick(ImageSection imageSection, int maxIterationsToLocateElements)LabelValidatorSIclickAndHold(int maxIterationsToLocateElements)LabelValidatorSIdoubleClick(int maxIterationsToLocateElements)LabelValidatorSIdoubleClick(ImageSection imageSection, int maxIterationsToLocateElements)LabelValidatorSIdragAndDrop(ImageObject target, org.sikuli.script.Region targetRegion, int maxIterationsToLocateElements)org.sikuli.script.MatchfindElement(int maxIterationsToLocateElements)org.sikuli.script.MatchfindElementNoException(int maxIterationsToLocateElements)List<org.sikuli.script.Match>findElements(int maxIterationsToLocateElements)protected org.sikuli.script.LocationgetImageSection(org.sikuli.script.Match imageMatch, ImageSection imageSection)org.openqa.selenium.interactions.ActionsgetNewSeleniumActions()Deprecated.StringgetValue(int maxIterationsToLocateElements)booleanisPresent(int maxIterationsToLocateElements)booleanisVisible(int maxIterationsToLocateElements)LabelValidatorSIperformKeyDown(org.openqa.selenium.Keys keys, int maxIterationsToLocateElements)LabelValidatorSIperformKeyPressed(org.openqa.selenium.Keys keys, int maxIterationsToLocateElements)LabelValidatorSIperformKeyUp(org.openqa.selenium.Keys keys, int maxIterationsToLocateElements)LabelValidatorSIrelease(int maxIterationsToLocateElements)LabelValidatorSIrightClick(int maxIterationsToLocateElements)LabelValidatorSIrightClick(ImageSection imageSection, int maxIterationsToLocateElements)LabelValidatorSIscrollElementOnViewport(Scrollbar scrollbar)LabelValidatorSItypeText(String text, NewTextLocation location, int maxIterationsToLocateElements)Deprecated.LabelValidatorSIvalidateValue(String expectedName, TextMatchMechanism validationMechanism, int maxIterationsToLocateElements)-
Methods inherited from class org.uitnet.testing.smartfwk.ui.core.objects.label.LabelValidator
getUIObject
-
Methods inherited from class org.uitnet.testing.smartfwk.ui.core.objects.UIObjectValidator
getRegion, geUIObjectType, matchTextValue, performAction, seleniumToSikuliKeyConverter, validateHidden, validateNotPresent, validateNotVisible, validatePresent, validateTextValue, validateVisible
-
-
-
-
Field Detail
-
labelObj
protected LabelSI labelObj
-
-
Constructor Detail
-
LabelValidatorSI
public LabelValidatorSI(SmartAppDriver appDriver, LabelSI uiObject, org.sikuli.script.Region region)
-
-
Method Detail
-
validateValue
public LabelValidatorSI validateValue(String expectedName, TextMatchMechanism validationMechanism, int maxIterationsToLocateElements)
- Specified by:
validateValuein classLabelValidator
-
getValue
public String getValue(int maxIterationsToLocateElements)
- Specified by:
getValuein classLabelValidator
-
isPresent
public boolean isPresent(int maxIterationsToLocateElements)
- Specified by:
isPresentin classUIObjectValidator
-
isVisible
public boolean isVisible(int maxIterationsToLocateElements)
- Specified by:
isVisiblein classUIObjectValidator
-
click
public LabelValidatorSI click(int maxIterationsToLocateElements)
- Specified by:
clickin classUIObjectValidator
-
click
public LabelValidatorSI click(ImageSection imageSection, int maxIterationsToLocateElements)
-
doubleClick
public LabelValidatorSI doubleClick(int maxIterationsToLocateElements)
- Specified by:
doubleClickin classUIObjectValidator
-
doubleClick
public LabelValidatorSI doubleClick(ImageSection imageSection, int maxIterationsToLocateElements)
-
rightClick
public LabelValidatorSI rightClick(int maxIterationsToLocateElements)
- Specified by:
rightClickin classUIObjectValidator
-
rightClick
public LabelValidatorSI rightClick(ImageSection imageSection, int maxIterationsToLocateElements)
-
clickAndHold
public LabelValidatorSI clickAndHold(int maxIterationsToLocateElements)
- Specified by:
clickAndHoldin classUIObjectValidator
-
release
public LabelValidatorSI release(int maxIterationsToLocateElements)
- Specified by:
releasein classUIObjectValidator
-
performKeyDown
public LabelValidatorSI performKeyDown(org.openqa.selenium.Keys keys, int maxIterationsToLocateElements)
- Specified by:
performKeyDownin classUIObjectValidator
-
performKeyUp
public LabelValidatorSI performKeyUp(org.openqa.selenium.Keys keys, int maxIterationsToLocateElements)
- Specified by:
performKeyUpin classUIObjectValidator
-
performKeyPressed
public LabelValidatorSI performKeyPressed(org.openqa.selenium.Keys keys, int maxIterationsToLocateElements)
- Specified by:
performKeyPressedin classUIObjectValidator
-
typeText
@Deprecated public LabelValidatorSI typeText(String text, NewTextLocation location, int maxIterationsToLocateElements)
Deprecated.- Specified by:
typeTextin classUIObjectValidator
-
scrollElementOnViewport
public LabelValidatorSI scrollElementOnViewport(Scrollbar scrollbar)
- Specified by:
scrollElementOnViewportin classUIObjectValidator
-
findElement
public org.sikuli.script.Match findElement(int maxIterationsToLocateElements)
- Specified by:
findElementin classUIObjectValidator
-
findElementNoException
public org.sikuli.script.Match findElementNoException(int maxIterationsToLocateElements)
- Specified by:
findElementNoExceptionin classUIObjectValidator
-
findElements
public List<org.sikuli.script.Match> findElements(int maxIterationsToLocateElements)
- Specified by:
findElementsin classUIObjectValidator
-
dragAndDrop
public LabelValidatorSI dragAndDrop(ImageObject target, org.sikuli.script.Region targetRegion, int maxIterationsToLocateElements)
-
getImageSection
protected org.sikuli.script.Location getImageSection(org.sikuli.script.Match imageMatch, ImageSection imageSection)
-
getNewSeleniumActions
@Deprecated public org.openqa.selenium.interactions.Actions getNewSeleniumActions()
Deprecated.- Specified by:
getNewSeleniumActionsin classUIObjectValidator
-
-