marin
13 years agoFrequent Contributor
How to flush test log?
Hello all,
I wonder if it somehow possible to flush test log?
My test environment consists of a project suite with 2 projects, each project dedicated to a different application brand.
Project suite is defined to have 2 test items (projects mentioned above). At end of each project there is a method that sends test log to a specific recipient - different recipient per project.
What I'd like to achieve is to send the "part log" per project to dedicated recipient. I.e. when prjoect 1 is finished send log regarding project 1 to recipient A, then flush log, then when project 2 is finished send log regarding project 2 to recipient B.
Currently, there will be correct log sent to recipient A (log for project 1), but then after project 2 is finished, recipient B will receive the entire (cumulative) log: both for project 1 and for project 2.
I thought of somehow flushing the log after project 1 finishes - is this possible?
Are there any other possibilities to achive what I am aiming at?
Many thanks for any hints,
Marin
I wonder if it somehow possible to flush test log?
My test environment consists of a project suite with 2 projects, each project dedicated to a different application brand.
Project suite is defined to have 2 test items (projects mentioned above). At end of each project there is a method that sends test log to a specific recipient - different recipient per project.
What I'd like to achieve is to send the "part log" per project to dedicated recipient. I.e. when prjoect 1 is finished send log regarding project 1 to recipient A, then flush log, then when project 2 is finished send log regarding project 2 to recipient B.
Currently, there will be correct log sent to recipient A (log for project 1), but then after project 2 is finished, recipient B will receive the entire (cumulative) log: both for project 1 and for project 2.
I thought of somehow flushing the log after project 1 finishes - is this possible?
Are there any other possibilities to achive what I am aiming at?
Many thanks for any hints,
Marin