public static void StreamWrite(TestCase testCase, StreamWriter streamWriter) { streamWriter.WriteLine(UserTypesXmlTranslator.mainTestCaseElement()); streamWriter.WriteLine(UserTypesXmlTranslator.transID(testCase)); streamWriter.WriteLine(UserTypesXmlTranslator.transAuthor(testCase)); streamWriter.WriteLine(UserTypesXmlTranslator.transIsAutomated(testCase)); streamWriter.WriteLine(UserTypesXmlTranslator.transTestCategory(testCase)); streamWriter.WriteLine(UserTypesXmlTranslator.transTittle(testCase)); streamWriter.WriteLine(UserTypesXmlTranslator.transEnviromentAndVersion(testCase)); streamWriter.WriteLine(UserTypesXmlTranslator.transPrerequisites(testCase)); streamWriter.WriteLine(UserTypesXmlTranslator.transStepsList(testCase)); streamWriter.WriteLine(UserTypesXmlTranslator.transActualResults(testCase)); streamWriter.WriteLine(UserTypesXmlTranslator.transExpectedResults(testCase)); streamWriter.WriteLine(UserTypesXmlTranslator.transIsPassed(testCase)); streamWriter.WriteLine(UserTypesXmlTranslator.mainTestCaseElementEnd()); }