mardi 6 novembre 2018

Create a specific test output folder in testng framework based on the testng xml file called

I have a TestNG Java project built using maven. I have couple of testng xml's customized for each run. [Ex: Sanity_Test.xml and Functional_Test.xml] I also have the listeners and have custom html reports created after each run. What would be the best way to create a separate output folder namely Sanity Results whenever the Sanity_Test.xml is run and similarly to the Functional_Test.xml as well ?

Aucun commentaire:

Enregistrer un commentaire