Esempio n. 1
0
        private string HtmlContent()
        {
            string siteMapRootNodeId = BAT.Arrange(this.TestName).ExecuteArrangement("GetSiteMapRootNodeId").Result.Values["siteMapRootNodeId"];
            string childPageId       = BAT.Arrange(this.TestName).ExecuteArrangement("GetChildPageId").Result.Values["childPageId"];

            string content = "<a href=\"/" + ParentPageName.ToLower() +
                             "/" + InsertedPageName.ToLower() +
                             "\" sfref=\"[" + siteMapRootNodeId + "]" + childPageId +
                             "\">" + TextToDisplay + "</a>";

            return(content);
        }
        private string HtmlContent()
        {
            string siteMapRootNodeId = BAT.Arrange(ArrangementClassName).ExecuteArrangement("GetSiteMapRootNodeId").Result.Values["siteMapRootNodeId"];
            string childPageId       = BAT.Arrange(ArrangementClassName).ExecuteArrangement("GetChildPageId").Result.Values["childPageId"];

            string content = "<a href=\"/" + ParentPageName.ToLower() +
                             "/" + InsertedPageName.ToLower() +
                             "\" sfref=\"[" + siteMapRootNodeId + "]" + childPageId +
                             "\" target=\"_blank\">" + InsertedPageName + "</a>";

            return(content);
        }