public List <SuiteEntry> GetSuiteEntries() { string projectName = ClientSampleHelpers.FindAnyProject(this.Context).Name; int suiteId = this._getTestSuiteId(); // Get a testplan client instance VssConnection connection = Context.Connection; TestPlanHttpClient testPlanClient = connection.GetClient <TestPlanHttpClient>(); //get suite entries List <SuiteEntry> suiteEntries = testPlanClient.GetSuiteEntriesAsync(projectName, suiteId).Result; foreach (SuiteEntry suiteEntry in suiteEntries) { Context.Log("{0} {1}", suiteEntry.Id.ToString().PadLeft(6), suiteEntry.SequenceNumber); } return(suiteEntries); }