0

Can somebody help me making a script which converts a txt file into an xml file Logic should be something which has a loop running which reads if 'pass' in line: then print testcase name: "",class=pass if pass or fail if test case fails.

text file is output of a automated test bat file.

31st Jan 2017, 6:26 PM
Rahul Goyal
Rahul Goyal - avatar
1 Answer
+ 2
Start with a simple script copying a text file into another new one... After, you need to know how convert "manually" your source into valid Xml file, which is a text file format, and automatize the "manual" transform while you read/write the file streams ^^
31st Jan 2017, 6:35 PM
visph
visph - avatar