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

Inheritance: UIMapBase
Mostra file Open project: Warewolf-ESB/Warewolf Class Usage Examples

Public Methods

Method 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 method

Searches for control.
public ClearSearch ( ) : void
return void

ClickToolboxItem() public method

public ClickToolboxItem ( ToolType tool ) : void
tool ToolType
return void

DragControlToWorkflowDesigner() public method

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
return UITestControl

DragControlToWorkflowDesigner() public method

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.
return void

FindControl() public method

public FindControl ( string itemAutomationID ) : UITestControl
itemAutomationID string
return UITestControl

FindToolboxItemByAutomationId() public method

public FindToolboxItemByAutomationId ( ToolType tool, string properSearchTerm = "" ) : UITestControl
tool ToolType
properSearchTerm string
return UITestControl

GetAllTools() public method

public GetAllTools ( ) : UITestControlCollection
return UITestControlCollection

IsIconVisible() public method

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.
return bool

SearchForControl() public method

Searches for control.
public SearchForControl ( string controlName ) : void
controlName string Name of the control.
return void

ToolboxUIMap() public method

public ToolboxUIMap ( ) : System.Drawing
return System.Drawing