NUnitForms Class Library

ControlTester Constructor (String)

Creates a ControlTester that will test controls with the specified name.

[Visual Basic]
Overloads Public Sub New( _
   ByVal name As String _
)
[C#]
public ControlTester(
   string name
);

Parameters

name
The name of the control to test.

Remarks

If the name is unique, you can operate on the tester directly, otherwise you should use the indexer or Enumerator properties to access each separate control.

See Also

ControlTester Class | NUnit.Extensions.Forms Namespace | ControlTester Constructor Overload List