IBar Methods |
The IBar type exposes the following members.
Name | Description | |
---|---|---|
CallMethodT(String, Object) |
Invokes the specified method and returns the result.
(Inherited from IObject.) | |
CastT |
Casts the interface to an interface of another type.
(Inherited from IObject.) | |
CheckItem |
Moves the mouse cursor to the specified bar item and clicks it with the left mouse button until the specified state is reached.
| |
Click |
Simulates a left-button single click in a window or control.
(Inherited from IControl.) | |
Click(Int32, Int32) |
Simulates a left-button single click in a window or control.
(Inherited from IControl.) | |
Click(Int32, Int32, ShiftKey) |
Simulates a left-button single click in a window or control.
(Inherited from IControl.) | |
ClickItem(String) |
Moves the mouse cursor to the specified item and then simulates a single click.
| |
ClickItem(String, ShiftKey) |
Moves the mouse cursor to the specified item and then simulates a single click.
| |
ClickItemM(String) |
Moves the mouse cursor to the specified item and then simulates a middle click.
| |
ClickItemM(String, ShiftKey) |
Moves the mouse cursor to the specified item and then simulates a middle click.
| |
ClickItemMXY(String, Int32, Int32) |
Simulates a click of the middle mouse button at (X,Y) inside item specified by index, from 0, or by name. The top-left coordinate of the item rectangle is (0,0).
| |
ClickItemMXY(String, Int32, Int32, ShiftKey) |
Simulates a click of the middle mouse button at (X,Y) inside item specified by index, from 0, or by name. The top-left coordinate of the item rectangle is (0,0).
| |
ClickItemR(String) |
Moves the mouse cursor to the specified item and then simulates a right click.
| |
ClickItemR(String, ShiftKey) |
Moves the mouse cursor to the specified item and then simulates a right click.
| |
ClickItemRXY(String, Int32, Int32) |
Simulates a right click at (X,Y) inside item specified by index, from 0, or by name. The top-left coordinate of the item rectangle is (0,0).
| |
ClickItemRXY(String, Int32, Int32, ShiftKey) |
Simulates a right click at (X,Y) inside item specified by index, from 0, or by name. The top-left coordinate of the item rectangle is (0,0).
| |
ClickItemXY(String, Int32, Int32) |
Simulates a click at (X,Y) inside item. The top-left coordinate of the item rectangle is (0,0).
| |
ClickItemXY(String, Int32, Int32, ShiftKey) |
Simulates a click at (X,Y) inside item. The top-left coordinate of the item rectangle is (0,0).
| |
ClickM |
Simulates a middle-button single click in a window or control.
(Inherited from IControl.) | |
ClickM(Int32, Int32) |
Simulates a middle-button single click in a window or control.
(Inherited from IControl.) | |
ClickM(Int32, Int32, ShiftKey) |
Simulates a middle-button single click in a window or control.
(Inherited from IControl.) | |
ClickR |
Simulates a right-button single click in a window or control.
(Inherited from IControl.) | |
ClickR(Int32, Int32) |
Simulates a right-button single click in a window or control.
(Inherited from IControl.) | |
ClickR(Int32, Int32, ShiftKey) |
Simulates a right-button single click in a window or control.
(Inherited from IControl.) | |
DblClick |
Simulates a left-button double click in a window or control.
(Inherited from IControl.) | |
DblClick(Int32, Int32) |
Simulates a left-button double click in a window or control.
(Inherited from IControl.) | |
DblClick(Int32, Int32, ShiftKey) |
Simulates a left-button double click in a window or control.
(Inherited from IControl.) | |
DblClickItem(String) |
Moves the mouse cursor to the specified item and then simulates a double-click.
| |
DblClickItem(String, ShiftKey) |
Moves the mouse cursor to the specified item and then simulates a double-click.
| |
DblClickItemM(String) |
Moves the mouse cursor to the specified item and then simulates a double-click of the middle mouse button over that item.
| |
DblClickItemM(String, ShiftKey) |
Moves the mouse cursor to the specified item and then simulates a double-click of the middle mouse button over that item.
| |
DblClickItemMXY(String, Int32, Int32) |
Simulates a double click of the middle mouse button at (X,Y) inside item specified by index, from 0, or by name. The top-left coordinate of the item rectangle is (0,0).
| |
DblClickItemMXY(String, Int32, Int32, ShiftKey) |
Simulates a double click of the middle mouse button at (X,Y) inside item specified by index, from 0, or by name. The top-left coordinate of the item rectangle is (0,0).
| |
DblClickItemR(String) |
Moves the mouse cursor to the specified item and then simulates a double-click of the right mouse button over that item.
| |
DblClickItemR(String, ShiftKey) |
Moves the mouse cursor to the specified item and then simulates a double-click of the right mouse button over that item.
| |
DblClickItemRXY(String, Int32, Int32) |
Simulates a double click of the right mouse button at (X,Y) inside item specified by index, from 0 or by name. The top-left coordinate of the item rectangle is (0,0).
| |
DblClickItemRXY(String, Int32, Int32, ShiftKey) |
Simulates a double click of the right mouse button at (X,Y) inside item specified by index, from 0 or by name. The top-left coordinate of the item rectangle is (0,0).
| |
DblClickItemXY(String, Int32, Int32) |
Simulates a double click at (X,Y) inside item specified by index, from 0, or by name. The top-left coordinate of the item rectangle is (0,0).
| |
DblClickItemXY(String, Int32, Int32, ShiftKey) |
Simulates a double click at (X,Y) inside item specified by index, from 0, or by name. The top-left coordinate of the item rectangle is (0,0).
| |
DblClickM |
Simulates a middle-button double click in a window or control.
(Inherited from IControl.) | |
DblClickM(Int32, Int32) |
Simulates a middle-button double click in a window or control.
(Inherited from IControl.) | |
DblClickM(Int32, Int32, ShiftKey) |
Simulates a middle-button double click in a window or control.
(Inherited from IControl.) | |
DblClickR |
Simulates a right-button double click in a window or control.
(Inherited from IControl.) | |
DblClickR(Int32, Int32) |
Simulates a right-button double click in a window or control.
(Inherited from IControl.) | |
DblClickR(Int32, Int32, ShiftKey) |
Simulates a right-button double click in a window or control.
(Inherited from IControl.) | |
Drag(Int32, Int32, Int32, Int32) |
Simulates a left-button mouse drag in a window or control.
(Inherited from IControl.) | |
Drag(Int32, Int32, Int32, Int32, ShiftKey) |
Simulates a left-button mouse drag in a window or control.
(Inherited from IControl.) | |
DragM(Int32, Int32, Int32, Int32) |
Simulates a middle-button mouse drag in a window or control.
(Inherited from IControl.) | |
DragM(Int32, Int32, Int32, Int32, ShiftKey) |
Simulates a middle-button mouse drag in a window or control.
(Inherited from IControl.) | |
DragR(Int32, Int32, Int32, Int32) |
Simulates a right-button mouse drag in a window or control.
(Inherited from IControl.) | |
DragR(Int32, Int32, Int32, Int32, ShiftKey) |
Simulates a right-button mouse drag in a window or control.
(Inherited from IControl.) | |
FindT(ISearchPattern, Int32) |
Searches for an object that matches the specified pattern. The default search timeout AutoWaitTimeout is used.
(Inherited from IObjectTreeNode.) | |
FindT(ISearchPattern, Int32, Int32) |
Searches for an object that matches the specified pattern.
(Inherited from IObjectTreeNode.) | |
FindAllT |
Searches for objects that match the specified pattern. The search depth is specified as an optional parameter.
(Inherited from IObjectTreeNode.) | |
GetPropertyT |
Returns the value of the specified property.
(Inherited from IObject.) | |
HoverMouse |
Places the mouse pointer over the specified control.
(Inherited from IControl.) | |
HoverMouse(Int32, Int32) |
Places the mouse pointer over the specified control.
(Inherited from IControl.) | |
Keys |
Simulates keyboard input to a window or control.
(Inherited from IControl.) | |
MouseWheel(Int32) |
Simulates mouse wheel rotation.
(Inherited from IControl.) | |
MouseWheel(Int32, ShiftKey) |
Simulates mouse wheel rotation.
(Inherited from IControl.) | |
Picture |
Captures the image of the object.
(Inherited from IVisualObject.) | |
Picture(Int32, Int32, Int32, Int32, Boolean) |
Captures the image of the specified rectangular area of the object.
(Inherited from IVisualObject.) | |
ScreenToWindow |
Converts screen coordinates to coordinates relative to the object.
(Inherited from IControl.) | |
SetProperty |
Sets a value for the specified property.
(Inherited from IObject.) | |
TryFindT(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.) | |
TryFindT(ISearchPattern, Int32, T) |
Searches for an object that matches the specified pattern. The default search timeout AutoWaitTimeout is used.
(Inherited from IObjectTreeNode.) | |
TryFindT(ISearchPattern, Int32, Int32, T) |
Searches for an object that matches the specified pattern.
(Inherited from IObjectTreeNode.) | |
WaitProperty(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.) | |
WaitProperty(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.) | |
WindowToScreen |
Converts coordinates relative to the object to coordinates relative to screen.
(Inherited from IControl.) |