I try to extract informations out of a Trx File. I step through it with a xml reader and read the attributes of the UnitTestResultType.
UnitTestResultType result = testResultAggregation as UnitTestResultType;
resultTable.TestIdHeader = result.testId;
resultTable.TestNameHeader = result.testName;
resultTable.Error = ((System.Xml.XmlNode[])(((OutputType)(((TestResultType)(result)).Items[0])).ErrorInfo.Message))[0].Value;
Is it possible to extract also the Project name of the test?
Aucun commentaire:
Enregistrer un commentaire