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.

UITestInterpreter Class

 

Executes each test action in a user interface (UI) test and interprets the results of each action by using the value of the ActionInvoker property.

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

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

No code example is currently available or this language may not be supported.

NameDescription
System_CAPS_pubmethodUITestInterpreter(UITest)

Initializes a new instance of the UITestInterpreter class.

NameDescription
System_CAPS_pubpropertyActionInvoker

Gets or sets the UITestActionInvoker to interpret this test.(Overrides UITestInterpreterCore.ActionInvoker.)

System_CAPS_protpropertyCurrentAction

Current action being executed.(Inherited from UITestInterpreterCore.)

System_CAPS_protpropertyPlaybackInProgress

True if playback is in progress.(Inherited from UITestInterpreterCore.)

System_CAPS_pubpropertyPlaybackUITest

Gets the UITest that is being executed.(Inherited from UITestInterpreterCore.)

NameDescription
System_CAPS_pubmethodCancel()

Cancels the interpretation of the current step or test.(Overrides UITestInterpreterCore.Cancel().)

System_CAPS_pubmethodDispose()

Disposes the object.(Inherited from UITestInterpreterCore.)

System_CAPS_protmethodDispose(Boolean)

Optionally releases resources.(Overrides UITestInterpreterCore.Dispose(Boolean).)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodExecuteAction(UITestAction, UIMap)

Executes the given action. The action contains an ID for the UIObject on which it acts. This ID is used to get a queryid for the object and this is passed to the invoke method of the input action object.

The Invoke method also requires an object of the UITestActionInvoker interface type. In this case the default is the UITestPlayback type that implements the UITestActionInvoker.(Overrides UITestInterpreterCore.ExecuteAction(UITestAction, UIMap).)

System_CAPS_pubmethodExecuteStep()

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

System_CAPS_pubmethodExecuteTest()

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

System_CAPS_pubmethodExecuteTest(Int64, Int64)

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

System_CAPS_pubmethodSystem_CAPS_staticExecuteTest(UITest)

Executes the given test.

System_CAPS_pubmethodSystem_CAPS_staticExecuteTest(UITest, Int64, Int64)

Executes the given test for the specified range of actions.

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodHighlightElement()

Highlights the UI element that is associated with the current action.

System_CAPS_protmethodIsExpectedExceptionFromActionExecution(Exception)

Returns true if the given exception is expected from the execution of an action.(Overrides UITestInterpreterCore.IsExpectedExceptionFromActionExecution(Exception).)

System_CAPS_protmethodLogActionExecutionException(Exception)

Logs SQM Data for Playback Exception.(Overrides UITestInterpreterCore.LogActionExecutionException(Exception).)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodMoveToFirstStep()

Moves the current action pointer to the first action of the currently selected ActionList.(Inherited from UITestInterpreterCore.)

System_CAPS_pubmethodMoveToLastStep()

Moves the current action pointer to the last action of the currently selected ActionList.(Inherited from UITestInterpreterCore.)

System_CAPS_pubmethodMoveToNextStep()

Moves the action pointer to the next action of the currently selected ActionList.(Inherited from UITestInterpreterCore.)

System_CAPS_pubmethodMoveToPreviousStep()

Moves the action pointer to the previous action of the currently selected ActionList.(Inherited from UITestInterpreterCore.)

System_CAPS_pubmethodMoveToStepNumber(Int32)

Moves the current action pointer to the given action index in the currently selected ActionList.(Inherited from UITestInterpreterCore.)

System_CAPS_protmethodOnErrorHandledByUser(UITestErrorEventArgs)

Called after user handles the action execution error.

This can be used to trace log something.(Overrides UITestInterpreterCore.OnErrorHandledByUser(UITestErrorEventArgs).)

System_CAPS_protmethodRaisePlaybackProgressEvent(UITestProgressEventArgs)

Raise playback progress event.(Inherited from UITestInterpreterCore.)

System_CAPS_pubmethodRaiseWaitForThinkTimeEvent(UITestAction, Int32)
System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodUnhighlight()

Removes highlighting from the UI element that is associated with the current action.

NameDescription
System_CAPS_pubeventActionCompleted

Event raised after an UITestAction is executed.(Inherited from UITestInterpreterCore.)

System_CAPS_pubeventActionListCompleted

Event raised after execution of each ActionList is completed.(Inherited from UITestInterpreterCore.)

System_CAPS_pubeventActionListStarted

Event raised before execution of each ActionList is started.(Inherited from UITestInterpreterCore.)

System_CAPS_pubeventActionStarted

Event raised before an UITestAction is executed.(Inherited from UITestInterpreterCore.)

System_CAPS_pubeventInterpreterError

Event raised when an error occurs when interpreting the UITest.(Inherited from UITestInterpreterCore.)

System_CAPS_pubeventInterpreterProgress

Event raised to update progress when interpreting the UITest.(Inherited from UITestInterpreterCore.)

System_CAPS_pubeventInterpreterWarning

Event raised when a warning occurs when interpreting the UITest.(Inherited from UITestInterpreterCore.)

System_CAPS_pubeventUITestCompleted

Event raised after execution of UITest is completed.(Inherited from UITestInterpreterCore.)

System_CAPS_pubeventUITestStarted

Event raised before execution of UITest starts.(Inherited from UITestInterpreterCore.)

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: