Class ButtonSI
- java.lang.Object
-
- org.uitnet.testing.smartfwk.ui.core.objects.UIObject
-
- org.uitnet.testing.smartfwk.ui.core.objects.button.Button
-
- org.uitnet.testing.smartfwk.ui.standard.imgobj.ButtonSI
-
public class ButtonSI extends Button
- Author:
- Madhav Krishna
-
-
Field Summary
Fields Modifier and Type Field Description protected ObjectLocationbuttonImgLocationprotected Map<String,String>platformImages-
Fields inherited from class org.uitnet.testing.smartfwk.ui.core.objects.UIObject
displayName, locatorType, uiObjectType
-
-
Constructor Summary
Constructors Constructor Description ButtonSI(String displayName, String buttonImg, ObjectLocation buttonImgLocation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ButtonSIaddPlatformImageForNativeApp(PlatformType platform, String buttonImg)ButtonSIaddPlatformImageForWebApp(PlatformType platform, WebBrowserType browserType, String buttonImg)ButtonSIclone()StringgetButtonImage(PlatformType platform, ApplicationType appType, WebBrowserType browserType)ObjectLocationgetButtonImageLocation()ButtonValidatorSIgetValidator(SmartCucumberScenarioContext scenarioContext, org.sikuli.script.Region region)ButtonValidatorSIgetValidator(SmartAppDriver appDriver, org.sikuli.script.Region region)ButtonSIupdateLocatorParameterWithValue(String paramName, String paramValue)-
Methods inherited from class org.uitnet.testing.smartfwk.ui.core.objects.UIObject
getDisplayName, getLocatorType, getType
-
-
-
-
Field Detail
-
buttonImgLocation
protected ObjectLocation buttonImgLocation
-
-
Constructor Detail
-
ButtonSI
public ButtonSI(String displayName, String buttonImg, ObjectLocation buttonImgLocation)
-
-
Method Detail
-
addPlatformImageForNativeApp
public ButtonSI addPlatformImageForNativeApp(PlatformType platform, String buttonImg)
-
addPlatformImageForWebApp
public ButtonSI addPlatformImageForWebApp(PlatformType platform, WebBrowserType browserType, String buttonImg)
-
getButtonImage
public String getButtonImage(PlatformType platform, ApplicationType appType, WebBrowserType browserType)
-
getButtonImageLocation
public ObjectLocation getButtonImageLocation()
-
getValidator
public ButtonValidatorSI getValidator(SmartAppDriver appDriver, org.sikuli.script.Region region)
- Specified by:
getValidatorin classButton
-
getValidator
public ButtonValidatorSI getValidator(SmartCucumberScenarioContext scenarioContext, org.sikuli.script.Region region)
- Specified by:
getValidatorin classButton
-
updateLocatorParameterWithValue
public ButtonSI updateLocatorParameterWithValue(String paramName, String paramValue)
- Specified by:
updateLocatorParameterWithValuein classUIObject
-
-