TestStepBase Properties |
The TestStepBase type exposes the following members.
Name | Description | |
---|---|---|
Assertions |
Gets or sets the assertions related to the current test step
| |
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.) | |
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.) | |
Id |
Gets or sets the unique identifier of the TestCase.
(Inherited from AbstractTestItem.) | |
Information |
Detailed information for diagnostic, debug.
Do not call Information.Clear when running the test step, it will be automatically done within the base class.
| |
InformationString |
Gets the string representation of Information | |
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.) | |
Name |
Gets or sets the name of this Test Case
(Inherited from AbstractTestItem.) | |
OnErrorBehavior |
Gets or sets the behavior of Automation Engine when the current test case fails
| |
Profile |
Gets the profile.
| |
Progress |
Gets or sets the progress of the current test item (Test suite or test case)
(Inherited from AbstractTestItem.) | |
Project |
Gets the AutomationProject object where this Test Step depends on.
| |
RelatedMessage |
Gets or sets a Message object related to the current test step.
| |
RequestObject |
Gets the request object.
| |
RequestText |
Gets the Request Text from the related message, if the related message is null or empty, the return value is null.
| |
ResponseObject |
Gets the response object.
| |
ResponseText |
Gets the response text from the related message, if the related message is null the return value is null
| |
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. | |
TestCase |
Gets the referenced test case for this test step
| |
ThreadId |
Gets the thread identifier.
| |
Variables |
Gets or sets the variables in the current test scope (Test Step, Test Case or Test Suite).
(Inherited from AbstractTestItem.) |