Class LabelSI
- java.lang.Object
-
- org.uitnet.testing.smartfwk.ui.core.objects.UIObject
-
- org.uitnet.testing.smartfwk.ui.core.objects.label.Label
-
- org.uitnet.testing.smartfwk.ui.standard.imgobj.LabelSI
-
public class LabelSI extends Label
- Author:
- Madhav Krishna
-
-
Field Summary
Fields Modifier and Type Field Description protected ObjectLocationlabelImgLocationprotected Map<String,String>platformImages-
Fields inherited from class org.uitnet.testing.smartfwk.ui.core.objects.UIObject
displayName, locatorType, uiObjectType
-
-
Constructor Summary
Constructors Constructor Description LabelSI(String displayName, String labelImg, ObjectLocation labelImgLocation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LabelSIaddPlatformImageForNativeApp(PlatformType platform, String labelImg)LabelSIaddPlatformImageForWebApp(PlatformType platform, WebBrowserType browserType, String labelImg)LabelSIclone()StringgetLabelImage(PlatformType platform, ApplicationType appType, WebBrowserType browserType)ObjectLocationgetLabelImageLocation()LabelValidatorSIgetValidator(SmartAppDriver appDriver, org.sikuli.script.Region region)LabelValidatorSIgetValidator(SmartCucumberUiScenarioContext scenarioContext, org.sikuli.script.Region region)LabelSIupdateLocatorParameterWithValue(String paramName, String paramValue)-
Methods inherited from class org.uitnet.testing.smartfwk.ui.core.objects.UIObject
getDisplayName, getLocatorType, getType
-
-
-
-
Field Detail
-
labelImgLocation
protected ObjectLocation labelImgLocation
-
-
Constructor Detail
-
LabelSI
public LabelSI(String displayName, String labelImg, ObjectLocation labelImgLocation)
-
-
Method Detail
-
addPlatformImageForNativeApp
public LabelSI addPlatformImageForNativeApp(PlatformType platform, String labelImg)
-
addPlatformImageForWebApp
public LabelSI addPlatformImageForWebApp(PlatformType platform, WebBrowserType browserType, String labelImg)
-
getLabelImage
public String getLabelImage(PlatformType platform, ApplicationType appType, WebBrowserType browserType)
-
getLabelImageLocation
public ObjectLocation getLabelImageLocation()
-
getValidator
public LabelValidatorSI getValidator(SmartAppDriver appDriver, org.sikuli.script.Region region)
- Specified by:
getValidatorin classLabel
-
getValidator
public LabelValidatorSI getValidator(SmartCucumberUiScenarioContext scenarioContext, org.sikuli.script.Region region)
- Specified by:
getValidatorin classLabel
-
updateLocatorParameterWithValue
public LabelSI updateLocatorParameterWithValue(String paramName, String paramValue)
- Specified by:
updateLocatorParameterWithValuein classUIObject
-
-