I am very new to java & TestNG . I did a java-selenium POC concept where the test script executes well but the results are overwritten after every run. I managed to add a timestamp for the screenshot for failed but could not do that to emailable result html file. So every time i run i loose the previous results.
I came across couple of similar questions but they didn't help me.
Should I add something in my - POM dependencies or should i include any code in my testng.xml file or should I create a separate class file with dome code that will do the operation .
Help appreciated