public static ProjectCollectionInfo GetProjects(ITCConnection connection) { RestRequest request = new RestRequest( connection.UrlResolver.ResolveURL<ProjectCollectionInfo>(), Method.GET); return connection.CallRequest<ProjectCollectionInfo>(request); }
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); }
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); }