Provides methods for test automation that are based on .Net reflection.
| C# | Visual Basic | Visual C++ |
public class ReflectionAutomation
Public Class ReflectionAutomation
public ref class ReflectionAutomation
| All Members | Constructors | Methods | Fields | ||
| Icon | Member | Description |
|---|---|---|
| ReflectionAutomation()()() | ||
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| Find(Control, String, Boolean) |
Finds child control with the desired properties.
| |
| Find(Control, String) |
Finds child control with the desired properties.
| |
| FindAll(Control, String) |
Returns all controls that match the specified properties.
| |
| FindDescription(Control, String) |
Finds a description of the given child control, from its type, name, and if necessary its parent recursively.
| |
| FindFitNesseDescription(Control, String) |
Finds a description of the given child control, from its type, name, and if necessary its parent recursively.
| |
| FindParentDescription(Control, String, Control, ReflectionAutomation..::.DescribeFinderDelegate) |
Recursively finds the description of an object, by its parents if necessary.
| |
| FindScriptingFixtureDescription(Control) |
Creates a finder for a control.
| |
| FindUnique(Control, String, Boolean) |
Finds the one and only child control with the desired properties.
| |
| FindUnique(Control, String) |
Finds the one and only child control with the desired properties.
| |
| flags |
The BindingFlags that are used to search for properties/methods.
| |
| GetControlPropertyValue(Control, String) |
Get's the value of a control's property.
| |
| GetFinder(String, Boolean) |
Creates a finder object based on the given properties string.
| |
| GetFinder(String) |
Creates a finder object based on the given properties string.
| |
| GetFormPropertyValue(Form, String) |
Returns a property from a form value.
| |
| GetHashCode()()() | Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
| GetInheritedClassesFullNames(Object) |
Gets a list of classes that the given object inherits from.
| |
| GetInheritedClassesNames(Object) |
Gets a list of classes that the given object inherits from.
| |
| GetObjectInfo(Object) |
Generates a formatted list of information reflected from the object. Methods and properties are currently supported.
| |
| GetType()()() | Gets the Type of the current instance. (Inherited from Object.) | |
| InvokeEvent(Control, String, array<Object>[]()[]) |
Invokes an event on a Control/Form.
| |
| InvokeEvent(Control, String) |
Invokes an event whith no arguments
| |
| InvokeMethod(Control, String, array<Object>[]()[]) |
Invokes an event on a Control/Form
| |
| LaunchApp(String, String) |
Launches a form application from an assembly.
| |
| MemberwiseClone()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| SanitizeForFinderField(String) |
Escapes special characters in a string so it can be used as a property in a finder string.
| |
| SetControlPropertyValue(Control, String, Object) |
Sets the value of a Control
| |
| SetControlPropertyValueFromForm(Form, String, String, Object) |
Sets the value of a Control
| |
| SetFormPropertyValue(Form, String, Object) |
Sets a property in a Form object.
| |
| ToString()()() | (Inherited from Object.) |
| Object | |
| ReflectionAutomation | |