public void CreateResponseType(String name, String displayOrder)
        {
            BtnNewResponseType.Click();
            var popup = new ResponseTypeProperties();

            popup.SwitchTo();
            popup.TxtName.Value         = name;
            popup.TxtDisplayOrder.Value = displayOrder;
            popup.BtnOk.Click();
            popup.SwitchBackToParent();
        }
        public void ModifyResponseType(String name, String newName = null, String displayOrder = null)
        {
            var reviewNoteLink = new Link(By.LinkText(name));

            reviewNoteLink.Click();
            var popup = new ResponseTypeProperties();

            popup.SwitchTo();
            if (newName != null)
            {
                popup.TxtName.Value = newName;
            }
            if (displayOrder != null)
            {
                popup.TxtDisplayOrder.Value = displayOrder;
            }
            popup.BtnOk.Click();
            popup.SwitchBackToParent();
        }