protected override void HookUI()
        {
            conformanceInfoView.ClientUnderTest = UnitSet.GetClient();

            conformanceInfoView.ResetBindings();

            btnGenetateDoC.Enabled         = CheckIfDoCAvailable();
            btnGenerateFeatureList.Enabled = CheckIfFeatureListAvailable();

            conformanceLogView.Clear();
            conformanceLogView.Refresh();
        }
        private static void WriteClientInfo(XmlWriter writer)
        {
            writer.WriteStartElement("ClientInformation");

            Client client = UnitSet.GetClient();

            writer.WriteElementString("ProductName", client.Name);
            writer.WriteElementString("Brand", String.Empty);
            writer.WriteElementString("Model", String.Empty);
            writer.WriteElementString("Version", String.Empty);
            writer.WriteElementString("ProductType", String.Empty);

            writer.WriteEndElement();
        }
        private void btnGenerateFeatureList_Click(object sender, EventArgs e)
        {
            if (null == UnitSet.GetClient())
            {
                DialogHelper.ShowMessage("You must have client to generate Feature List xml");
                return;
            }

            if (!conformanceInfoView.IsInputValid)
            {
                DialogHelper.ShowError(Resources.Message_Some_mandatory_fields_are_invalid);
                return;
            }

            ShowFeatureListDialog();
        }
Beispiel #4
0
        protected override void HookUI()
        {
            ResizeListViews();

            btnRun.Enabled = !ConversationList.IsEmpty && ConversationList.Instance.Validated && null != UnitSet.GetClient();
        }