public override void ImportALMTests(string importDestinationFolderPath) { Reporter.ToLog(eLogLevel.DEBUG, "Start importing from Qtest"); //set path to import to if (importDestinationFolderPath == "") { importDestinationFolderPath = WorkSpace.Instance.Solution.BusinessFlowsMainFolder; } //show Test Lab browser for selecting the Test Set/s to import QtestCyclesExplorerPage win = new QtestCyclesExplorerPage(importDestinationFolderPath); win.ShowAsWindow(eWindowShowStyle.Dialog); }
public override string SelectALMTestLabPath() { //show Test Cycles browser for selecting the Path QtestCyclesExplorerPage win = new QtestCyclesExplorerPage(string.Empty, true); object selectedPathObject = win.ShowAsWindow(eWindowShowStyle.Dialog); if (selectedPathObject is QtestSuiteTreeItem) { return(((QtestSuiteTreeItem)selectedPathObject).ID.ToString()); } if (selectedPathObject is QtestCycleTreeItem) { return(((QtestCycleTreeItem)selectedPathObject).ID.ToString()); } return(string.Empty); }