Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

UITestInterpreterCore Class

 

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

The result of interpretation depends on the UITestActionInvoker value.

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

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

public class UITestInterpreterCore : IDisposable

NameDescription
System_CAPS_pubmethodUITestInterpreterCore(UITest)

Creates an instance of UITestInterpreter for a given UITest

NameDescription
System_CAPS_pubpropertyActionInvoker

Gets or sets the UITestActionInvoker to use to execute actions in the UITest.

System_CAPS_protpropertyCurrentAction

Current action being executed.

System_CAPS_protpropertyPlaybackInProgress

True if playback is in progress.

System_CAPS_pubpropertyPlaybackUITest

Gets the UITest that is being executed.

NameDescription
System_CAPS_pubmethodCancel()

Cancels 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.

System_CAPS_pubmethodDispose()

Disposes the object.

System_CAPS_protmethodDispose(Boolean)

Actual dispose implementation.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodExecuteAction(UITestAction, UIMap)

Executes the given action.

System_CAPS_pubmethodExecuteStep()

Executes (that is, interprets) the current step in the currently selected ActionList.

System_CAPS_pubmethodExecuteTest()

Executes (that is, interprets) the current UITest object.

System_CAPS_pubmethodExecuteTest(Int64, Int64)

Executes (that is, interprets) the current UITest object for the actions in the specified range.

System_CAPS_pubmethodSystem_CAPS_staticExecuteTest(UITest)

Executes (that is, interprets) the given UITest object.

System_CAPS_pubmethodSystem_CAPS_staticExecuteTest(UITest, Int64, Int64)

Executes (that is, interprets) the given UITest object for the actions in the specified range.

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodIsExpectedExceptionFromActionExecution(Exception)

Returns true if the given exception is expected from the execution of an action.

System_CAPS_protmethodLogActionExecutionException(Exception)

Logs data for action execution exception.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodMoveToFirstStep()

Moves the current action pointer to the first action of the currently selected ActionList.

System_CAPS_pubmethodMoveToLastStep()

Moves the current action pointer to the last action of the currently selected ActionList.

System_CAPS_pubmethodMoveToNextStep()

Moves the action pointer to the next action of the currently selected ActionList.

System_CAPS_pubmethodMoveToPreviousStep()

Moves the action pointer to the previous action of the currently selected ActionList.

System_CAPS_pubmethodMoveToStepNumber(Int32)

Moves the current action pointer to the given action index in the currently selected ActionList.

System_CAPS_protmethodOnErrorHandledByUser(UITestErrorEventArgs)

Called after the user handles the action execution error.

This can be used to trace log something.

System_CAPS_protmethodRaisePlaybackProgressEvent(UITestProgressEventArgs)

Raise playback progress event.

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubeventActionCompleted

Event raised after an UITestAction is executed.

System_CAPS_pubeventActionListCompleted

Event raised after execution of each ActionList is completed.

System_CAPS_pubeventActionListStarted

Event raised before execution of each ActionList is started.

System_CAPS_pubeventActionStarted

Event raised before an UITestAction is executed.

System_CAPS_pubeventInterpreterError

Event raised when an error occurs when interpreting the UITest.

System_CAPS_pubeventInterpreterProgress

Event raised to update progress when interpreting the UITest.

System_CAPS_pubeventInterpreterWarning

Event raised when a warning occurs when interpreting the UITest.

System_CAPS_pubeventUITestCompleted

Event raised after execution of UITest is completed.

System_CAPS_pubeventUITestStarted

Event raised before execution of UITest starts.

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

Return to top
Show: