Skip to content

DomDynamicsCrmUnifiedInterfaceList

This behavior pattern implements standard behavior for List control.

Extends HTMLObject

Extends SeSSimulatedObject

Behavior Pattern: DomDynamicsCrmUnifiedInterfaceListBehavior

Property Summary

Property Description Getter Setter
ItemCount Number of items. GetItemCount
ItemNameByIndex Returns item name by its index. GetItemNameByIndex

Action Summary

Action Description
DoClickItem Performs click on the item

Property Detail

ItemCount

Number of items.

Type: number

Accessors: GetItemCount

ItemNameByIndex

Returns item name by its index.'false' if name is not found.

Getter Parameters:

Name Type Description
index number Index of the item

Type: string|boolean

Accessors: GetItemNameByIndex

Action Detail

DoClickItem

Performs click on the item

DoClickItem(item, xOffset, yOffset) 

Parameters:

Name Type Description
item string | number Index or name of the item to be selected.
xOffset number X offset to click within object. Calculated from the top-left corner. Default is a center. Floating point in the range (-2, 2) means percentage of the width (requires Rapise 6.5+, also requires native events mode in Web tests).
Optional.
yOffset number Y offset to click within object. Calculated from the top-left corner. Default is a center. Floating point in the range (-2, 2) means percentage of the height (requires Rapise 6.5+, also requires native events mode in Web tests).
Optional.

Returns:

boolean: 'true' if successful, 'false' otherwise.