Class DOMObject
java.lang.Object
org.uitnet.testing.smartfwk.ui.core.objects.UIObject
org.uitnet.testing.smartfwk.ui.core.objects.DOMObject
public class DOMObject extends UIObject
- Author:
- Madhav Krishna
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,Locator>platFormLocatorsFields inherited from class org.uitnet.testing.smartfwk.ui.core.objects.UIObject
displayName, locatorType, uiObjectType -
Constructor Summary
-
Method Summary
Modifier and Type Method Description DOMObjectaddPlatformLocatorForNativeApp(PlatformType platform, LocateBy locateBy, String locatorValue)DOMObjectaddPlatformLocatorForWebApp(PlatformType platform, WebBrowserType browserType, LocateBy locateBy, String locatorValue)DOMObjectclone()LocatorgetLocator(PlatformType platform, ApplicationType appType, WebBrowserType browserType)Map<String,Locator>getPlatformLocators()UIObjectValidatorgetValidator(SmartCucumberScenarioContext scenarioContext, org.sikuli.script.Region region)DOMObjectValidatorgetValidator(SmartAppDriver appDriver, org.sikuli.script.Region region)DOMObjectupdateLocatorParameterWithValue(String paramName, String paramValue)Methods inherited from class org.uitnet.testing.smartfwk.ui.core.objects.UIObject
getDisplayName, getLocatorType, getType
-
Field Details
-
platFormLocators
-
-
Constructor Details
-
DOMObject
-
DOMObject
-
DOMObject
-
-
Method Details
-
addPlatformLocatorForNativeApp
public DOMObject addPlatformLocatorForNativeApp(PlatformType platform, LocateBy locateBy, String locatorValue) -
addPlatformLocatorForWebApp
public DOMObject addPlatformLocatorForWebApp(PlatformType platform, WebBrowserType browserType, LocateBy locateBy, String locatorValue) -
getLocator
public Locator getLocator(PlatformType platform, ApplicationType appType, WebBrowserType browserType) -
getPlatformLocators
-
updateLocatorParameterWithValue
- Specified by:
updateLocatorParameterWithValuein classUIObject
-
getValidator
- Specified by:
getValidatorin classUIObject
-
getValidator
public UIObjectValidator getValidator(SmartCucumberScenarioContext scenarioContext, org.sikuli.script.Region region)- Specified by:
getValidatorin classUIObject
-
clone
-