C# Класс Dev2.Studio.UI.Tests.UIMaps.ToolboxUIMap

Наследование: UIMapBase
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

ClearSearch() публичный Метод

Searches for control.
public ClearSearch ( ) : void
Результат void

ClickToolboxItem() публичный Метод

public ClickToolboxItem ( ToolType tool ) : void
tool ToolType
Результат void

DragControlToWorkflowDesigner() публичный Метод

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
Результат UITestControl

DragControlToWorkflowDesigner() публичный Метод

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.
Результат void

FindControl() публичный Метод

public FindControl ( string itemAutomationID ) : UITestControl
itemAutomationID string
Результат UITestControl

FindToolboxItemByAutomationId() публичный Метод

public FindToolboxItemByAutomationId ( ToolType tool, string properSearchTerm = "" ) : UITestControl
tool ToolType
properSearchTerm string
Результат UITestControl

GetAllTools() публичный Метод

public GetAllTools ( ) : UITestControlCollection
Результат UITestControlCollection

IsIconVisible() публичный Метод

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.
Результат bool

SearchForControl() публичный Метод

Searches for control.
public SearchForControl ( string controlName ) : void
controlName string Name of the control.
Результат void

ToolboxUIMap() публичный Метод

public ToolboxUIMap ( ) : System.Drawing
Результат System.Drawing