public class HtmlDomainProxy extends DomainProxy implements IHtmlCustomDomainEnablement, IGetInterestingRecogProsForDynFind
HtmlTestDomainImplementation.
DomainTestObject
BROWSERTABTESTOBJECT_CLASSNAME, BROWSERTESTOBJECT_CLASSNAME, COLORDIALOGTESTOBJECT_CLASSNAME, CROSSDOMAINCONTAINER_CLASSNAME, debug, DOCUMENTTESTOBJECT_CLASSNAME, DOMAINTESTOBJECT_CLASSNAME, ECLIPSETOPLEVELTESTOBJECT_CLASSNAME, EMBEDDEDBROWSERTESTOBJECT_CLASSNAME, FILEDIALOGTESTOBJECT_CLASSNAME, FRAMESUBITEMTESTOBJECT_CLASSNAME, FRAMETESTOBJECT_CLASSNAME, GEFEDITPARTTESTOBJECT_CLASSNAME, GUISUBITEMTESTOBJECT_CLASSNAME, GUITESTOBJECT_CLASSNAME, INTERNALFRAMETESTOBJECT_CLASSNAME, MESSAGEBOXTESTOBJECT_CLASSNAME, PALETTEGUISUBITEMTESTOBJECT_CLASSNAME, PROCESSTESTOBJECT_CLASSNAME, SCROLLSUBITEMTESTOBJECT_CLASSNAME, SCROLLTESTOBJECT_CLASSNAME, SELECTGUISUBITEMTESTOBJECT_CLASSNAME, SELECTSCROLLGUISUBITEMTESTOBJECT_CLASSNAME, SHELLTESTOBJECT_CLASSNAME, STATELESSGUISUBITEMTESTOBJECT_CLASSNAME, SUBITEMTESTOBJECT_CLASSNAME, TABITEMTESTOBJECT_CLASSNAME, TESTOBJECT_CLASSNAME, TEXTGUISUBITEMTESTOBJECT_CLASSNAME, TEXTGUITESTOBJECT_CLASSNAME, TEXTSCROLLTESTOBJECT_CLASSNAME, TEXTSELECTGUISUBITEMTESTOBJECT_CLASSNAME, TIMEOUTTESTOBJECT_CLASSNAME, TOGGLEGUITESTOBJECT_CLASSNAME, TOGGLETESTOBJECT_CLASSNAME, TOPLEVELSUBITEMTESTOBJECT_CLASSNAME, TOPLEVELTESTOBJECT_CLASSNAME, TRACKBARTESTOBJECT_CLASSNAME, vomClippedRectangleCUSTOM_DOMAIN_LIST, DOJO_CUSTOM_DOMAIN_NAME, SAPWEBPORTAL_CUSTOM_DOMAIN_NAMEINCLUDE_ALL, INCLUDE_JUSTOBJECT, INCLUDE_SIBLINGS| Constructor and Description |
|---|
HtmlDomainProxy(java.lang.Object theObjectInTheSUT)
Sets the object
as a member variable for the proxy.
|
| Modifier and Type | Method and Description |
|---|---|
void |
adjustCustomDomains(FindPropertySet fps)
Adjust customdomains based on fps
|
void |
disableAllHtmlCustomDomains()
Disable all custom domains
|
void |
disableHtmlCustomDomain(java.lang.String domainName)
Disable a html custom domain
|
void |
disableHtmlCustomDomains(java.lang.String[] domainNames)
Disable array of custom domains
|
void |
enableAllHtmlCustomDomains()
Enable all html custom domain
|
void |
enableHtmlCustomDomain(java.lang.String domainName)
Enable a html custom subdomain
|
void |
enableHtmlCustomDomains(java.lang.String[] domainNames)
Enable array of custom domains
|
java.util.Vector |
getInterestingRecogPropsForDynFind(java.util.Vector properties)
Return .customclass or .dojoclass for html customdomins
|
java.util.Hashtable |
getProperties()
Returns a complete set of properties for the associated
test object.
|
java.lang.Object |
getProperty(java.lang.String propertyName)
Gets the value for a specific property.
|
java.util.Hashtable |
getRecognitionProperties()
Returns an enumeration of properties used to uniquely identify the
associated test object in the SUT.
|
int |
getRecognitionPropertyWeight(java.lang.String propertyName)
Returns an indication of how useful this property is for recognition.
|
java.util.Hashtable |
getStandardProperties()
Returns a complete set of consistent properties for the associated
test object.
|
ITestData |
getTestData(java.lang.String testDataType)
Constructs the specified verification data object.
|
java.util.Hashtable |
getTestDataTypes()
Returns a hashtable of data type descriptions of the verification
point data available with the associated object.
|
void |
setProperty(java.lang.String propertyName,
java.lang.Object value)
Sets the value for a specific property.
|
boolean |
shouldBeMapped()
Determines whether the object is interesting from a persistent testability
sense and should be added to the object map.
|
ITestData |
updateTestData(java.lang.String testDataType,
ITestData testData)
Updates the supplied test data object and returns it.
|
addRecognitionProperty, getChildren, getDescriptiveName, getImplementationName, getIndexer, getIndexers, getMappableChildren, getMappableParent, getMethods, getMethodSpecForPoint, getName, getNonValueProperties, getOwnedObjects, getOwner, getParent, getTestDomain, getTestObjectClassName, getTopMappableParent, getTopObjects, getTopParent, getUniqueId, hasAddedRecognitionProperties, hasImageVPSupport, invokeConstructor, invokeStaticMethod, prepareDomainsForRecording, prepareToStop, processMouseEvent, readyToStop, setIndexeraddDataDrivableCommands, baseClassMatch, canTakeVP, equals, findChildrenWithProperties, findChildrenWithPropertiesAndInvoke, getChannel, getChildren, getDataDrivableCommand, getDataDrivableCommands, getElementWithFocus, getField, getIgnorableProperties, getMappableChildren, getMappableParent, getObjectClassName, getObjectCustomClassName, getOwnedObjects, getParent, getProxy, getRole, getScriptCommandAnchor, getScriptCommandFlags, getVisualClippableParent, getVisualClippedRectangle, getVisualMappableChildren, getVisualTopParent, getVOMSpecificProperty, hasSpecialFrameState, isClassIndexConsidered, isSameObject, isValidObject, ping, suppressKeyActionpublic HtmlDomainProxy(java.lang.Object theObjectInTheSUT)
public java.util.Hashtable getTestDataTypes()
getTestDataTypes in class ProxyTestObjectgetTestData(String),
ITestDatapublic ITestData getTestData(java.lang.String testDataType)
getTestDataTypes.getTestData in class ProxyTestObjecttestDataType - A test data type supplied by
getTestDataTypes.getTestDataTypes(),
ITestDatapublic ITestData updateTestData(java.lang.String testDataType,
ITestData testData)
getTestDataTypes.
The testData is a previously supplied ITestData
object that needs to be updated to reflect the current state
of the associated test object.updateTestData in class ProxyTestObjecttestDataType - A test data type supplied by
getTestDataTypes.testData - The test data base object that requires
updating.getTestDataTypes(),
getTestData(String),
ITestDatapublic java.util.Hashtable getRecognitionProperties()
getRecognitionProperties in class ProxyTestObjectProxyTestObject.getRecognitionPropertyWeight(String),
ProxyTestObject.getProperty(String),
ProxyTestObject.addRecognitionProperty(String,Object,int)public int getRecognitionPropertyWeight(java.lang.String propertyName)
getRecognitionPropertyWeight in class ProxyTestObjectpropertyName - The name of the recognition property to
return a weight value for.ProxyTestObject.getRecognitionProperties()public java.util.Hashtable getProperties()
ProxyTestObject
This method does not return properties whose values are references
to objects. The method ProxyTestObject.getNonValueProperties() returns
information about such properties.
getProperties in class ProxyTestObjectProxyTestObject.getProperty(String),
ProxyTestObject.setProperty(String,Object),
ProxyTestObject.getStandardProperties(),
ProxyTestObject.getNonValueProperties()public java.util.Hashtable getStandardProperties()
ProxyTestObjectProxyTestObject.getProperties().
The HTML domain supports standard properties and
returns properties that are consistent across browser versions.
The Java domain does not support this notion of standard properties.
In this domain, getStandardProperties, and getProperties do the same thing.
For HTML, standard properties are a subset
of the properties returned by getProperties().
The meaning of a property is specific to the test domain
and the test object. Typically, this is a set of name/value pairs
that describe the test object and its active state. Properties such
as font, colors, and coordinate information are typically associated
with a GUI test object. Associated data and state information can also
be returned, depending on the test object.getStandardProperties in class ProxyTestObjectProxyTestObject.getProperty(String),
ProxyTestObject.setProperty(String,Object),
ProxyTestObject.getProperties(),
ProxyTestObject.getNonValueProperties()public java.lang.Object getProperty(java.lang.String propertyName)
getProperty in class ProxyTestObjectpropertyName - The name of the property to fetch.ProxyTestObject.getProperties(),
ProxyTestObject.setProperty(String,Object),
ProxyTestObject.getRecognitionProperties(),
ProxyTestObject.addRecognitionProperty(String,Object,int)public void setProperty(java.lang.String propertyName,
java.lang.Object value)
setProperty in class ProxyTestObjectpropertyName - The name of the property to redefine. This
name is the same as that returned by
getProperties().ProxyTestObject.getProperties(),
ProxyTestObject.getProperty(String)public boolean shouldBeMapped()
false.shouldBeMapped in class ProxyTestObjecttrue if the represented control is interesting
other than for nested objects.public void enableHtmlCustomDomain(java.lang.String domainName)
enableHtmlCustomDomain in interface IHtmlCustomDomainEnablementpublic void enableHtmlCustomDomains(java.lang.String[] domainNames)
enableHtmlCustomDomains in interface IHtmlCustomDomainEnablementpublic void enableAllHtmlCustomDomains()
enableAllHtmlCustomDomains in interface IHtmlCustomDomainEnablementpublic void disableHtmlCustomDomain(java.lang.String domainName)
disableHtmlCustomDomain in interface IHtmlCustomDomainEnablementpublic void disableAllHtmlCustomDomains()
disableAllHtmlCustomDomains in interface IHtmlCustomDomainEnablementpublic void disableHtmlCustomDomains(java.lang.String[] domainNames)
disableHtmlCustomDomains in interface IHtmlCustomDomainEnablementpublic java.util.Vector getInterestingRecogPropsForDynFind(java.util.Vector properties)
getInterestingRecogPropsForDynFind in interface IGetInterestingRecogProsForDynFindpublic void adjustCustomDomains(FindPropertySet fps)
adjustCustomDomains in interface IHtmlCustomDomainEnablement