Forum Discussion

hrshilpashree's avatar
hrshilpashree
Occasional Contributor
5 years ago

Can we create a log(separate log file) through script?

Hi All,   Can we create a log (Project .log) through script? I have different test cases running through same function, so need to create a log (new log file )through code for each test cases?  
  • AlexKaras's avatar
    AlexKaras
    5 years ago

    Hi,

     

    Is it possible to export just the logs in particular folder through script. 

    Not sure that I got the question, but nevertheless: the log can be exported (manually or via Log.SaveResultsAs() ) as a whole only.

    To get a part of the log, you can export the whole log and parse it manually then.