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 SummaryFields inherited from class com.smartgwt.client.core.DataClassfactoryCreated, factoryProperties
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.DataClassapplyFactoryProperties, 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- 
QualityIndicatedLocatorpublic QualityIndicatedLocator()
- 
QualityIndicatedLocator
 
- 
- 
Method Details- 
getOrCreateRef
- 
setContainsGlobalIdTrue 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
 
- 
getContainsGlobalIdTrue if the returnedlocatorincludes a reference using an auto-generated global ID.- Returns:
- Current containsGlobalId value. Default value is null
 
- 
setContainsIndicesTrue if the returnedlocatorincludes references using index positions.- Parameters:
- containsIndices- New containsIndices value. Default value is null
- Returns:
- QualityIndicatedLocatorinstance, for chaining setter calls
 
- 
getContainsIndicesTrue if the returnedlocatorincludes references using index positions.- Returns:
- Current containsIndices value. Default value is null
 
- 
setFirstParentOfIndexThe 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
 
- 
getFirstParentOfIndexThe 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
 
- 
setGlobalIDThe 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
 
- 
getGlobalIDThe ID of the component within the locator segments that has an auto-generated global ID.- Returns:
- Current globalID value. Default value is null
 
- 
setLocatorTheAutoTestLocatorassociated 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:
 
- 
getLocatorTheAutoTestLocatorassociated with some DOM element in a Smart GWT application page.- Returns:
- Current locator value. Default value is null
- See Also:
 
 
-