ClassTestList
Definition
Namespace:ArtOfTest.WebAii.Design.Execution
Assembly:ArtOfTest.WebAii.Design.dll
Syntax:
public class TestList : INotifyPropertyChanged, IDataTransport
Inheritance: objectTestList
Implements:
Constructors
TestList(string, string, Filter)
The TestList object constructor initializing the tests by the list of filters. Adds an automated test list for backwards compatibility.
TestList(string, string, Filter, TestListType)
The TestList object constructor initializing the tests by the list of filters.
Declaration
public TestList(string name, string ownerName, Filter filter, TestListType type)
Parameters
name
The friendly name of the test list instance.
ownerName
The owner name of the test list instance.
filter
The test filter to be applied on retrieving the tests.
type
The test list type.
TestList(string, string, Filter, TestListType, UserSettings)
Create a TestList without tests.
Declaration
public TestList(string name, string owner, Filter filter, TestListType type, UserSettings userSettings)
Parameters
name
The test list name.
owner
The owner.
filter
The test filter to be applied on retrieving the tests.
type
The test list type.
userSettings
The user settings of the project
TestList(string, string, List<TestInfo>)
The TestList object constructor initializing the flat list of test paths. Adds an automated test list for backwards compatibility.
TestList(string, string, List<TestInfo>, TestListType)
The TestList object constructor initializing the flat list of test paths.
Declaration
public TestList(string name, string ownerName, List<TestInfo> tests, TestListType type)
Parameters
name
The friendly name of the test list instance.
ownerName
The owner name of the test list instance.
tests
The list of tests represented by their test path.
type
The test list type.
TestList(string, string, TestListType)
Create a TestList without tests.
Declaration
public TestList(string name, string owner, TestListType type)
Parameters
name
The test list name.
owner
The owner.
type
The test list type.
Fields
LISTS_FOLDER_NAME
Declaration
public const string LISTS_FOLDER_NAME = "TestLists"
Field Value
LIST_FILE_EXTENSION
Declaration
public const string LIST_FILE_EXTENSION = ".aiilist"
Field Value
Properties
CloudStorageCredentials
Used to retrieve the list of tests from the project (from which to filter dynamic lists from)
Declaration
[Browsable(false)]
public CloudStorageCredentials CloudStorageCredentials { get; set; }
Property Value
CloudStorageCredentials
CreationDate
Gets the date of creation of the run object.
Filter
Gets the test filter to retrieve the tests by.
Declaration
[Browsable(false)]
public Filter Filter { get; set; }
Property Value
IsDynamic
Get whether a filter stands behind the test list and is applied to all the tests in the project.
IsProfilingExecution
This property is exposed for databinding because Settings and .WebSettings don't implement INotifyPropertyChanged.
ListType
Declaration
[Browsable(false)]
public TestListType ListType { get; set; }
Property Value
OwnerName
Gets the owner name of the Run object.
ProjectId
Declaration
[Browsable(false)]
public Guid ProjectId { get; set; }
Property Value
ProjectPath
Declaration
[Browsable(false)]
public string ProjectPath { get; set; }
Property Value
Settings
Gets or sets the settings associated with the TestList object.
Declaration
[Browsable(false)]
public Settings Settings { get; set; }
Property Value
TestListId
Gets the unique Id of the TestList object.
Declaration
[Browsable(false)]
public string TestListId { get; }
Property Value
TestListName
Gets the friendly name of the TestList object.
Methods
Clone(string)
Clones the TestList instance.
GetProjectRootPath(string)
Get the project root path from the given list full path.
LoadFromFile(string)
Loads the TestList object from the file with given path.
SaveToListFile(string)
Create the list file from the current test list object.
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Value
Implements