NUnitForms Class Library

AmbiguousNameException Class

Exception is thrown when there is more than one control with the specified name.

For a list of all members of this type, see AmbiguousNameException Members.

System.Object
   Exception
      AmbiguousNameException

[Visual Basic]
Public Class AmbiguousNameException
Inherits Exception
[C#]
public class AmbiguousNameException : Exception

Remarks

You should qualify the name according to the name property of the parent control in a dot-delimited string.

If you have multiple dynamic controls with the same name, consider giving them unique names or else access them using the indexer property on each ControlTester.

Example

grandparent.parent.child is a valid name string.. You can use the shortest name string that uniquely identifies a control.

Requirements

Namespace: NUnit.Extensions.Forms

Assembly: NUnitForms (in NUnitForms.dll)

See Also

AmbiguousNameException Members | NUnit.Extensions.Forms Namespace