前页 | 后页 |
Test Class
A Test is a single Test Case applied to an element. Tests are added and accessed through the Element Tests collection.
Associated table in repository
t_objecttests
Test Attributes
Attribute |
Description |
See also |
---|---|---|
AcceptanceCriteria |
String Notes: Read/Write The acceptance criteria for successful execution. |
|
CheckedBy |
String Notes: Read/Write User ID of the person confirming the results. |
|
Class |
Long Notes: Read/Write The test Class: 1 = Unit Test 2 = Integration Test 3 = System Test 4 = Acceptance Test 5 = Scenario Test 6 = Inspection Test |
|
DateRun |
Date Notes: Read/Write The date the test was last run. |
|
Input |
String Notes: Read/Write Input data for the test. |
|
Name |
String Notes: Read/Write The test name. |
|
Notes |
String Notes: Read/Write Detailed notes about test to be carried out. |
|
ObjectType |
ObjectType Notes: Read only Distinguishes objects referenced through a Dispatch interface. |
ObjectType |
RunBy |
String Notes: Read/Write The user ID of the person conducting the test. |
|
Status |
String Notes: Read/Write The current status of the test. |
|
TestResults |
Variant Notes: Read/Write Results of test. |
|
Type |
String Notes: Read/Write The test type, such as Load or Regression. |
Test Methods
Method |
Description |
See also |
---|---|---|
GetLastError() |
String Notes: Returns a string value describing the most recent error that occurred in relation to this object. |
|
Update() |
Boolean Notes: Update the current Test object after modification or appending a new item. If False is returned, check the 'GetLastError()' function for more information. |