Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Represents a UI test action that launches an application.
Inheritance Hierarchy
Object
Microsoft.VisualStudio.TestTools.UITest.Common.UITestAction
Microsoft.VisualStudio.TestTools.UITest.Common.AggregatedAction
Microsoft.VisualStudio.TestTools.UITest.Common.LaunchApplicationAction
Namespace: Microsoft.VisualStudio.TestTools.UITest.Common
Assembly: Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public Class LaunchApplicationAction _
Inherits AggregatedAction
[SerializableAttribute]
public class LaunchApplicationAction : AggregatedAction
[SerializableAttribute]
public ref class LaunchApplicationAction : public AggregatedAction
[<SerializableAttribute>]
type LaunchApplicationAction =
class
inherit AggregatedAction
end
public class LaunchApplicationAction extends AggregatedAction
The LaunchApplicationAction type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
![]() |
LaunchApplicationAction() | Initializes a new instance of the LaunchApplicationAction class for XML serializaton or deserialization. |
![]() |
LaunchApplicationAction(String) | Initializes a new instance of the LaunchApplicationAction class by using the provided executable file name. |
![]() |
LaunchApplicationAction(String, String) | Initializes a new instance of the LaunchApplicationAction class by using the provided executable file name and command line arguments. |
Top
Properties
| Name | Description | |
|---|---|---|
![]() |
ActionLogEntry | Gets or sets the action log entry for the action. (Inherited from UITestAction.) |
![]() |
ActionName | Gets the name of the action. The set procedure is not supported in this base class. (Inherited from UITestAction.) |
![]() |
ActualThinkTime | Gets or sets the think time after it processes other playback parameters that are provided by the UIActionInterpreter, such as the ThinkTimeMultiplier. (Inherited from UITestAction.) |
![]() |
AdditionalInfo | When implemented in a derived class, gets a string that contains custom information. (Inherited from UITestAction.) |
![]() |
AlternateFileName | Gets or sets the alternate transformed full path of the executable file. |
![]() |
Arguments | Gets or sets the command line arguments to launch the executable. |
![]() |
Comment | Gets or sets a comment for this action. (Inherited from UITestAction.) |
![]() |
ContinueOnError | Gets or sets a value that indicates whether to continue even if this action fails. (Inherited from UITestAction.) |
![]() |
ContinueOnErrorWrapper | Gets or sets the value of the ContinueOnError property as a string for serialization. (Inherited from UITestAction.) |
![]() |
Domain | Gets or sets the domain of the user name that is used to launch the executable. |
![]() |
ElapsedTime | Gets or sets the time span of the action. (Inherited from UITestAction.) |
![]() |
EndTimestamp | The timestamp for the end of the action. (Inherited from UITestAction.) |
![]() |
FileName | Gets or sets the full path name of the executable file. |
![]() |
Id | Gets or sets a unique numeric identifier for this action. (Inherited from UITestAction.) |
![]() |
IsParameterBound | If this action can be parameterized, gets or sets a value that indicates whether the action is bound to a test parameter. (Inherited from UITestAction.) |
![]() |
IsParameterizable | Gets a value that indicates whether this action can be parameterized. (Inherited from UITestAction.) |
![]() |
NeedFiltering | Gets or sets a value that indicates whether this action can be processed by a UITestActionFilter. (Inherited from UITestAction.) |
![]() |
ParameterName | Gets or sets the name of the corresponding parameter for the action value. (Inherited from UITestAction.) |
![]() |
Password | Gets or sets the password for the user name that is used to launch the executable. |
![]() |
RunAsAdmin | Gets or sets a value that indicates whether to launch the application as an admin. |
![]() |
RunAsAdminWrapper | Gets or sets the value of RunAsAdmin as a string for serialization. |
![]() |
StartTimestamp | Gets or sets the starting time stamp when executing this action. (Inherited from UITestAction.) |
![]() |
Tags | Gets a dictionary of additional information about this action that is needed during recording, aggregation, or post-processing. The set procedure is private. (Inherited from UITestAction.) |
![]() |
ThinkTime | Gets or sets the number of seconds that are required to execute this action. (Inherited from UITestAction.) |
![]() |
ThinkTimeString | Gets or sets the think time for this action by using a string value. (Inherited from UITestAction.) |
![]() |
Timestamp | Gets or sets the time stamp for this action. (Inherited from UITestAction.) |
![]() |
UIElement | Gets or sets the UI element on which this action operates. (Inherited from UITestAction.) |
![]() |
UIObjectName | Gets or sets the name of the UI element on which this action operates. (Inherited from UITestAction.) |
![]() |
UITestActionExtension | Sets or gets the an instance of UITestActionExtension which contains properties related to actions. (Inherited from UITestAction.) |
![]() |
UserName | Gets or sets the user name that is used to launch the executable. |
![]() |
ValueAsString | Gets or sets the value of this action as a string. The set procedure is not supported in this base class. (Inherited from UITestAction.) |
Top
Methods
| Name | Description | |
|---|---|---|
![]() |
Equals | Returns a value that indicates whether the given object is equal to this UI test action. (Inherited from UITestAction.) |
![]() |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
GetHashCode | Overrides object.GetHashCode (Inherited from UITestAction.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
Invoke | Invokes this action. (Overrides UITestAction.Invoke(UITestActionInvoker, UIMap).) |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
NotifyPropertyChanged | Raises the PropertyChanged event. (Inherited from UITestAction.) |
![]() |
ToString | Returns the description of this action. (Inherited from UITestAction.) |
Top
Events
| Name | Description | |
|---|---|---|
![]() |
PropertyChanged | Occurs when a property value changes. (Inherited from UITestAction.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
.gif)
.gif)
.gif)
.gif)