ICommandAdapter.CreateTestControl(String, String) Method

Finds the specific control and creates the test control for it.

Namespace: DevExpress.EasyTest.Framework

Assembly: DevExpress.EasyTest.v18.2.dll

Declaration

ITestControl CreateTestControl(
    string controlType,
    string name
)
Function CreateTestControl(
    controlType As String,
    name As String
) As ITestControl

Parameters

Type Name Description
String controlType

A string that specifies the test control types. Valid types can be obtained from the TestControlType class' constants.

String name

A sting that is the control caption.

Returns

Type Description
ITestControl

An ITestControl object that is the created test control.

Remarks

To see this method in use, refer to the How to: Implement a Custom EasyTest Command topic.

See Also