/// <summary>
        /// Creates an activity with name, optionally can also provide a custom internal name
        /// </summary>
        public void CreateNewActivity(string name, string internalName = null, bool acceptSanitizedInternalName = false)
        {
            Trace.WriteLine(String.Format("Creating a new activity named: {0} with internal name: {1}", name, internalName));

            BtnNew.Click();
            var page = new NewActivityPage();

            page.TxtDisplayName.Value = name;
            if (internalName != null)
            {
                page.TxtInternalName.Value = internalName;
            }
            page.BtnOk.Click();
            try {
                // The alert is in case a badly formed internal name
                var alert = Web.PortalDriver.SwitchTo().Alert();
                if (acceptSanitizedInternalName)
                {
                    alert.Accept();
                }
                else
                {
                    alert.Dismiss();
                }
            } catch (NoAlertPresentException ex) {
                Trace.WriteLine(ex.Message);
            }
            NavigateTo();
        }
        /// <summary>
        /// Creates an activity with name, optionally can also provide a custom internal name
        /// </summary>
        public void CreateNewActivity(string name, string internalName = null, bool acceptSanitizedInternalName = false)
        {
            Trace.WriteLine(String.Format("Creating a new activity named: {0} with internal name: {1}", name, internalName));

            BtnNew.Click();
            var page = new NewActivityPage();
            page.TxtDisplayName.Value = name;
            if (internalName != null) {
                page.TxtInternalName.Value = internalName;
            }
            page.BtnOk.Click();
            try {
                // The alert is in case a badly formed internal name
                var alert = Web.PortalDriver.SwitchTo().Alert();
                if (acceptSanitizedInternalName) {
                    alert.Accept();
                } else {
                    alert.Dismiss();
                }
            } catch (NoAlertPresentException ex) {
                Trace.WriteLine(ex.Message);
            }
            NavigateTo();
        }