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
-
Field Summary
Fields inherited from class org.uitnet.testing.smartfwk.ui.core.objects.UIObjectValidator
appDriver, region, uiObject -
Constructor Summary
Constructors Constructor Description LabelValidatorSI(SmartAppDriver appDriver, LabelSI uiObject, org.sikuli.script.Region region) -
Method Summary
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)LabelValidatorSIforceClick(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)LabelValidatorSImouseHoverOver(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(ScrollbarSI scrollbar)LabelValidatorSItypeText(String text, NewTextLocation location, int maxIterationsToLocateElements)Deprecated.LabelValidatorSIvalidateElementPresentWithinArea(AreaCoordinates coordinates, int maxIterationsToLocateElements)LabelValidatorSIvalidateValue(String expectedName, TextMatchMechanism validationMechanism, int maxIterationsToLocateElements)Methods inherited from class org.uitnet.testing.smartfwk.ui.core.objects.label.LabelValidator
getUIObjectMethods inherited from class org.uitnet.testing.smartfwk.ui.core.objects.UIObjectValidator
getRegion, geUIObjectType, matchTextValue, performAction, seleniumToSikuliKeyConverter, sendCommandKeys, validateHidden, validateNotPresent, validateNotVisible, validatePresent, validateTextValue, validateVisible
-
Field Details
-
labelObj
-
-
Constructor Details
-
LabelValidatorSI
public LabelValidatorSI(SmartAppDriver appDriver, LabelSI uiObject, org.sikuli.script.Region region)
-
-
Method Details
-
validateValue
public LabelValidatorSI validateValue(String expectedName, TextMatchMechanism validationMechanism, int maxIterationsToLocateElements)- Specified by:
validateValuein classLabelValidator
-
getValue
- 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
- Specified by:
clickin classUIObjectValidator
-
forceClick
- Specified by:
forceClickin classUIObjectValidator
-
click
-
doubleClick
- Specified by:
doubleClickin classUIObjectValidator
-
doubleClick
-
rightClick
- Specified by:
rightClickin classUIObjectValidator
-
rightClick
-
clickAndHold
- Specified by:
clickAndHoldin classUIObjectValidator
-
release
- Specified by:
releasein classUIObjectValidator
-
mouseHoverOver
- Specified by:
mouseHoverOverin 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
- 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
- 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) -
validateElementPresentWithinArea
public LabelValidatorSI validateElementPresentWithinArea(AreaCoordinates coordinates, int maxIterationsToLocateElements)- Specified by:
validateElementPresentWithinAreain classUIObjectValidator
-
getNewSeleniumActions
Deprecated.- Specified by:
getNewSeleniumActionsin classUIObjectValidator
-