Export (0) Print
Expand All

UITestInterpreterCore Class

The class to iterate the actions in an UITest object and interpret those.

The result of interpretation depends on the UITestActionInvoker value.

Object
  Microsoft.VisualStudio.TestTools.UITest.CodeGeneration.UITestInterpreterCore
    Microsoft.VisualStudio.TestTools.UITest.CodeGeneration.UITestInterpreter

Namespace:  Microsoft.VisualStudio.TestTools.UITest.CodeGeneration
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)

public class UITestInterpreterCore : IDisposable

The UITestInterpreterCore type exposes the following members.

  NameDescription
Public methodUITestInterpreterCoreCreates an instance of UITestInterpreter for a given UITest
Top

  NameDescription
Public propertyActionInvokerGets or sets the UITestActionInvoker to use to execute actions in the UITest.
Protected propertyCurrentActionCurrent action being executed.
Protected propertyPlaybackInProgressTrue if playback is in progress.
Public propertyPlaybackUITestGets the UITest that is being executed.
Top

  NameDescription
Public methodCancelCancels the execution (that is, interpretation) of the current step or test. This call blocks until the UITest execution is canceled and playback returns. This must be called from a different thread from the thread that is executing the UITest.
Public methodDispose()Disposes the object.
Protected methodDispose(Boolean)Actual dispose implementation.
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodExecuteActionExecutes the given action.
Public methodExecuteStepExecutes (that is, interprets) the current step in the currently selected ActionList.
Public methodExecuteTest()Executes (that is, interprets) the current UITest object.
Public methodStatic memberExecuteTest(UITest)Executes (that is, interprets) the given UITest object.
Public methodExecuteTest(Int64, Int64)Executes (that is, interprets) the current UITest object for the actions in the specified range.
Public methodStatic memberExecuteTest(UITest, Int64, Int64)Executes (that is, interprets) the given UITest object for the actions in the specified range.
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodIsExpectedExceptionFromActionExecutionReturns true if the given exception is expected from the execution of an action.
Protected methodLogActionExecutionExceptionLogs data for action execution exception.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodMoveToFirstStepMoves the current action pointer to the first action of the currently selected ActionList.
Public methodMoveToLastStepMoves the current action pointer to the last action of the currently selected ActionList.
Public methodMoveToNextStepMoves the action pointer to the next action of the currently selected ActionList.
Public methodMoveToPreviousStepMoves the action pointer to the previous action of the currently selected ActionList.
Public methodMoveToStepNumberMoves the current action pointer to the given action index in the currently selected ActionList.
Protected methodOnErrorHandledByUserCalled after the user handles the action execution error. This can be used to trace log something.
Protected methodRaisePlaybackProgressEventRaise playback progress event.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public eventActionCompletedEvent raised after an UITestAction is executed.
Public eventActionListCompletedEvent raised after execution of each ActionList is completed.
Public eventActionListStartedEvent raised before execution of each ActionList is started.
Public eventActionStartedEvent raised before an UITestAction is executed.
Public eventInterpreterErrorEvent raised when an error occurs when interpreting the UITest.
Public eventInterpreterProgressEvent raised to update progress when interpreting the UITest.
Public eventInterpreterWarningEvent raised when a warning occurs when interpreting the UITest.
Public eventUITestCompletedEvent raised after execution of UITest is completed.
Public eventUITestStartedEvent raised before execution of UITest starts.
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2015 Microsoft