Skip to main content
.NET Framework 4.6.2+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ICommandAdapter.CreateTestControl(String, String) Method

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

Namespace: DevExpress.EasyTest.Framework

Assembly: DevExpress.EasyTest.v24.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