Package com.smartgwt.client.util
Class QualityIndicatedLocator
java.lang.Object
com.smartgwt.client.core.JsObject
com.smartgwt.client.core.DataClass
com.smartgwt.client.util.QualityIndicatedLocator
- All Implemented Interfaces:
HasHandlers
An object returned from
AutoTest.getLocatorWithIndicators() that includes the locator and properties that describe the quality of the locator.- See Also:
-
Field Summary
Fields inherited from class com.smartgwt.client.core.DataClass
factoryCreated, factoryProperties -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionTrue if the returnedlocatorincludes a reference using an auto-generated global ID.True if the returnedlocatorincludes references using index positions.The ID of the first parent within the locator segments that has a child referenced by index.The ID of the component within the locator segments that has an auto-generated global ID.TheAutoTestLocatorassociated with some DOM element in a Smart GWT application page.static QualityIndicatedLocatorgetOrCreateRef(JavaScriptObject jsObj) setContainsGlobalId(Boolean containsGlobalId) True if the returnedlocatorincludes a reference using an auto-generated global ID.setContainsIndices(Boolean containsIndices) True if the returnedlocatorincludes references using index positions.setFirstParentOfIndex(String firstParentOfIndex) The ID of the first parent within the locator segments that has a child referenced by index.setGlobalID(String globalID) The ID of the component within the locator segments that has an auto-generated global ID.setLocator(String locator) TheAutoTestLocatorassociated with some DOM element in a Smart GWT application page.Methods inherited from class com.smartgwt.client.core.DataClass
applyFactoryProperties, doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsElement, getAttributeAsFloat, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsJavaScriptObject, getAttributeAsLong, getAttributeAsMap, getAttributeAsObject, getAttributeAsRecord, getAttributeAsString, getAttributeAsStringArray, getAttributes, getHandlerCount, isFactoryCreated, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeAsJavaObject, setFactoryCreated
-
Constructor Details
-
QualityIndicatedLocator
public QualityIndicatedLocator() -
QualityIndicatedLocator
-
-
Method Details
-
getOrCreateRef
-
setContainsGlobalId
True if the returnedlocatorincludes a reference using an auto-generated global ID.- Parameters:
containsGlobalId- New containsGlobalId value. Default value is null- Returns:
QualityIndicatedLocatorinstance, for chaining setter calls
-
getContainsGlobalId
True if the returnedlocatorincludes a reference using an auto-generated global ID.- Returns:
- Current containsGlobalId value. Default value is null
-
setContainsIndices
True if the returnedlocatorincludes references using index positions.- Parameters:
containsIndices- New containsIndices value. Default value is null- Returns:
QualityIndicatedLocatorinstance, for chaining setter calls
-
getContainsIndices
True if the returnedlocatorincludes references using index positions.- Returns:
- Current containsIndices value. Default value is null
-
setFirstParentOfIndex
The ID of the first parent within the locator segments that has a child referenced by index. Note that a child component with an explicitlocatorNamewill be excluded since the name is a reliable means to locate the component.- Parameters:
firstParentOfIndex- New firstParentOfIndex value. Default value is null- Returns:
QualityIndicatedLocatorinstance, for chaining setter calls
-
getFirstParentOfIndex
The ID of the first parent within the locator segments that has a child referenced by index. Note that a child component with an explicitlocatorNamewill be excluded since the name is a reliable means to locate the component.- Returns:
- Current firstParentOfIndex value. Default value is null
-
setGlobalID
The ID of the component within the locator segments that has an auto-generated global ID.- Parameters:
globalID- New globalID value. Default value is null- Returns:
QualityIndicatedLocatorinstance, for chaining setter calls
-
getGlobalID
The ID of the component within the locator segments that has an auto-generated global ID.- Returns:
- Current globalID value. Default value is null
-
setLocator
TheAutoTestLocatorassociated with some DOM element in a Smart GWT application page.- Parameters:
locator- New locator value. Default value is null- Returns:
QualityIndicatedLocatorinstance, for chaining setter calls- See Also:
-
getLocator
TheAutoTestLocatorassociated with some DOM element in a Smart GWT application page.- Returns:
- Current locator value. Default value is null
- See Also:
-