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

[$=TX("test-plan-progress", tp.Title)$]

Export

[$=testEnv.Title$]

[$=TX("test-run")$] [$=TX("state")$] [$=TX("start")$] [$=TX("end")$] [$=TX("total")$] [$=TX("open")$] ∑ [$=TX("empty-2")$] ∑ [$=testResult.ShortName$]
[$=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-1", index)$]

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