in reply to How to redirect the output to a table in HTML/XML
What have you tried so for ?
Please give us more informations like, how you are executing your test cases and the sample output formats?
Lets say, if you have your output in a text file you can use awk/sed command to fomat the output into HTML table format.
For example,Testcase status testcase1 pass testcase2 fail testcase3 pass
awk 'BEGIN {print "<table>"} {print "<tr>"; for(i = 1; i <= NF; i++ +) print "<td>" $i "</td>"; print "</tr>"} END {print "</table>"}' output.txt > final_output.html
|
|---|