C# Class Dev2.Studio.UI.Tests.UIMaps.ToolboxUIMap

Inheritance: UIMapBase
Afficher le fichier Open project: Warewolf-ESB/Warewolf Class Usage Examples

Méthodes publiques

Méthode Description
ClearSearch ( ) : void

Searches for control.

ClickToolboxItem ( ToolType tool ) : void
DragControlToWorkflowDesigner ( ToolType tool, UITestControl tabToDropOnto, Point pointToDragTo = newPoint(), bool getDroppedActivity = true ) : UITestControl

Drags a control from the Toolbox to the Workflow

DragControlToWorkflowDesigner ( ToolType tool, Point p, string searchID = "" ) : void

Drags a control from the Toolbox to the Workflow

FindControl ( string itemAutomationID ) : UITestControl
FindToolboxItemByAutomationId ( ToolType tool, string properSearchTerm = "" ) : UITestControl
GetAllTools ( ) : UITestControlCollection
IsIconVisible ( UITestControl tool ) : bool

Determines whether [is icon visible] [the specified tool]. NOTE : Crap method. If icon has a lot of white in it it will fail ;)

SearchForControl ( string controlName ) : void

Searches for control.

ToolboxUIMap ( ) : System.Drawing

Method Details

ClearSearch() public méthode

Searches for control.
public ClearSearch ( ) : void
Résultat void

ClickToolboxItem() public méthode

public ClickToolboxItem ( ToolType tool ) : void
tool ToolType
Résultat void

DragControlToWorkflowDesigner() public méthode

Drags a control from the Toolbox to the Workflow
public DragControlToWorkflowDesigner ( ToolType tool, UITestControl tabToDropOnto, Point pointToDragTo = newPoint(), bool getDroppedActivity = true ) : UITestControl
tool ToolType
tabToDropOnto UITestControl The tab on which to drop the control
pointToDragTo System.Drawing.Point The point you wish to drop the control
getDroppedActivity bool Get and return the dropped control
Résultat UITestControl

DragControlToWorkflowDesigner() public méthode

Drags a control from the Toolbox to the Workflow
public DragControlToWorkflowDesigner ( ToolType tool, Point p, string searchID = "" ) : void
tool ToolType
p System.Drawing.Point The point you wish to drop the control - Point p = WorkflowDesignerUIMap.GetPointUnderStartNode("someWorkflow"); is a good palce to start
searchID string The search unique identifier.
Résultat void

FindControl() public méthode

public FindControl ( string itemAutomationID ) : UITestControl
itemAutomationID string
Résultat UITestControl

FindToolboxItemByAutomationId() public méthode

public FindToolboxItemByAutomationId ( ToolType tool, string properSearchTerm = "" ) : UITestControl
tool ToolType
properSearchTerm string
Résultat UITestControl

GetAllTools() public méthode

public GetAllTools ( ) : UITestControlCollection
Résultat UITestControlCollection

IsIconVisible() public méthode

Determines whether [is icon visible] [the specified tool]. NOTE : Crap method. If icon has a lot of white in it it will fail ;)
public IsIconVisible ( UITestControl tool ) : bool
tool UITestControl The tool.
Résultat bool

SearchForControl() public méthode

Searches for control.
public SearchForControl ( string controlName ) : void
controlName string Name of the control.
Résultat void

ToolboxUIMap() public méthode

public ToolboxUIMap ( ) : System.Drawing
Résultat System.Drawing