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 _
public ControlTester(
   string name,
   string formName


The name of the control to test.
The name of the form to test.


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