Package | Description |
---|---|
br.eti.kinoshita.testlinkjavaapi |
Modifier and Type | Method and Description |
---|---|
String |
TestLinkAPI.about()
Displays information about TL.
|
Map<String,Object> |
TestLinkAPI.addPlatformToTestPlan(Integer testProjectId,
Integer testPlanId,
String platformName)
Adds a platform to a test plan.
|
Integer |
TestLinkAPI.addTestCaseToTestPlan(Integer testProjectId,
Integer testPlanId,
Integer testCaseId,
Integer version,
Integer platformId,
Integer order,
Integer urgency)
Adds a Test Case to a Test Plan.
|
void |
TestLinkAPI.assignRequirements(Integer testCaseId,
Integer testProjectId,
List<Requirement> requirements)
Assign a requirements to a Test Case.
|
void |
TestLinkAPI.assignTestCaseExecutionTask(Integer testPlanId,
String testCaseExternalId,
String user,
String buildName)
Assign user to execute Test Case in Test Plan
|
Boolean |
TestLinkAPI.checkDevKey(String devKey)
Checks developer key.
|
Build |
TestLinkAPI.createBuild(Integer testPlanId,
String buildName,
String buildNotes)
Creates a Build.
|
TestCase |
TestLinkAPI.createTestCase(String testCaseName,
Integer testSuiteId,
Integer testProjectId,
String authorLogin,
String summary,
List<TestCaseStep> steps,
String preconditions,
TestCaseStatus status,
TestImportance importance,
ExecutionType execution,
Integer order,
Integer internalId,
Boolean checkDuplicatedName,
ActionOnDuplicate actionOnDuplicatedName)
Creates a Test Case.
|
Map<String,Object> |
TestLinkAPI.createTestCaseSteps(Integer testCaseId,
String testCaseExternalId,
Integer version,
TestCaseStepAction action,
List<TestCaseStep> testCaseSteps)
Create, Update or Push a list of TestCaseSteps in a Test Case.
|
TestPlan |
TestLinkAPI.createTestPlan(String planName,
String projectName,
String notes,
Boolean isActive,
Boolean isPublic)
Creates a Test Plan.
|
TestProject |
TestLinkAPI.createTestProject(String testProjectName,
String testProjectPrefix,
String notes,
Boolean enableRequirements,
Boolean enableTestPriority,
Boolean enableAutomation,
Boolean enableInventory,
Boolean isActive,
Boolean isPublic)
Creates a Test Project.
|
TestSuite |
TestLinkAPI.createTestSuite(Integer testProjectId,
String name,
String details,
Integer parentId,
Integer order,
Boolean checkDuplicatedName,
ActionOnDuplicate actionOnDuplicatedName)
Create a test suite.
|
void |
TestLinkAPI.deleteExecution(Integer executionId)
Deletes an execution.
|
Map<String,Object> |
TestLinkAPI.deleteTestCaseSteps(String testCaseExternalId,
Integer version,
List<TestCaseStep> testCaseSteps)
Delete a list if TestCaseSteps from a Test Case.
|
Boolean |
TestLinkAPI.doesUserExist(String user)
Checks if the given user exists.
|
Object |
TestLinkAPI.executeXmlRpcCall(String methodName,
Map<String,Object> executionData)
Executes a XML-RPC call.
|
Build[] |
TestLinkAPI.getBuildsForTestPlan(Integer testPlanId)
Retrieves an Array of Builds for a given Test Plan.
|
TestSuite[] |
TestLinkAPI.getFirstLevelTestSuitesForTestProject(Integer testProjectId)
Get set of test suites AT TOP LEVEL of tree on a Test Project
|
String[] |
TestLinkAPI.getFullPath(Integer nodeId)
Retrieves the full path of a node.
|
Execution |
TestLinkAPI.getLastExecutionResult(Integer testPlanId,
Integer testCaseId,
String testCaseExternalId,
Integer platformId,
String platformName,
Integer buildId,
String buildName,
Integer options)
Retrieves last execution result of a Test Case.
|
Build |
TestLinkAPI.getLatestBuildForTestPlan(Integer testPlanId)
Retrieves the latest Build for a given Test Plan.
|
Platform[] |
TestLinkAPI.getProjectPlatforms(Integer projectId)
Retrieves the platforms of a test project.
|
TestProject[] |
TestLinkAPI.getProjects()
Retrieves all Test Projects from TestLink.
|
TestPlan[] |
TestLinkAPI.getProjectTestPlans(Integer projectId)
Retrieves an array of Test Plans associated to a Test Project.
|
TestCase |
TestLinkAPI.getTestCase(Integer testCaseId,
Integer testCaseExternalId,
Integer version)
Get a test case
|
Attachment[] |
TestLinkAPI.getTestCaseAttachments(Integer testCaseId,
Integer testCaseVersion,
Integer testCaseExternalId)
Return an array of attachments of a Test Case.
|
TestCase |
TestLinkAPI.getTestCaseByExternalId(String fullTestCaseExternalId,
Integer version)
Get a Test Case using the full external id, composed by the prefix and the external id: prefix-externalId
|
CustomField |
TestLinkAPI.getTestCaseCustomFieldDesignValue(Integer testCaseId,
Integer testCaseExternalId,
Integer versionNumber,
Integer testProjectId,
String customFieldName,
ResponseDetails details)
Retrieves list of Custom Fields for a Test Case.
|
CustomField |
TestLinkAPI.getTestCaseCustomFieldExecutionValue(Integer testCaseId,
Integer testCaseExternalId,
Integer versionNumber,
Integer executionId,
Integer testPlanID,
Integer testProjectId,
String customFieldName,
ResponseDetails details)
Gets the test case custom field value on test execution scope.
|
CustomField |
TestLinkAPI.getTestCaseCustomFieldTestPlanDesignValue(Integer testCaseId,
Integer testCaseExternalId,
Integer versionNumber,
Integer testProjectId,
String customFieldName,
ResponseDetails details)
Gets the test case custom field value on test plan design scope.
|
Integer |
TestLinkAPI.getTestCaseIDByName(String testCaseName,
String testSuiteName,
String testProjectName,
String testCasePathName)
Get a test case ID by a test case Name
|
List<String> |
TestLinkAPI.getTestCaseKeywords(Integer testProjectId,
Integer testCaseId)
Gets list of keywords for a given Test case
|
TestCase[] |
TestLinkAPI.getTestCasesForTestPlan(Integer testPlanId,
List<Integer> testCasesIds,
Integer buildId,
List<Integer> keywordsIds,
String keywords,
Boolean executed,
List<Integer> assignedTo,
String[] executeStatus,
ExecutionType executionType,
Boolean getStepInfo,
TestCaseDetails detail)
Retrieves Test Cases for Test Plans.
|
TestCase[] |
TestLinkAPI.getTestCasesForTestSuite(Integer testSuiteId,
Boolean deep,
TestCaseDetails detail)
Retrieves Test Cases for a Test Suite.
|
TestPlan |
TestLinkAPI.getTestPlanByName(String planName,
String projectName)
Retrieves a Test Plan by its name.
|
CustomField |
TestLinkAPI.getTestPlanCustomFieldDesignValue(Integer testPlanId,
Integer testProjectId,
String customFieldName,
ResponseDetails details)
Gets the test plan custom field value
|
Platform[] |
TestLinkAPI.getTestPlanPlatforms(Integer planId)
Retrieves Platforms of a Test Plan.
|
TestProject |
TestLinkAPI.getTestProjectByName(String projectName)
Retrieves a Test Project by its name.
|
Attachment[] |
TestLinkAPI.getTestSuiteAttachments(Integer testSuiteId)
Return an array of attachments of a Test Suite.
|
TestSuite[] |
TestLinkAPI.getTestSuiteByID(List<Integer> testSuiteIds)
Retrieves Test Suites for given Ids.
|
TestSuite[] |
TestLinkAPI.getTestSuitesForTestPlan(Integer testPlanId) |
TestSuite[] |
TestLinkAPI.getTestSuitesForTestSuite(Integer testSuiteId)
Get list of TestSuites which are DIRECT children of a given TestSuite
|
Map<String,Object> |
TestLinkAPI.getTotalsForTestPlan(Integer testPlanId)
Gets stats for test plan.
|
User |
TestLinkAPI.getUserByLogin(String login)
Get user by login.
|
String |
TestLinkAPI.ping()
ping method is an alias for sayHello.
|
Map<String,Object> |
TestLinkAPI.removePlatformFromTestPlan(Integer testProjectId,
Integer testPlanId,
String platformName)
Removes a platform from a test plan.
|
String |
TestLinkAPI.repeat(String str)
Repeat the text.
|
ReportTCResultResponse |
TestLinkAPI.reportTCResult(Integer testCaseId,
Integer testCaseExternalId,
Integer testPlanId,
ExecutionStatus status,
List<TestCaseStepResult> steps,
Integer buildId,
String buildName,
String notes,
Integer executionDuration,
Boolean guess,
String bugId,
Integer platformId,
String platformName,
Map<String,String> customFields,
Boolean overwrite,
String user,
String timestamp)
Reports a Test Case result.
|
String |
TestLinkAPI.sayHello()
Says hello to the user.
|
ReportTCResultResponse |
TestLinkAPI.setTestCaseExecutionResult(Integer testCaseId,
Integer testCaseExternalId,
Integer testPlanId,
ExecutionStatus status,
List<TestCaseStepResult> steps,
Integer buildId,
String buildName,
String notes,
Integer executionDuration,
Boolean guess,
String bugId,
Integer platformId,
String platformName,
Map<String,String> customFields,
Boolean overwrite,
String user,
String timestamp)
Reports a Test Case result.
|
Boolean |
TestLinkAPI.setTestMode(Boolean testMode)
Set the test mode.
|
Map<String,Object> |
TestLinkAPI.updateBuildCustomFields(Integer buildId,
Integer testProjectId,
Integer testPlanId,
Map<String,String> customFields)
Update build custom fields.
|
Map<String,Object> |
TestLinkAPI.updateTestCase(TestCase tc)
Update an already existing test case with the data of the given test case as a new version.
|
Attachment |
TestLinkAPI.uploadAttachment(Integer fkId,
String fkTable,
String title,
String description,
String fileName,
String fileType,
String content)
Upload an attachment linking it to a DB table.
|
Attachment |
TestLinkAPI.uploadExecutionAttachment(Integer executionId,
String title,
String description,
String fileName,
String fileType,
String content)
Upload an execution attachment.
|
Attachment |
TestLinkAPI.uploadRequirementAttachment(Integer requirementId,
String title,
String description,
String fileName,
String fileType,
String content)
Uploads an attachment to a Requirement.
|
Attachment |
TestLinkAPI.uploadRequirementSpecificationAttachment(Integer reqSpecId,
String title,
String description,
String fileName,
String fileType,
String content)
Uploads an attachment to a Requirement Specification.
|
Attachment |
TestLinkAPI.uploadTestCaseAttachment(Integer testCaseId,
String title,
String description,
String fileName,
String fileType,
String content)
Uploads an attachment to a Test Case.
|
Attachment |
TestLinkAPI.uploadTestProjectAttachment(Integer testProjectId,
String title,
String description,
String fileName,
String fileType,
String content)
Uploads an attachment to a Test Project.
|
Attachment |
TestLinkAPI.uploadTestSuiteAttachment(Integer testSuiteId,
String title,
String description,
String fileName,
String fileType,
String content)
Uploads an attachment to a Test Suite.
|
Constructor and Description |
---|
TestLinkAPI(URL url,
String devKey)
Constructor with parameters.
|
TestLinkAPI(URL url,
String devKey,
String proxyHost,
int proxyPort)
Constructor with parameters.
|
Copyright © 2010–2020. All rights reserved.