RunInfo Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents information about the execution of a test run.
public ref class RunInfo sealed : Microsoft::VisualStudio::TestTools::Common::Xml::IXmlTestStore
[System.Serializable]
public sealed class RunInfo : Microsoft.VisualStudio.TestTools.Common.Xml.IXmlTestStore
[<System.Serializable>]
type RunInfo = class
interface IXmlTestStore
Public NotInheritable Class RunInfo
Implements IXmlTestStore
- Inheritance
-
RunInfo
- Attributes
- Implements
Constructors
RunInfo(String, Exception, String, TestOutcome) |
Initializes an instance of the RunInfo class by using the provided information. |
Properties
AgentMachine |
Gets the name of the computer on which the test was run. |
ComputerInfo |
Gets the name of the computer on which the test was run. |
Exception |
Gets the Exception, if any, that resulted from the test run. |
IsPass |
Gets a value that indicates whether the test run ended with an acceptable outcome. |
Outcome |
Gets a member of the TestOutcome enumeration, which indicates how the test run ended. |
OutcomeText |
Gets the text representation of the Outcome property value. |
Text |
Gets the message text that was provided when the instance was created. |
TextHashCode |
Gets the hash code for the contents of the Text property. |
Timestamp |
Gets the date and time when the instance was created. |
Methods
Load(XmlElement, XmlTestStoreParameters) |
Loads the object from the provided XML element by using the provided parameters. |
Save(XmlElement, XmlTestStoreParameters) |
Saves the current object to the specified XML element by using the provided parameters. |