Click or drag to resize

AutomationProject Properties

The AutomationProject type exposes the following members.

Properties
  NameDescription
Public propertyActiveEnvironment
Gets or sets the active environment.
Public propertyContext
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.)
Public propertyCreatedBy
Gets or sets the created by.
Public propertyCreationDate
Gets the creation date.
Public propertyCustomVariables
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.)
Public propertyDescription
Gets or sets the Description of the current AbstractTestItem
(Inherited from AbstractTestItem.)
Public propertyDisplayMessage
Gets or sets the information can be shown to the user
(Inherited from AbstractTestItem.)
Public propertyElapsedTime
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.)
Public propertyFrameworkVersion
Gets or sets the Version of the Test Framework that this automation project is created.
Public propertyHasLoadPath
Gets if the Automation Project has a Path.
Public propertyId
Gets or sets the unique identifier of the TestCase.
(Inherited from AbstractTestItem.)
Public propertyIsDisabled
Gets or sets whether the current test item is disabled.
(Inherited from AbstractTestItem.)
Public propertyIsExpanded
Gets or sets a value indicating whether this item is extended in its Visual Tree.
(Inherited from AbstractTestItem.)
Public propertyLastSaveDate
Gets the last save date.
Public propertyLastSavedBy
Gets or sets the last saved by.
Public propertyLoadPath
Gets or sets the load path.
Public propertyName
Gets or sets the name of this Test Case
(Inherited from AbstractTestItem.)
Public propertyProfile
Gets or sets the test profile.
Public propertyProgress
Gets or sets the progress of the current test item (Test suite or test case)
(Inherited from AbstractTestItem.)
Public propertyRequiredExtensions
Gets or sets the required extensions for the current AutomationProject
Public propertyStartTime
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.)
Public propertyStatus
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.

You must assign Errors, Warning if it happens within Run and Checkpoint method.

(Inherited from AbstractTestItem.)
Public propertyTestSuites
Gets or sets the test suites included in this automation project
Public propertyVariables
Gets or sets the variables in the current test scope (Test Step, Test Case or Test Suite).
(Inherited from AbstractTestItem.)
Top
See Also