Click or drag to resize

IListBox Interface

The test interface for list box controls.

Namespace:  SmartBear.TestLeft.TestObjects
Assembly:  SmartBear.TestLeft (in SmartBear.TestLeft.dll) Version: 14.60.289.11 (14.60.289.11)
Syntax
public interface IListBox : IControl, 
	IObjectTreeNode, IObject, IVisualObject

The IListBox type exposes the following members.

Properties
  NameDescription
Public propertyChildren
Gets the collection of child objects.
(Inherited from IObjectTreeNode.)
Public propertyEnabled
Specifies whether the object is enabled or disabled.
(Inherited from IControl.)
Public propertyHeight
The object's height in pixels.
(Inherited from IControl.)
Public propertyParent
The parent object.
(Inherited from IObjectTreeNode.)
Public propertyScreenLeft
The horizontal position of the object's left edge in screen coordinates.
(Inherited from IControl.)
Public propertyScreenTop
The vertical position of the object's top edge in screen coordinates.
(Inherited from IControl.)
Public propertyVisible
Specifies whether an onscreen object is visible to users.
(Inherited from IControl.)
Public propertyVisibleOnScreen
Specifies whether the whole object or any of its parts is currently visible on screen.
(Inherited from IControl.)
Public propertywFocus
Returns the index of the focused item.
Public propertyWidth
The object's width in pixels.
(Inherited from IControl.)
Public propertywItem
Returns a collection of item names. A name can be retrieved by the item's index.
Public propertywItemCount
Returns the total number of items in the list box control.
Public propertywSelected
Returns a collection of item states. A state can be retrieved by the item's index or name.
Top
Methods
  NameDescription
Public methodCallMethodT(String, Object)
Invokes the specified method and returns the result.
(Inherited from IObject.)
Public methodCastT
Casts the interface to an interface of another type.
(Inherited from IObject.)
Public methodClick
Simulates a left-button single click in a window or control.
(Inherited from IControl.)
Public methodClick(Int32, Int32)
Simulates a left-button single click in a window or control.
(Inherited from IControl.)
Public methodClick(Int32, Int32, ShiftKey)
Simulates a left-button single click in a window or control.
(Inherited from IControl.)
Public methodClickItem(Int32)
Simulates a single click on the specified item.
Public methodClickItem(String)
Simulates a single click on the specified item.
Public methodClickItem(Int32, ShiftKey)
Simulates a single click on the specified item.
Public methodClickItem(String, ShiftKey)
Simulates a single click on the specified item.
Public methodClickItemR(Int32)
Simulates a right-click on the specified item.
Public methodClickItemR(String)
Simulates a right-click on the specified item.
Public methodClickItemR(Int32, ShiftKey)
Simulates a right-click on the specified item.
Public methodClickItemR(String, ShiftKey)
Simulates a right-click on the specified item.
Public methodClickItemRXY(Int32, Int32, Int32)
Simulates a click of the right mouse button at position (X, Y) in item-relative coordinates.
Public methodClickItemRXY(String, Int32, Int32)
Simulates a click of the right mouse button at position (X, Y) in item-relative coordinates.
Public methodClickItemRXY(Int32, Int32, Int32, ShiftKey)
Simulates a click of the right mouse button at position (X, Y) in item-relative coordinates.
Public methodClickItemRXY(String, Int32, Int32, ShiftKey)
Simulates a click of the right mouse button at position (X, Y) in item-relative coordinates.
Public methodClickItemXY(Int32, Int32, Int32)
Simulates a single click at position (X, Y) in item-relative coordinates.
Public methodClickItemXY(String, Int32, Int32)
Simulates a single click at position (X, Y) in item-relative coordinates.
Public methodClickItemXY(Int32, Int32, Int32, ShiftKey)
Simulates a single click at position (X, Y) in item-relative coordinates.
Public methodClickItemXY(String, Int32, Int32, ShiftKey)
Simulates a single click at position (X, Y) in item-relative coordinates.
Public methodClickM
Simulates a middle-button single click in a window or control.
(Inherited from IControl.)
Public methodClickM(Int32, Int32)
Simulates a middle-button single click in a window or control.
(Inherited from IControl.)
Public methodClickM(Int32, Int32, ShiftKey)
Simulates a middle-button single click in a window or control.
(Inherited from IControl.)
Public methodClickR
Simulates a right-button single click in a window or control.
(Inherited from IControl.)
Public methodClickR(Int32, Int32)
Simulates a right-button single click in a window or control.
(Inherited from IControl.)
Public methodClickR(Int32, Int32, ShiftKey)
Simulates a right-button single click in a window or control.
(Inherited from IControl.)
Public methodDblClick
Simulates a left-button double click in a window or control.
(Inherited from IControl.)
Public methodDblClick(Int32, Int32)
Simulates a left-button double click in a window or control.
(Inherited from IControl.)
Public methodDblClick(Int32, Int32, ShiftKey)
Simulates a left-button double click in a window or control.
(Inherited from IControl.)
Public methodDblClickItem(Int32)
Moves the mouse cursor to Item and then simulates a double click on it.
Public methodDblClickItem(String)
Moves the mouse cursor to Item and then simulates a double click on it.
Public methodDblClickItem(Int32, ShiftKey)
Moves the mouse cursor to Item and then simulates a double click on it.
Public methodDblClickItem(String, ShiftKey)
Moves the mouse cursor to Item and then simulates a double click on it.
Public methodDblClickItemR(Int32)
Simulates a double right-click on the specified item.
Public methodDblClickItemR(String)
Simulates a double right-click on the specified item.
Public methodDblClickItemR(Int32, ShiftKey)
Simulates a double right-click on the specified item.
Public methodDblClickItemR(String, ShiftKey)
Simulates a double right-click on the specified item.
Public methodDblClickItemRXY(Int32, Int32, Int32)
Simulates a double-click of the right mouse button at position (X, Y) in item-relative coordinates.
Public methodDblClickItemRXY(String, Int32, Int32)
Simulates a double-click of the right mouse button at position (X, Y) in item-relative coordinates.
Public methodDblClickItemRXY(Int32, Int32, Int32, ShiftKey)
Simulates a double-click of the right mouse button at position (X, Y) in item-relative coordinates.
Public methodDblClickItemRXY(String, Int32, Int32, ShiftKey)
Simulates a double-click of the right mouse button at position (X, Y) in item-relative coordinates.
Public methodDblClickItemXY(Int32, Int32, Int32)
Simulates a double click at position (X, Y) in item-relative coordinates.
Public methodDblClickItemXY(String, Int32, Int32)
Simulates a double click at position (X, Y) in item-relative coordinates.
Public methodDblClickItemXY(Int32, Int32, Int32, ShiftKey)
Simulates a double click at position (X, Y) in item-relative coordinates.
Public methodDblClickItemXY(String, Int32, Int32, ShiftKey)
Simulates a double click at position (X, Y) in item-relative coordinates.
Public methodDblClickM
Simulates a middle-button double click in a window or control.
(Inherited from IControl.)
Public methodDblClickM(Int32, Int32)
Simulates a middle-button double click in a window or control.
(Inherited from IControl.)
Public methodDblClickM(Int32, Int32, ShiftKey)
Simulates a middle-button double click in a window or control.
(Inherited from IControl.)
Public methodDblClickR
Simulates a right-button double click in a window or control.
(Inherited from IControl.)
Public methodDblClickR(Int32, Int32)
Simulates a right-button double click in a window or control.
(Inherited from IControl.)
Public methodDblClickR(Int32, Int32, ShiftKey)
Simulates a right-button double click in a window or control.
(Inherited from IControl.)
Public methodDrag(Int32, Int32, Int32, Int32)
Simulates a left-button mouse drag in a window or control.
(Inherited from IControl.)
Public methodDrag(Int32, Int32, Int32, Int32, ShiftKey)
Simulates a left-button mouse drag in a window or control.
(Inherited from IControl.)
Public methodDragM(Int32, Int32, Int32, Int32)
Simulates a middle-button mouse drag in a window or control.
(Inherited from IControl.)
Public methodDragM(Int32, Int32, Int32, Int32, ShiftKey)
Simulates a middle-button mouse drag in a window or control.
(Inherited from IControl.)
Public methodDragR(Int32, Int32, Int32, Int32)
Simulates a right-button mouse drag in a window or control.
(Inherited from IControl.)
Public methodDragR(Int32, Int32, Int32, Int32, ShiftKey)
Simulates a right-button mouse drag in a window or control.
(Inherited from IControl.)
Public methodFindT(ISearchPattern, Int32)
Searches for an object that matches the specified pattern. The default search timeout AutoWaitTimeout is used.
(Inherited from IObjectTreeNode.)
Public methodFindT(ISearchPattern, Int32, Int32)
Searches for an object that matches the specified pattern.
(Inherited from IObjectTreeNode.)
Public methodFindAllT
Searches for objects that match the specified pattern. The search depth is specified as an optional parameter.
(Inherited from IObjectTreeNode.)
Public methodGetPropertyT
Returns the value of the specified property.
(Inherited from IObject.)
Public methodHoverMouse
Places the mouse pointer over the specified control.
(Inherited from IControl.)
Public methodHoverMouse(Int32, Int32)
Places the mouse pointer over the specified control.
(Inherited from IControl.)
Public methodKeys
Simulates keyboard input to a window or control.
(Inherited from IControl.)
Public methodMouseWheel(Int32)
Simulates mouse wheel rotation.
(Inherited from IControl.)
Public methodMouseWheel(Int32, ShiftKey)
Simulates mouse wheel rotation.
(Inherited from IControl.)
Public methodMultiSelect(IEnumerableInt32)
Selects several items.
Public methodMultiSelect(IEnumerableString)
Selects several items.
Public methodPicture
Captures the image of the object.
(Inherited from IVisualObject.)
Public methodPicture(Int32, Int32, Int32, Int32, Boolean)
Captures the image of the specified rectangular area of the object.
(Inherited from IVisualObject.)
Public methodScreenToWindow
Converts screen coordinates to coordinates relative to the object.
(Inherited from IControl.)
Public methodSelectItem(Int32)
Selects an item, if it is not selected.
Public methodSelectItem(String)
Selects an item, if it's not selected.
Public methodSelectItem(Int32, Boolean)
Selects or unselects an item.
Public methodSelectItem(String, Boolean)
Selects or unselects an item.
Public methodSetProperty
Sets a value for the specified property.
(Inherited from IObject.)
Public methodTryFindT(ISearchPattern, T)
Searches for an object that matches the specified pattern (the search depth is 1). The default search timeout AutoWaitTimeout is used.
(Inherited from IObjectTreeNode.)
Public methodTryFindT(ISearchPattern, Int32, T)
Searches for an object that matches the specified pattern. The default search timeout AutoWaitTimeout is used.
(Inherited from IObjectTreeNode.)
Public methodTryFindT(ISearchPattern, Int32, Int32, T)
Searches for an object that matches the specified pattern.
(Inherited from IObjectTreeNode.)
Public methodWaitProperty(String, Object)
Delays the test execution until the specified property equals the specified value or until the default time limit AutoWaitTimeout is reached.
(Inherited from IObjectTreeNode.)
Public methodWaitProperty(String, Object, Int32)
Delays the test execution until the specified property equals the specified value or until the specified time limit is reached.
(Inherited from IObjectTreeNode.)
Public methodWindowToScreen
Converts coordinates relative to the object to coordinates relative to screen.
(Inherited from IControl.)
Top
See Also