Example #1
0
 public static ProjectCollectionInfo GetProjects(ITCConnection connection)
 {
     RestRequest request = new RestRequest(
         connection.UrlResolver.ResolveURL<ProjectCollectionInfo>(), Method.GET);
     return connection.CallRequest<ProjectCollectionInfo>(request);
 }
Example #2
0
 public static TestOccurenceCollectionInfo GetTestOccurenceCollection(ITCConnection connection, string locatorValue, Locator locator)
 {
     RestRequest request = new RestRequest(
         connection.UrlResolver.ResolveURL<TestOccurenceCollectionInfo>(locatorValue, locator), Method.GET);
     return connection.CallRequest<TestOccurenceCollectionInfo>(request);
 }
Example #3
0
 public static ProjectDetailsInfo GetProjectDetails(ITCConnection connection, string locatorValue, Locator locator)
 {
     RestRequest request = new RestRequest(
         connection.UrlResolver.ResolveURL<ProjectDetailsInfo>(locatorValue, locator), Method.GET);
     return connection.CallRequest<ProjectDetailsInfo>(request);
 }