ClassTest
Defines a test test that contains several automation step. Handles the load/save of these tests too.
Definition
Namespace:ArtOfTest.WebAii.Design.ProjectModel
Assembly:ArtOfTest.WebAii.Design.dll
Syntax:
[DataContract(Name = "WebAiiTest", Namespace = "http://artoftest.com/schemas/WebAiiDesignCanvas/3.0.0")]
[KnownType(typeof(TestBase))]
[KnownType(typeof(CustomizableDataTable))]
public class Test : TestBase, INotifyPropertyChanged, IDataTransport, IExtensibleDataObject, ICloudDispatchableFactory
Inheritance: objectTestBaseTest
Implements:
Inherited Members
Constructors
Fields
ALL_FILE_EXTENSIONS
Declaration
public static readonly string[] ALL_FILE_EXTENSIONS
Field Value
string[]
IMAGE_STORE_EXTENSION
Declaration
public const string IMAGE_STORE_EXTENSION = ".imgstore"
Field Value
PERF_CONFIG_FILE_EXTENSION
Declaration
public const string PERF_CONFIG_FILE_EXTENSION = ".tsprofconfig"
Field Value
PERF_DEFAULT_CONFIG_SUBFOLDER
Declaration
public const string PERF_DEFAULT_CONFIG_SUBFOLDER = "Profiler Configurations"
Field Value
PERF_RESULTS_FILE_EXTENSION
Declaration
public const string PERF_RESULTS_FILE_EXTENSION = ".tsperf"
Field Value
RESOURCE_FILE_EXTENSION
Declaration
public const string RESOURCE_FILE_EXTENSION = ".resx"
Field Value
Properties
AppStartArgs
Declaration
[Browsable(false)]
[DataMember(Name = "AppStartArgs", IsRequired = false)]
public string AppStartArgs { get; set; }
Property Value
AppStartSkip
Declaration
[DataMember(Name = "AppStartSkip", IsRequired = false)]
public bool AppStartSkip { get; set; }
Property Value
AppWorkingFolder
Declaration
[Browsable(false)]
[DataMember(Name = "AppWorkingFolder", IsRequired = false)]
public string AppWorkingFolder { get; set; }
Property Value
BrowserType
Gets or sets the browser the test executes on. Overrides the Settings.DefaultBrowser.
Declaration
[DataMember(Name = "BrowserType", IsRequired = false)]
public BrowserExecutionType BrowserType { get; set; }
Property Value
CurrentReferences
Declaration
[Browsable(false)]
[DataMember]
public AssemblyReferenceCollection CurrentReferences { get; }
Property Value
DefaultProfilerConfigurationFileName
Declaration
[Browsable(false)]
public string DefaultProfilerConfigurationFileName { get; }
Property Value
DesktopAppPath
Declaration
[Browsable(false)]
[DataMember(Name = "DesktopAppPath", IsRequired = false)]
public string DesktopAppPath { get; set; }
Property Value
DisableDialogMonitoring
Declaration
[DataMember(Name = "DisableDialogMonitoring", IsRequired = false, EmitDefaultValue = false)]
public bool DisableDialogMonitoring { get; set; }
Property Value
ExtensionData
Declaration
[Browsable(false)]
public ExtensionDataObject ExtensionData { get; set; }
Property Value
Implements
HasCodeBehind
Declaration
[DataMember(Name = "HasCodeBehind")]
public bool HasCodeBehind { get; set; }
Property Value
HtmlDescription
The HTML description of this test
Declaration
[Browsable(false)]
[DataMember(Name = "HtmlDescription")]
public string HtmlDescription { get; set; }
Property Value
IndependentDescriptors
Gets pr sets the list of independent descriptors
Declaration
[Browsable(false)]
[DataMember(Name = "IndependentDescriptors")]
public List<ElementDescriptor> IndependentDescriptors { get; set; }
Property Value
InheritParentDataSource
Gets or sets whether the data-driven sub test (TestAsStep) should inherit the data source from its parent test.
Declaration
[DataMember(Name = "InheritParentDataSource", IsRequired = false)]
public bool InheritParentDataSource { get; set; }
Property Value
IsSilverlightApp
Declaration
[Browsable(false)]
[DataMember(Name = "IsSilverlightApp", IsRequired = false)]
public bool IsSilverlightApp { get; set; }
Property Value
IsUILoaded
Gets or sets whether this test is loading.
Declaration
[Browsable(false)]
public bool IsUILoaded { get; set; }
Property Value
ProfilerBenchmarkResultsFilePath
Declaration
[Browsable(false)]
[DataMember]
public string ProfilerBenchmarkResultsFilePath { get; set; }
Property Value
ProfilerBenchmarkResultsId
Declaration
[Browsable(false)]
[DataMember]
public Guid ProfilerBenchmarkResultsId { get; set; }
Property Value
ProfilerConfigurationFilePath
Declaration
[Browsable(false)]
public string ProfilerConfigurationFilePath { get; }
Property Value
ProfilerConfigurationFolderPath
Declaration
[Browsable(false)]
public string ProfilerConfigurationFolderPath { get; }
Property Value
ProfilerConfigurationId
Declaration
[Browsable(false)]
[DataMember]
public Guid ProfilerConfigurationId { get; set; }
Property Value
ProfilerResultsDirectory
Declaration
[DataMember]
[Browsable(false)]
public string ProfilerResultsDirectory { get; set; }
Property Value
Project
Gets the project owned by this test
Declaration
protected override Project Project { get; set; }
Property Value
Overrides
ReuseAppWindow
Declaration
[DataMember(Name = "ReuseAppWindow")]
public int ReuseAppWindow { get; set; }
Property Value
SilverlightAppLocalDirectory
Declaration
[Browsable(false)]
[DataMember(Name = "SilverlightAppLocalDirectory", IsRequired = false)]
public string SilverlightAppLocalDirectory { get; set; }
Property Value
SilverlightAppOriginUri
Declaration
[Browsable(false)]
[DataMember(Name = "SilverlightAppOriginUri", IsRequired = false)]
public string SilverlightAppOriginUri { get; set; }
Property Value
SilverlightAppRecordLocal
Declaration
[Browsable(false)]
[DataMember(Name = "SilverlightAppRecordLocal", IsRequired = false)]
public bool SilverlightAppRecordLocal { get; set; }
Property Value
SilverlightAppWebUrl
Declaration
[Browsable(false)]
[DataMember(Name = "SilverlightAppWebUrl", IsRequired = false)]
public string SilverlightAppWebUrl { get; set; }
Property Value
SilverlightEnabled
Declaration
[DataMember(Name = "SilverlightEnabled")]
public bool SilverlightEnabled { get; set; }
Property Value
Steps
List of automation steps of this test
Declaration
[Browsable(false)]
[DataMember(Name = "Steps", IsRequired = true)]
public AutomationStepList Steps { get; set; }
Property Value
StopTestListOnFailure
Gets or sets whether to stop test list execution if the test fails.
Declaration
[DataMember(Name = "StopTestListOnFailure", IsRequired = false)]
public bool StopTestListOnFailure { get; set; }
Property Value
UseDefaultDesktopAppPath
Declaration
[Browsable(false)]
[DataMember(Name = "UseDefaultDesktopAppPath", IsRequired = false)]
public bool UseDefaultDesktopAppPath { get; set; }
Property Value
UseDefaultWpfAppPath
Declaration
[Browsable(false)]
[DataMember(Name = "UseDefaultWpfAppPath", IsRequired = false)]
public bool UseDefaultWpfAppPath { get; set; }
Property Value
WebKitExecutionDelay
Declaration
[DataMember(Name = "WebKitExecutionDelay")]
public int WebKitExecutionDelay { get; set; }
Property Value
WpfAppPath
Declaration
[Browsable(false)]
[DataMember(Name = "WpfAppPath", IsRequired = false)]
public string WpfAppPath { get; set; }
Property Value
Methods
CreateCloudDispatchable(string)
Declaration
public ICloudDispatchableTest CreateCloudDispatchable(string pathToProjectFileDirectory)
Parameters
pathToProjectFileDirectory
Returns
Implements
LoadProfilerConfiguration()
Loads the current independent profiler configuration file specified in this test, or otherwise converts V1 profiler configuration to the independent file format.
Declaration
public ProfilerMetadataConfigurationSet LoadProfilerConfiguration()
Returns
SaveResources(bool)
Declaration
public override void SaveResources(bool clearResources)
Parameters
clearResources
Overrides
ToString()
Overridden ToString
Declaration
public override string ToString()
Returns
Name of test
Overrides