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>platformImagesFields 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
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(AppConfig appConfig, String paramName, String paramValue)Methods inherited from class org.uitnet.testing.smartfwk.ui.core.objects.UIObject
getDisplayName, getLocatorType, getType
-
Field Details
-
platformImages
-
labelImgLocation
-
-
Constructor Details
-
LabelSI
-
-
Method Details
-
addPlatformImageForNativeApp
-
addPlatformImageForWebApp
public LabelSI addPlatformImageForWebApp(PlatformType platform, WebBrowserType browserType, String labelImg) -
getLabelImage
public String getLabelImage(PlatformType platform, ApplicationType appType, WebBrowserType browserType) -
getLabelImageLocation
-
getValidator
- Specified by:
getValidatorin classLabel
-
getValidator
public LabelValidatorSI getValidator(SmartCucumberUiScenarioContext scenarioContext, org.sikuli.script.Region region)- Specified by:
getValidatorin classLabel
-
clone
-
updateLocatorParameterWithValue
public LabelSI updateLocatorParameterWithValue(AppConfig appConfig, String paramName, String paramValue)- Specified by:
updateLocatorParameterWithValuein classUIObject
-