Skip to main content
.NET 8.0+

Command Members

An abstract base class for classes that implement EasyTest commands.

Constructors

Name Description
Command() Initializes a new instance of the Command class.

Properties

Name Description
EndLineIndex Gets the line number where the previous command is finished.
EndPosition Gets the position in the script where the current command starts.
ExpectException Gets if the current Functional Testing command is expected to fail.
Parameters Gets parameters, passed to the EasyTest command.
StartPosition Gets the position in the script where the current command starts.
Text Gets the command text, including all command parameters.

Methods

Name Description
CheckControlEnabled(ITestControl) static Throws an exception if the specified test control is disabled.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Execute(ICommandAdapter) Executes an Functional Testing command implemented by the Command class.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ParseCommand(CommandCreationParam) Parses the current command.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also