I have a scenario class, which has list of Test cases. Is there any way that I can save each Test case execution to separate file with name: TestCaseName.log
?
I have done this before with java.util.logging
by adding file handler in the code, but have no idea how to do this with Log4j.