/// <summary>
        /// Import csv file
        /// </summary>
        /// <param name="csvFilePath">path to the csv file</param>
        public void Import(string csvFilePath)
        {
            ImportButton.Click();
            var openDlg = On <TiOpenFileDialog, TcOpenFileDialogFlux>();

            openDlg.SetFilename(csvFilePath);
        }
Beispiel #2
0
        /// <summary>
        /// Import (tools, deduction values, ...)
        /// </summary>
        /// <param name="filename"></param>
        public void Import(string filename)
        {
            ImportButton.Click();
            var openDlg = On <TiOpenFileDialog, TcOpenFileDialogDatamanager>();

            openDlg.SetFilename(filename);
        }
Beispiel #3
0
        internal void Click_to_button(ButtonType _buttonName)
        {
            switch (_buttonName.ToString())
            {
            case "Export":
                ExportButton.Click();
                break;

            case "Import":
                ImportButton.Click();
                break;

            case "Cancel":
                CancelButton.Click();
                break;
            }
        }