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>platformImagesFields 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
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(SmartAppDriver appDriver, org.sikuli.script.Region region)ButtonValidatorSIgetValidator(SmartCucumberUiScenarioContext scenarioContext, org.sikuli.script.Region region)ButtonSIupdateLocatorParameterWithValue(AppConfig appConfig, String paramName, String paramValue)Methods inherited from class org.uitnet.testing.smartfwk.ui.core.objects.UIObject
getDisplayName, getLocatorType, getType
-
Field Details
-
platformImages
-
buttonImgLocation
-
-
Constructor Details
-
ButtonSI
-
-
Method Details
-
addPlatformImageForNativeApp
-
addPlatformImageForWebApp
public ButtonSI addPlatformImageForWebApp(PlatformType platform, WebBrowserType browserType, String buttonImg) -
getButtonImage
public String getButtonImage(PlatformType platform, ApplicationType appType, WebBrowserType browserType) -
getButtonImageLocation
-
getValidator
- Specified by:
getValidatorin classButton
-
getValidator
public ButtonValidatorSI getValidator(SmartCucumberUiScenarioContext scenarioContext, org.sikuli.script.Region region)- Specified by:
getValidatorin classButton
-
clone
-
updateLocatorParameterWithValue
public ButtonSI updateLocatorParameterWithValue(AppConfig appConfig, String paramName, String paramValue)- Specified by:
updateLocatorParameterWithValuein classUIObject
-