/// <summary>
        /// AddpcapngFiles
        /// </summary>
        public void AddpcapngFiles()
        {
            #region Variable Declarations
            WinEdit   uITBPathNetworkTraceEdit = this.UIONVIFClientTestToolWindow.UITBPathNetworkTraceWindow.UITBPathNetworkTraceEdit;
            WinButton uIAddButton = this.UIONVIFClientTestToolWindow.UIAddWindow.UIAddButton;
            #endregion

            foreach (string s in test.pcapng)
            {
                uITBPathNetworkTraceEdit.WaitForControlReady(20000);
                uITBPathNetworkTraceEdit.Text = s;
                //uITBPathNetworkTraceEdit.CopyPastedText = s;

                // Щелкните "Add..." кнопка
                uIAddButton.WaitForControlReady(10000);
                Mouse.Click(uIAddButton);
            }
        }
        /// <summary>
        /// AddFeatureFiles
        /// </summary>
        public void AddFeatureFiles()
        {
            #region Variable Declarations

            WinButton uIBrowseButton = this.UIONVIFClientTestToolWindow.UIBrowseWindow.UIBrowseButton;
            WinList   uILVUnitsList  = this.UIONVIFClientTestToolWindow.UILVUnitsWindow.UILVUnitsList;
            #endregion

            if (test.featureDevice != null)
            {
                foreach (var feature in this.test.featureDevice)
                {
                    foreach (WinCheckBox listItem in uILVUnitsList.Items)
                    {
                        if (listItem.AccessibleDescription.Contains(feature.Key))
                        {
                            listItem.WaitForControlReady();
                            Mouse.Click(listItem);
                            break;
                        }
                    }

                    // Щелкните "Browse" кнопка
                    uIBrowseButton.WaitForControlReady();
                    Mouse.Click(uIBrowseButton);
                    this.UIOpenWindow.WaitForControlExist();

                    //WinEdit uIИмяфайлаEdit = new WinEdit();
                    WinEdit   uIИмяфайлаEdit  = this.UIOpenWindow.UIItemWindow.UIFilenameEdit;
                    WinButton uIОткрытьButton = this.UIOpenWindow.UIOpenWindow1.UIOpenButton;

                    uIИмяфайлаEdit.WaitForControlReady(10000);
                    System.Threading.Thread.Sleep(1000);
                    uIИмяфайлаEdit.Text = feature.Value;
                    //uIИмяфайлаEdit.CopyPastedText = feature.Value;


                    // Щелкните "&Открыть" кнопка
                    uIОткрытьButton.WaitForControlReady();
                    Mouse.Click(uIОткрытьButton);
                    this.UIOpenWindow.WaitForControlNotExist();
                }
            }
        }
        /// <summary>
        /// RunConformanceTest
        /// </summary>
        public void RunConformanceTest()
        {
            #region Variable Declarations
            WinTabPage uIDiagnosticsTabPage = this.UIONVIFClientTestToolWindow.UITCMainWindow.UIDiagnosticsTabPage;
            //WinButton uIRunConformanceTestButton = this.UIONVIFClientTestToolWindow.UIRunConformanceTestWindow.UIRunConformanceTestButton;
            WinButton uIRunConformanceTestButton = this.UIONVIFClientTestToolWindow.UIM_ToolStripToolBar.UIRunConformanceTestButton;
            WinWindow uIОКWindow    = this.UIWarningWindow.UIОКWindow;
            WinList   uILVUnitsList = this.UIONVIFClientTestToolWindow.UILVUnitsWindow.UILVUnitsList;
            #endregion
            string stepName = "";
            try
            {
                stepName = "GetFeaturesList";
                foreach (DeviceExpectedResult device in this.test.expectedResults)
                {
                    this.mac = device.deviceMAC;

                    foreach (WinCheckBox listItem in uILVUnitsList.Items)
                    {
                        if (listItem.AccessibleDescription.Contains(device.deviceMAC))
                        {
                            string name = listItem.AccessibleDescription.Substring(listItem.AccessibleDescription.IndexOf("Name: ") + 6, listItem.AccessibleDescription.IndexOf("; MAC", 11) - 12);
                            this.macAndDevice.Add(this.mac, name);
                            break;
                        }
                    }
                }
                WinTabPage uIConformanceTabPage = this.UIONVIFClientTestToolWindow.UITCMainWindow.UIConformanceTabPage;
                WinEdit    uITBProductNameEdit  = this.UIONVIFClientTestToolWindow.UITBProductNameWindow.UITBProductNameEdit;

                stepName = "OpenConformanceTab";
                uIConformanceTabPage.WaitForControlReady();
                Mouse.Click(uIConformanceTabPage);

                stepName = "GetClientName";
                uITBProductNameEdit.WaitForControlReady();
                this.macAndDevice.Add("deviceName", uITBProductNameEdit.Text);

                // Щелкните "Diagnostics" вкладка
                stepName = "OpenDiagnosticsTab";
                uIDiagnosticsTabPage.WaitForControlReady(10000);
                Mouse.Click(uIDiagnosticsTabPage);

                // Щелкните "Run Conformance Test" кнопка
                stepName = "RunConformance";
                uIRunConformanceTestButton.WaitForControlReady(10000);
                Mouse.Click(uIRunConformanceTestButton);

                stepName = "CheckFeaturesWarningWindow";
                if (uIОКWindow.Exists)
                {
                    WinButton uIОКButton = this.UIWarningWindow.UIОКWindow.UIОКButton;
                    // Щелкните "ОК" кнопка
                    uIОКButton.WaitForControlReady();
                    Mouse.Click(uIОКButton);
                }
                stepName = "WaitingDone";
                WinText text = this.UIONVIFClientTestToolWindow.UISSMainStatusBar.UIItemText;
                System.Threading.Thread.Sleep(1000);
                stepName = "WaitingDone2";
                text.WaitForControlExist(5000);
                stepName = "WaitingDone3";
                System.Threading.Thread.Sleep(1000);
                text.WaitForControlCondition(IsStatusDone, 2700000);
                stepName = "WaitingDone4";
            }
            catch (Exception e)
            {
                throw new Exception(String.Format("Substep Name {0}. /n Message: {1}", stepName, e.Message), e);
            }
        }