Class LabelValidatorSD
- 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.domobj.LabelValidatorSD
-
public class LabelValidatorSD extends LabelValidator
- Author:
- Madhav Krishna
-
-
Field Summary
Fields Modifier and Type Field Description protected DOMObjectValidatordomObjValidator-
Fields inherited from class org.uitnet.testing.smartfwk.ui.core.objects.UIObjectValidator
appDriver, region, uiObject
-
-
Constructor Summary
Constructors Constructor Description LabelValidatorSD(SmartAppDriver appDriver, LabelSD uiObject, org.sikuli.script.Region region)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LabelValidatorSDclick(int maxIterationsToLocateElements)LabelValidatorSDclickAndHold(int maxIterationsToLocateElements)LabelValidatorSDdoubleClick(int maxIterationsToLocateElements)org.openqa.selenium.WebElementfindElement(int maxIterationsToLocateElements)org.openqa.selenium.WebElementfindElementNoException(int maxIterationsToLocateElements)List<org.openqa.selenium.WebElement>findElements(int maxIterationsToLocateElements)LabelValidatorSDforceClick(int maxIterationsToLocateElements)DOMObjectValidatorgetDOMObjectValidator()org.openqa.selenium.interactions.ActionsgetNewSeleniumActions()StringgetValue(int maxIterationsToLocateElements)booleanisPresent(int maxIterationsToLocateElements)booleanisVisible(int maxIterationsToLocateElements)LabelValidatorSDmouseHoverOver(int maxIterationsToLocateElements)LabelValidatorSDperformKeyDown(org.openqa.selenium.Keys keys, int maxIterationsToLocateElements)LabelValidatorSDperformKeyPressed(org.openqa.selenium.Keys keys, int maxIterationsToLocateElements)LabelValidatorSDperformKeyUp(org.openqa.selenium.Keys keys, int maxIterationsToLocateElements)LabelValidatorSDrelease(int maxIterationsToLocateElements)LabelValidatorSDrightClick(int maxIterationsToLocateElements)LabelValidatorSDscrollElementOnViewport(Scrollbar scrollbar)LabelValidatorSDtypeText(String textToType, NewTextLocation location, int maxIterationsToLocateElements)LabelValidatorSDvalidateValue(String expectedValue, 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, sendCommandKeys, validateHidden, validateNotPresent, validateNotVisible, validatePresent, validateTextValue, validateVisible
-
-
-
-
Field Detail
-
domObjValidator
protected DOMObjectValidator domObjValidator
-
-
Constructor Detail
-
LabelValidatorSD
public LabelValidatorSD(SmartAppDriver appDriver, LabelSD uiObject, org.sikuli.script.Region region)
-
-
Method Detail
-
getDOMObjectValidator
public DOMObjectValidator getDOMObjectValidator()
-
typeText
public LabelValidatorSD typeText(String textToType, NewTextLocation location, int maxIterationsToLocateElements)
- Specified by:
typeTextin classUIObjectValidator
-
isPresent
public boolean isPresent(int maxIterationsToLocateElements)
- Specified by:
isPresentin classUIObjectValidator
-
isVisible
public boolean isVisible(int maxIterationsToLocateElements)
- Specified by:
isVisiblein classUIObjectValidator
-
click
public LabelValidatorSD click(int maxIterationsToLocateElements)
- Specified by:
clickin classUIObjectValidator
-
forceClick
public LabelValidatorSD forceClick(int maxIterationsToLocateElements)
- Specified by:
forceClickin classUIObjectValidator
-
doubleClick
public LabelValidatorSD doubleClick(int maxIterationsToLocateElements)
- Specified by:
doubleClickin classUIObjectValidator
-
rightClick
public LabelValidatorSD rightClick(int maxIterationsToLocateElements)
- Specified by:
rightClickin classUIObjectValidator
-
clickAndHold
public LabelValidatorSD clickAndHold(int maxIterationsToLocateElements)
- Specified by:
clickAndHoldin classUIObjectValidator
-
release
public LabelValidatorSD release(int maxIterationsToLocateElements)
- Specified by:
releasein classUIObjectValidator
-
mouseHoverOver
public LabelValidatorSD mouseHoverOver(int maxIterationsToLocateElements)
- Specified by:
mouseHoverOverin classUIObjectValidator
-
performKeyDown
public LabelValidatorSD performKeyDown(org.openqa.selenium.Keys keys, int maxIterationsToLocateElements)
- Specified by:
performKeyDownin classUIObjectValidator
-
performKeyUp
public LabelValidatorSD performKeyUp(org.openqa.selenium.Keys keys, int maxIterationsToLocateElements)
- Specified by:
performKeyUpin classUIObjectValidator
-
performKeyPressed
public LabelValidatorSD performKeyPressed(org.openqa.selenium.Keys keys, int maxIterationsToLocateElements)
- Specified by:
performKeyPressedin classUIObjectValidator
-
scrollElementOnViewport
public LabelValidatorSD scrollElementOnViewport(Scrollbar scrollbar)
- Specified by:
scrollElementOnViewportin classUIObjectValidator
-
validateValue
public LabelValidatorSD validateValue(String expectedValue, TextMatchMechanism validationMechanism, int maxIterationsToLocateElements)
- Specified by:
validateValuein classLabelValidator
-
getValue
public String getValue(int maxIterationsToLocateElements)
- Specified by:
getValuein classLabelValidator
-
findElement
public org.openqa.selenium.WebElement findElement(int maxIterationsToLocateElements)
- Specified by:
findElementin classUIObjectValidator
-
findElementNoException
public org.openqa.selenium.WebElement findElementNoException(int maxIterationsToLocateElements)
- Specified by:
findElementNoExceptionin classUIObjectValidator
-
findElements
public List<org.openqa.selenium.WebElement> findElements(int maxIterationsToLocateElements)
- Specified by:
findElementsin classUIObjectValidator
-
getNewSeleniumActions
public org.openqa.selenium.interactions.Actions getNewSeleniumActions()
- Specified by:
getNewSeleniumActionsin classUIObjectValidator
-
-