Ask a Question

One log file per testcase.

Fredrik
Occasional Contributor

One log file per testcase.

I would like to get one log file from each testcase, that is executed in a test suite, automatically without having to export any logs manually.  

 

E.g. Is possible to write the script log into the ready api log so that the steps(time stamps) are not mixed and then export this file automatically? 

 

Thanks

 

3 REPLIES 3
nmrao
Champion Level 2

How many projects / suites / test cases (in total you have got)?

What is your use case?

If there are thousands of tests cases, it is cumbersome to manage such logs files if you want to take a look at them. Isn't it?

In general, it is single log file that is used for logging file in the world of software.


Regards,
Rao.
Fredrik
Occasional Contributor

Hi, 

It all depends on what you do with the log files, for instance in this case I'm only interested in the failing test cases. and whether or not it is common to use one or several logs that depends on many parameters such as the test-framework, environment, history, the actual test etc.  

 

The big question is if it is possible or not to:

 

1. Create one log file containing the logs from readyapi, script log etc. 

2. Export that file automatically 

 

Fredrik
Occasional Contributor

Hi again, does anybody know? 🙂 

cancel
Showing results for 
Search instead for 
Did you mean: