Class ImageSI
- java.lang.Object
-
- org.uitnet.testing.smartfwk.ui.core.objects.UIObject
-
- org.uitnet.testing.smartfwk.ui.core.objects.image.Image
-
- org.uitnet.testing.smartfwk.ui.standard.imgobj.ImageSI
-
public class ImageSI extends Image
- Author:
- Madhav Krishna
-
-
Field Summary
Fields Modifier and Type Field Description protected ObjectLocationimageLocationprotected Map<String,String>platformImages-
Fields inherited from class org.uitnet.testing.smartfwk.ui.core.objects.UIObject
displayName, locatorType, uiObjectType
-
-
Constructor Summary
Constructors Constructor Description ImageSI(String displayName, String image, ObjectLocation imageLocation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImageSIaddPlatformImageForNativeApp(PlatformType platform, String image)ImageSIaddPlatformImageForWebApp(PlatformType platform, WebBrowserType browserType, String image)ImageSIclone()StringgetImage(PlatformType platform, ApplicationType appType, WebBrowserType browserType)ObjectLocationgetImageLocation()ImageValidatorSIgetValidator(SmartCucumberScenarioContext scenarioContext, org.sikuli.script.Region region)ImageValidatorSIgetValidator(SmartAppDriver appDriver, org.sikuli.script.Region region)ImageSIupdateLocatorParameterWithValue(String paramName, String paramValue)-
Methods inherited from class org.uitnet.testing.smartfwk.ui.core.objects.UIObject
getDisplayName, getLocatorType, getType
-
-
-
-
Field Detail
-
imageLocation
protected ObjectLocation imageLocation
-
-
Constructor Detail
-
ImageSI
public ImageSI(String displayName, String image, ObjectLocation imageLocation)
-
-
Method Detail
-
addPlatformImageForNativeApp
public ImageSI addPlatformImageForNativeApp(PlatformType platform, String image)
-
addPlatformImageForWebApp
public ImageSI addPlatformImageForWebApp(PlatformType platform, WebBrowserType browserType, String image)
-
getImage
public String getImage(PlatformType platform, ApplicationType appType, WebBrowserType browserType)
-
getImageLocation
public ObjectLocation getImageLocation()
-
getValidator
public ImageValidatorSI getValidator(SmartAppDriver appDriver, org.sikuli.script.Region region)
- Specified by:
getValidatorin classImage
-
getValidator
public ImageValidatorSI getValidator(SmartCucumberScenarioContext scenarioContext, org.sikuli.script.Region region)
- Specified by:
getValidatorin classImage
-
updateLocatorParameterWithValue
public ImageSI updateLocatorParameterWithValue(String paramName, String paramValue)
- Specified by:
updateLocatorParameterWithValuein classUIObject
-
-