[scriptInclude type="file" source="$(ResourcesFolder)\_Shared\includes\document-start-include.html" /] [$! using Zeta.VoyagerLibrary.Core.Tools; $]
[scriptInclude type="file" source="$(ResourcesFolder)\_Shared\includes\header-content-include.html" /]

# [$=TX("test-folder-progress", he(xss(tc.Title)))$]

[$=TX("export")$]

## [$=he(xss(tp.Title))$]

### [$=he(xss(testEnv.Title))$]

[$=TX("test-run")$] | [$=TX("state")$] | [$=TX("start")$] | [$=TX("end")$] | [$=TX("total")$] | [$=TX("open")$] | ∑ [$=TX("empty-2")$] | ∑ [$=he(xss(testResult.ShortName))$]
--- | --- | --- | --- | --- | --- | --- | ---
[$=he(xss(testRun.Title))$] | [$=StringHelper.GetEnumDescription(testRun.State)$] | [$=getOrEmpty("-", ZetaTestStringHelper.FormatDateAndTime( testRun.DateStarted ))$] | [$=getOrEmpty("-", ZetaTestStringHelper.FormatDateAndTime( testRun.DateFinished ))$] | [$=totalCount$] | [$=openCount$] | [$=emptyCount$] | [$ int id; if (states.TryGetValue( testResult.ID, out id ) ) { Context.Write(id); } else { Context.Write(0); } $]

[$=TX("test-run-count", index)$]

[$=TX("test-environments-none")$]

[$=TX("test-plans-none")$]

[$$ private static string getOrEmpty( string alt, string text ) { return string.IsNullOrEmpty(text)?alt:text; } $]