Forum Discussion

Fredrik's avatar
Fredrik
Occasional Contributor
7 years ago

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

  • nmrao's avatar
    nmrao
    Champion Level 3
    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.
    • Fredrik's avatar
      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's avatar
        Fredrik
        Occasional Contributor

        Hi again, does anybody know? :)