Scope of Log.SaveResultAs
Hi,
I have a single ProjectSuite that contains a single Project.
I re-use the scripts 3 times, it's the same scripts but the TestedApp changes slightly.
For that I use 3 folders in Projects\TestItems.
At the end of each TestedApp I export the Logs with the following script :
Log.SaveResultsAs(Rapport, 2, true, 0);
My problem is that when I use Log.SaveResultsAs(Rapport, 2, true, 0); I have for the first folder the correct Log, but in the second one I have the first and the second, and for the third folder I have all the logs.
Example :
First log : Log folder 1
Second log : Log folder 1 + Log folder 2
Third log : Log folder 1 + Log folder 2 + Log folder 3
So I tried to changed the scope of the SaveResult. I tried Log.SaveResultsAs(Rapport, 2, true, 1) and for all the 3 TestedApp it always returns to me the first TestedApp report (the first folder).
At worst, I will use the first case, but it would waste disk space.
Anyone could help please ?
Thank you,
Mehdi