am using TestNG framework for running selenium scripts(java) of flex application. Recently i added a java code for image comparison to that selenium script. Now am able to run that script but the only issue is result of visual comparison is not reflected in the html reports generated by TestNG.
For image comparison am using command line command "Compare" of Image magick tool. To have this command line command in my selenium script, am implementing getruntime.exec() function. So, it is generating the output in command line itself.
I want this output to get reflected in the TestNG html reports.