IconButton
Description
Special Button that moves the mouse away after clicking. Also could be used for icons with tool tips, if we ever need to interact with a tool tip.
IconButton Class
Namespace: Progile.TRIO.BaseModel Assembly: Progile.TRIO.BaseModel (in Progile.TRIO.BaseModel.dll)
Inheritance Hierarchy:
Object Progile.TRIO.BaseModel.OnScreenElement Progile.TRIO.BaseModel.Button Progile.TRIO.BaseModel.IconButton
Constructors
IconButton(ITester, string, ImageReference, IImageFilter[ ])
Creates a new IconButton instance, that can be found with an image search for the imageReference within the provided filters. If button has active and inactive states, use the constructor with both activeImageReference and inactiveImageReference parameters instead.
Syntax:
Parameter
Description
tester
The tester interface.
displayName
imageReference
[filters]
IconButton(ITester, string, ImageReference, ImageReference, IImageFilter[ ])
Creates a new IconButton instance, that can be found with an image search for either the active or inactive image reference within the provided filters. The active and inactive image references are used to check for the button state with IsActive, WaitForActive and WaitForInactive.
Syntax:
Parameter
Description
tester
The tester interface.
displayName
activeImageReference
[inactiveImageReference]
[filters]
IconButton(ITester, string, string, IImageFilter[ ])
Creates a new IconButton instance, that can be found with a text search for searchText within the provided filters.
Syntax:
Parameter
Description
tester
The tester interface.
displayName
serachText
[filters]
Properties
Name
Description
Last updated
Was this helpful?