AutomationProject Class |
Namespace: Hummingbird.TestFramework.Automation
The AutomationProject type exposes the following members.
Name | Description | |
---|---|---|
AutomationProject |
Initializes a new instance of the AutomationProject class.
|
Name | Description | |
---|---|---|
ActiveEnvironment |
Gets or sets the active environment.
| |
Context |
Gets or sets the test case level Context values. The context is dispatched by the automation engine, and is read-only outside of the Test Cases.
(Inherited from AbstractTestItem.) | |
CreatedBy |
Gets or sets the created by.
| |
CreationDate |
Gets the creation date.
| |
CustomVariables |
Gets a list of custom variables defined by the user. These variables will be saved with the project. and will be replaced if necessary.
CustomVariables are more priority than variables in Variables, if an variable of the same name exists both in CustomVariables and Variables, the value of that in CustomVarialbes will return.
(Inherited from AbstractTestItem.) | |
Description |
Gets or sets the Description of the current AbstractTestItem (Inherited from AbstractTestItem.) | |
DisplayMessage |
Gets or sets the information can be shown to the user
(Inherited from AbstractTestItem.) | |
ElapsedTime |
A DateTime object indicates the time when current steps finishes. EndTime is set by the test framework after the Checkpoint method has finishes.
If the test step goes wrong, EndTime will be set when the error occurs.
(Inherited from AbstractTestItem.) | |
FrameworkVersion |
Gets or sets the Version of the Test Framework that this automation project is created.
| |
HasLoadPath |
Gets if the Automation Project has a Path.
| |
Id |
Gets or sets the unique identifier of the TestCase.
(Inherited from AbstractTestItem.) | |
IsDisabled |
Gets or sets whether the current test item is disabled.
(Inherited from AbstractTestItem.) | |
IsExpanded |
Gets or sets a value indicating whether this item is extended in its Visual Tree.
(Inherited from AbstractTestItem.) | |
LastSaveDate |
Gets the last save date.
| |
LastSavedBy |
Gets or sets the last saved by.
| |
LoadPath |
Gets or sets the load path.
| |
Name |
Gets or sets the name of this Test Case
(Inherited from AbstractTestItem.) | |
Profile |
Gets or sets the test profile.
| |
Progress |
Gets or sets the progress of the current test item (Test suite or test case)
(Inherited from AbstractTestItem.) | |
RequiredExtensions |
Gets or sets the required extensions for the current AutomationProject
| |
StartTime |
A DateTime object indicates the time when current steps starts to run. StartTime is set by the test framework when the Run method has been called.
(Inherited from AbstractTestItem.) | |
Status |
Status of the current test item (TestSuite, TestCase or TestStep). Automation framework will mark Result = Running when entering the current item.
If Result has not been changed in Run() and Checkpoint() method, it will be marked as Passed.
(Inherited from AbstractTestItem.)You must assign Errors, Warning if it happens within Run and Checkpoint method. | |
TestSuites |
Gets or sets the test suites included in this automation project
| |
Variables |
Gets or sets the variables in the current test scope (Test Step, Test Case or Test Suite).
(Inherited from AbstractTestItem.) |
Name | Description | |
---|---|---|
Abandon |
Abandons the unsaved changes to this project.
| |
CheckLinks |
Checks the parent links of the project: Links TestStep to parent TestCase and links TestCase to parent TestSuite
| |
Compare |
Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.
(Inherited from AbstractTestItem.) | |
CompareTo |
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
(Inherited from AbstractTestItem.) | |
DeleteItem |
Deletes an sub item from the current scope. for Test Case, the item is test Step, For Test Suite, the item is test case, ...
(Overrides AbstractTestItemDeleteItem(Object).) | |
Dispose |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from AbstractTestItem.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetTestItem |
Gets the AbstractTestItem object from Id
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetVariable |
Gets the variable from the given context.
(Inherited from AbstractTestItem.) | |
GetVariables |
Gets All variables available for the current test scope.
(Inherited from AbstractTestItem.) | |
InitStatus |
Initializes the status of the Test Case
(Inherited from AbstractTestItem.) | |
Load |
Loads an TestSuite instance from a specified location
| |
LoadAsync |
Loads an TestSuite instance from a specified location in asynchronized mode
| |
MoveDown |
Moves down a test item in its parent items collections
(Inherited from AbstractTestItem.) | |
MoveToBottom |
Moves to bottom a test item in its parent items collections
(Inherited from AbstractTestItem.) | |
MoveToTop |
Moves on top a test item in its parent items collection.
(Inherited from AbstractTestItem.) | |
MoveUp |
Moves up a test item in its parent items collection.
(Inherited from AbstractTestItem.) | |
Run |
Runs all the test suites of the current project.
| |
Save |
Saves this instance to a location.
| |
SaveAs |
Saves the current automation project as other file.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
UpdateId |
Generates a new Identifier of the current AbstractTestItem and all its sub items.
(Overrides AbstractTestItemUpdateId.) |
Name | Description | |
---|---|---|
PropertyChanged |
Occurs when the test case properties has been changed.
(Inherited from AbstractTestItem.) |
Name | Description | |
---|---|---|
ToStringOrXml |
Converts any Object to string representation in String or XML format.
(Defined by ExtensionMethods.) | |
ToXmlString |
Converts any Object to string representation in XML format.
(Defined by ExtensionMethods.) |