// get test plan explorer(tree view) public static List <string> GetTestPlanExplorer(string PathNode) { string[] separatePath = PathNode.Split('\\'); List <string> testPlanPathList = new List <string>(); separatePath[0] = ExploredTestPlanFolder.ContainsKey("Subject") ? ExploredTestPlanFolder["Subject"] : QcRestClient.GetTestPlanRootFolder().Id; if (!ExploredTestPlanFolder.ContainsKey("Subject")) { ExploredTestPlanFolder.Add("Subject", separatePath[0]); } for (int i = 1; i < separatePath.Length; i++) { separatePath[i] = GetTestPlanFolderId(separatePath[i], separatePath[i - 1]); } QCTestPlan testPlanToExplor = QcRestClient.GetTestPlanTreeLayerByFilter(separatePath[separatePath.Length - 1], ""); foreach (QCTestFolder folder in testPlanToExplor.folders) { testPlanPathList.Add(folder.Name); } return(testPlanPathList); }