Skip to main content
.NET 6.0+

ICommandAdapter.CreateTestControl(String, String) Method

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

Namespace: DevExpress.EasyTest.Framework

Assembly: DevExpress.EasyTest.v23.2.dll

NuGet Package: DevExpress.EasyTest

Declaration

ITestControl CreateTestControl(
    string controlType,
    string name
)

Parameters

Name Type Description
controlType String

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

name String

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