Package com.hp.lft.sdk.mobile
Class UiObjectBaseDescription.Init<T extends UiObjectBaseDescription.Init<T>>
java.lang.Object
com.hp.lft.sdk.mobile.UiObjectBaseDescription.Init<T>
- Direct Known Subclasses:
- ButtonDescription.Init,- CalendarDescription.Init,- CheckBoxDescription.Init,- DropDownDescription.Init,- EditFieldDescription.Init,- LabelDescription.Init,- PaginatorDescription.Init,- RadioGroupDescription.Init,- RecyclerViewDescription.Init,- SliderDescription.Init,- StepperDescription.Init,- TableDescription.Init,- TabStripDescription.Init,- ToggleDescription.Init,- UiObjectDescription.Init,- ViewDescription.Init,- WebViewDescription.Init
- Enclosing class:
- UiObjectBaseDescription
protected abstract static class UiObjectBaseDescription.Init<T extends UiObjectBaseDescription.Init<T>>
extends Object
Helper class for derived Builder classes.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionaccessibilityId(StringProperty accessibilityId) Initializes the accessibility ID of the mobile control.accessibilityId(String accessibilityId) Initializes the accessibility ID of the mobile control.Initializes whether the mobile object can be checked.Initializes whether the mobile object is checked (relevant for controls that can have a check mark).Initializes the test object class name used by OpenText Functional Testing Lab.Initializes whether the control can be tapped.Initializes containing table item information if object is in a table (iOS only).Initializes whether this object is enabled.Initializes whether the control can receive focus.Initializes whether the mobile control is in focus.mobileCenterIndex(Integer mobileCenterIndex) Initializes the ordinal number assigned to the object to indicate the order in which the object appears on the device relative to other objects with an otherwise identical description.nativeClass(StringProperty nativeClass) Initializes object's native class of the mobile control.nativeClass(String nativeClass) Initializes object's native class of the mobile control.objectProperties(Map<String, Object> objectProperties) Initializes the test object properties, including custom properties of a custom control.resourceId(StringProperty resourceId) Initializes the resource ID of the control (Android only).resourceId(String resourceId) Initializes the resource ID of the control (Android only).protected abstract Tself()text(StringProperty text) Initializes text of the mobile object.Initializes text of the mobile object.vri(VisualRelation... visualRelations) Initializes a VisualRelation definition.vri(List<VisualRelation> visualRelations) Initializes a VisualRelation definition.
- 
Constructor Details- 
Initprotected Init()
 
- 
- 
Method Details- 
self
- 
objectPropertiesInitializes the test object properties, including custom properties of a custom control.- Parameters:
- objectProperties- the test object properties
- Returns:
- the description instance with the update state (builder pattern)
 
- 
accessibilityIdInitializes the accessibility ID of the mobile control.- Parameters:
- accessibilityId- a StringProperty (or RegExpProperty) representing the accessibility ID of the mobile control.
- Returns:
- the description instance with the updated state (builder pattern).
 
- 
accessibilityIdInitializes the accessibility ID of the mobile control.- Parameters:
- accessibilityId- the accessibility ID of the mobile control.
- Returns:
- the description instance with the updated state (builder pattern).
 
- 
classNameInitializes the test object class name used by OpenText Functional Testing Lab.- Parameters:
- className- the test object class name used by OpenText Functional Testing Lab.
- Returns:
- the description instance with the updated state (builder pattern).
 
- 
containerInitializes containing table item information if object is in a table (iOS only).- Parameters:
- container- containing table item information if object is in a table (iOS only).
- Returns:
- the description instance with the updated state (builder pattern).
 
- 
resourceIdInitializes the resource ID of the control (Android only).- Parameters:
- resourceId- a StringProperty (or RegExpProperty) representing the resource ID of the control (Android only).
- Returns:
- the description instance with the updated state (builder pattern).
 
- 
resourceIdInitializes the resource ID of the control (Android only).- Parameters:
- resourceId- the resource ID of the control (Android only).
- Returns:
- the description instance with the updated state (builder pattern).
 
- 
mobileCenterIndexInitializes the ordinal number assigned to the object to indicate the order in which the object appears on the device relative to other objects with an otherwise identical description.- Parameters:
- mobileCenterIndex- the ordinal number assigned to the object.
- Returns:
- the description instance with the updated state (builder pattern).
 
- 
vriInitializes a VisualRelation definition.
 The VRI definition helps to distinguish this object from other objects with otherwise identical descriptions, based on this object's visual relationship to another object in the application.- Parameters:
- visualRelations- the- VisualRelationobject containing the VRI definition for this object.
- Returns:
- the description instance with the updated state (builder pattern).
 
- 
vriInitializes a VisualRelation definition.
 The VRI definition helps to distinguish this object from other objects with otherwise identical descriptions, based on this object's visual relationship to another object in the application.- Parameters:
- visualRelations- the- VisualRelationobject containing the VRI definition for this object.
- Returns:
- the description instance with the updated state (builder pattern).
 
- 
nativeClassInitializes object's native class of the mobile control.- Parameters:
- nativeClass- a- StringPropertyor- RegExpPropertyrepresenting the native class of the mobile control.
- Returns:
- the description instance with the update state (builder pattern).
 
- 
nativeClassInitializes object's native class of the mobile control.- Parameters:
- nativeClass- object's native class of the mobile control.
- Returns:
- the description instance with the update state (builder pattern).
 
- 
enabledInitializes whether this object is enabled.- Parameters:
- isEnabled- true if enabled.
- Returns:
- the description instance with the update state (builder pattern).
 
- 
focusedInitializes whether the mobile control is in focus.- Parameters:
- isFocused- true if the mobile control is in focus.
- Returns:
- the description instance with the update state (builder pattern).
 
- 
clickableInitializes whether the control can be tapped.- Parameters:
- isClickable- true if the control can be tapped.
- Returns:
- the description instance with the update state (builder pattern).
 
- 
focusableInitializes whether the control can receive focus.- Parameters:
- isFocusable- true if the control can receive focus.
- Returns:
- the description instance with the update state (builder pattern).
 
- 
textInitializes text of the mobile object.- Parameters:
- text- a StringProperty (or RegExpProperty) representing text of the mobile object.
- Returns:
- the description instance with the updated state (builder pattern).
 
- 
textInitializes text of the mobile object.- Parameters:
- text- text of the mobile object.
- Returns:
- the description instance with the updated state (builder pattern).
 
- 
checkableInitializes whether the mobile object can be checked.- Parameters:
- isCheckable- true if the mobile object can be checked.
- Returns:
- the description instance with the updated state (builder pattern).
 
- 
checkedInitializes whether the mobile object is checked (relevant for controls that can have a check mark).- Parameters:
- isChecked- true if the mobile object is checked (relevant for controls that can have a check mark).
- Returns:
- the description instance with the updated state (builder pattern).
 
 
-