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

# [$=he(xss(settings.TestUnitRootNodeName))$]

## [$=TX("test-case")$] "[$=he(xss(title))$]"

[$=TX("test-unit")$] | [$=he(xss(tc.TestUnit.VisualPath))$]
[$=TX("estimated-duration")$] | [$=ZetaTestStringHelper.FormatTimeSpan( tc.EstimatedDuration )$]
[$=TX("modified")$] | [$=tc.DateModified.ToString(@"d")$], [$=xss(tc.UserModified.NameIntelli)$]
[$=TX("created")$] | [$=tc.DateCreated.ToString(@"d")$], [$=xss(tc.UserCreated.NameIntelli)$]
[$=TX("tags")$] | [$=he(xss(tags))$]
[$= dtcIndex == 0 ? TX("depends-on-others") : string.Empty$] | [$=he(xss(title))$]
[$= dtcIndex == 0 ? TX("depends-on-me") : string.Empty$] | [$=he(xss(title))$]
[$=he(xss(pa.Name))$] | [$=pa.ValueFormattedForHtml$]

#### Review:

[$=TX("editing-state")$] | [$=Zeta.VoyagerLibrary.Core.Tools.Text.StringHelper.GetEnumDescription(((IReviewable)tc).ReviewState)$]
[$=TX("latest-comment")$] | [$=Zeta.VoyagerLibrary.Core.Tools.Text.HtmlHelper.FormatMultiLine(string.IsNullOrEmpty(((IReviewable)tc).ReviewMostRecentComment)?@"-":((IReviewable)tc).ReviewMostRecentComment)$]

#### [$=TX("description")$]:

[$=ZetaTest.Runtime.Code.BusinessLogic.Attributes.AttributeRenderer.ExpandAttributes( xss(tc.EffectiveInheritedDescription), tc )$]

[$=he(xss(styleField.Name))$]
[$=nl2br(styleField.FormatValue(c==null ? null : c.Value, fi))$]

## [$=TX("variants")$]

### [$=variantIndex+1$]. [$=variant.GetTitleWithOptions("
", true)$]

#### [$=TX("prerequisites")$]:

[$=ZetaTest.Runtime.Code.BusinessLogic.Attributes.AttributeRenderer.ExpandAttributes( xss(variant.EffectivePrerequisitesDescription), tc )$]

#### [$=TX("test-steps")$]:

[$=ZetaTest.Runtime.Code.BusinessLogic.Attributes.AttributeRenderer.ExpandAttributes( xss(variant.EffectiveTestStepsDescription), tc )$]

#### [$=TX("expected-results")$]:

[$=ZetaTest.Runtime.Code.BusinessLogic.Attributes.AttributeRenderer.ExpandAttributes( xss(variant.EffectiveExpectedResultsDescription), tc )$]

#### [$=TX("prerequisites")$]:

[$=ZetaTest.Runtime.Code.BusinessLogic.Attributes.AttributeRenderer.ExpandAttributes( xss(variant.EffectivePrerequisitesDescription), tc )$]

#### [$=TX("test-steps")$]:

[$=ZetaTest.Runtime.Code.BusinessLogic.Attributes.AttributeRenderer.ExpandAttributes( xss(variant.EffectiveTestStepsDescription), tc )$]

#### [$=TX("expected-results")$]:

[$=ZetaTest.Runtime.Code.BusinessLogic.Attributes.AttributeRenderer.ExpandAttributes( xss(variant.EffectiveExpectedResultsDescription), tc )$]

## [$=TX("attachments")$]

[$=TX("file")$] | [$=TX("size")$] | [$=TX("date")$]
--- | --- | ---
[$=he(xss(attachment.UserReadableName)) $] | [$=attachment.PrintableFileSize $] | [$=ZetaTestStringHelper.FormatDateAndTime( attachment.FileChangeDate ) $]
[$=he(xss(attachment.UserReadableName)) $] |  |

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

## [$=TX("linked-elements")$]

[$ if ( project.Settings.ShowTestCaseIDs ) { $] [$=TX("id")$] [$ } $] | [$=TX("name")$] | [$=TX("type")$] | [$=TX("state")$] | [$=TX("path")$]
--- | --- | --- | --- | ---
[$ if ( project.Settings.ShowTestCaseIDs ) { $] [$=chainItem.ChainItemID$] [$ } $] | [$ if ( chainItem.IsHotLinkable ) { $] [$=he(xss(chainItem.ChainItemName))$] [$ } else { var url = chainItem.GetAlternativeOpenUrl(project); if ( !string.IsNullOrEmpty(url)) { $] [$=he(xss(chainItem.ChainItemName))$] [$ } else { $] [$=he(xss(chainItem.ChainItemName))$] [$ }} $] | [$=he(xss(chainItem.ChainItemUserReadableType))$] | [$=statusText$] | [$=he(xss(chainItem.ChainItemVisualParentPath))$]