NUnitForms Class Library

ControlTester Constructor (String, String)

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

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

Parameters

name
The name of the control to test.
formName
The name of the form 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