Class ImageValidatorSI
- java.lang.Object
-
- org.uitnet.testing.smartfwk.ui.core.objects.UIObjectValidator
-
- org.uitnet.testing.smartfwk.ui.core.objects.image.ImageValidator
-
- org.uitnet.testing.smartfwk.ui.standard.imgobj.ImageValidatorSI
-
public class ImageValidatorSI extends ImageValidator
- Author:
- Madhav Krishna
-
-
Constructor Summary
Constructors Constructor Description ImageValidatorSI(SmartAppDriver appDriver, ImageSI uiObject, org.sikuli.script.Region region)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ImageValidatorSIclick(int maxIterationsToLocateElements)ImageValidatorSIclick(ImageSection imageSection, int maxIterationsToLocateElements)ImageValidatorSIclickAndHold(int maxIterationsToLocateElements)ImageValidatorSIdoubleClick(int maxIterationsToLocateElements)ImageValidatorSIdoubleClick(ImageSection imageSection, int maxIterationsToLocateElements)ImageValidatorSIdragAndDrop(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)ImageValidatorSIforceClick(int maxIterationsToLocateElements)protected org.sikuli.script.LocationgetImageSection(org.sikuli.script.Match imageMatch, ImageSection imageSection)org.openqa.selenium.interactions.ActionsgetNewSeleniumActions()Deprecated.booleanisPresent(int maxIterationsToLocateElements)booleanisVisible(int maxIterationsToLocateElements)ImageValidatorSImouseHoverOver(int maxIterationsToLocateElements)ImageValidatorSIperformKeyDown(org.openqa.selenium.Keys keys, int maxIterationsToLocateElements)ImageValidatorSIperformKeyPressed(org.openqa.selenium.Keys keys, int maxIterationsToLocateElements)ImageValidatorSIperformKeyUp(org.openqa.selenium.Keys keys, int maxIterationsToLocateElements)ImageValidatorSIrelease(int maxIterationsToLocateElements)ImageValidatorSIrightClick(int maxIterationsToLocateElements)ImageValidatorSIrightClick(ImageSection imageSection, int maxIterationsToLocateElements)ImageValidatorSIscrollElementOnViewport(Scrollbar scrollbar)ImageValidatorSItypeText(String text, NewTextLocation location, int maxIterationsToLocateElements)Deprecated.-
Methods inherited from class org.uitnet.testing.smartfwk.ui.core.objects.image.ImageValidator
getUIObject
-
Methods inherited from class org.uitnet.testing.smartfwk.ui.core.objects.UIObjectValidator
getRegion, geUIObjectType, matchTextValue, performAction, seleniumToSikuliKeyConverter, sendCommandKeys, validateHidden, validateNotPresent, validateNotVisible, validatePresent, validateTextValue, validateVisible
-
-
-
-
Field Detail
-
imageObj
protected ImageSI imageObj
-
-
Constructor Detail
-
ImageValidatorSI
public ImageValidatorSI(SmartAppDriver appDriver, ImageSI uiObject, org.sikuli.script.Region region)
-
-
Method Detail
-
isPresent
public boolean isPresent(int maxIterationsToLocateElements)
- Specified by:
isPresentin classUIObjectValidator
-
isVisible
public boolean isVisible(int maxIterationsToLocateElements)
- Specified by:
isVisiblein classUIObjectValidator
-
click
public ImageValidatorSI click(int maxIterationsToLocateElements)
- Specified by:
clickin classUIObjectValidator
-
forceClick
public ImageValidatorSI forceClick(int maxIterationsToLocateElements)
- Specified by:
forceClickin classUIObjectValidator
-
click
public ImageValidatorSI click(ImageSection imageSection, int maxIterationsToLocateElements)
-
doubleClick
public ImageValidatorSI doubleClick(int maxIterationsToLocateElements)
- Specified by:
doubleClickin classUIObjectValidator
-
doubleClick
public ImageValidatorSI doubleClick(ImageSection imageSection, int maxIterationsToLocateElements)
-
rightClick
public ImageValidatorSI rightClick(int maxIterationsToLocateElements)
- Specified by:
rightClickin classUIObjectValidator
-
rightClick
public ImageValidatorSI rightClick(ImageSection imageSection, int maxIterationsToLocateElements)
-
clickAndHold
public ImageValidatorSI clickAndHold(int maxIterationsToLocateElements)
- Specified by:
clickAndHoldin classUIObjectValidator
-
release
public ImageValidatorSI release(int maxIterationsToLocateElements)
- Specified by:
releasein classUIObjectValidator
-
mouseHoverOver
public ImageValidatorSI mouseHoverOver(int maxIterationsToLocateElements)
- Specified by:
mouseHoverOverin classUIObjectValidator
-
performKeyDown
public ImageValidatorSI performKeyDown(org.openqa.selenium.Keys keys, int maxIterationsToLocateElements)
- Specified by:
performKeyDownin classUIObjectValidator
-
performKeyUp
public ImageValidatorSI performKeyUp(org.openqa.selenium.Keys keys, int maxIterationsToLocateElements)
- Specified by:
performKeyUpin classUIObjectValidator
-
performKeyPressed
public ImageValidatorSI performKeyPressed(org.openqa.selenium.Keys keys, int maxIterationsToLocateElements)
- Specified by:
performKeyPressedin classUIObjectValidator
-
typeText
@Deprecated public ImageValidatorSI typeText(String text, NewTextLocation location, int maxIterationsToLocateElements)
Deprecated.- Specified by:
typeTextin classUIObjectValidator
-
scrollElementOnViewport
public ImageValidatorSI 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 ImageValidatorSI 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
-
-