In your , you may write a function to write data in a file at runtime instead of console ,for this you don’t need any additional fancy .

Although assuming if you are using Java with TestNG,you may add the maven dependencies and further classes of your new framework.And further you can create and call the object with reporter function in your framework assertion calls.

As far as impacting any existing framework is concerned, you may maintain multiple frameworks at the same time as long as keeping both reporter function calls in your assertion method in main framework.

Source link


Please enter your comment!
Please enter your name here