TestLinkApi Class
TestLink API Client brings you a pure JavaScript Node-Module for TestLink tool
Item Index
Methods
- getBuildsForTestPlan
- getExecCountersByBuild
- getFirstLevelTestSuitesForTestProject
- getFullPath
- getLastExecutionResult
- getProjectPlatforms
- getProjects
- getProjectTestPlans
- getTestCase
- getTestCaseAttachments
- getTestCaseCustomFieldDesignValue
- getTestCaseIDByName
- getTestCasesForTestPlan
- getTestCasesForTestSuite
- getTestLinkVersion
- getTestPlanByName
- getTestPlanPlatforms
- getTestProjectByName
- getTestSuitesForTestPlan
- getTestSuitesForTestSuite
- getUserByID
- getUserByLogin
- removePlatformFromTestPlan
- reportTCResult
- reportTCResultOverwrite
- setTestCaseExecutionType
- updateTestCase
- updateTestCaseCustomFieldDesignValue
- uploadTestCaseAttachment
Methods
getBuildsForTestPlan
-
testPlanId
-
callback
Retrieves Builds Created for TestPlan.
Parameters:
-
testPlanId
Object -
callback
Function
Returns:
JSON Object for Builds
getExecCountersByBuild
-
testPlanId
-
callback
Retrieves Execution Counters for Build
Parameters:
-
testPlanId
Object -
callback
Function
Returns:
JSON Object for Execution Counters
getFirstLevelTestSuitesForTestProject
-
testProjectId
-
callback
Retrieves First Level of TestSuites in a Project
Parameters:
-
testProjectId
Object -
callback
Function
Returns:
JSON Object for TestSuite
getFullPath
-
nodeId
-
callback
Retrieves Full Path for a Node
Parameters:
-
nodeId
Object -
callback
Function
Returns:
JSON Object for FullPath
getLastExecutionResult
-
testPlanId
-
testCaseExternalId
-
callback
Retrieves Last Execution Result for a TestCase
Parameters:
-
testPlanId
Object -
testCaseExternalId
Object -
callback
Function
Returns:
JSON Object for Last Execution Result
getProjectPlatforms
-
testProjectId
-
callback
Retrieves Platforms Assigned for Project.
Parameters:
-
testProjectId
Object -
callback
Function
Returns:
JSON Object for Project Platforms
getProjects
-
callback
Retrieves Created Test Projects.
Parameters:
-
callback
Function
Returns:
JSON Object for Project(s)
getProjectTestPlans
-
testProjectId
-
callback
Retrieves TestPlans Created for Project.
Parameters:
-
testProjectId
Object -
callback
Function
Returns:
JSON Object for Project TestPlan(s)
getTestCase
-
callback
-
testCaseExternalId
Retrieves Created TestCase based on External Id.
Parameters:
-
callback
Function -
testCaseExternalId
Object
Returns:
JSON Object for TestCase
getTestCaseAttachments
-
testCaseExternalId
-
downloadPath
-
callback
Get attached files for a TestCase.
Parameters:
-
testCaseExternalId
Object -
downloadPath
Object -
callback
Function
getTestCaseCustomFieldDesignValue
-
testProjectId
-
testCaseExternalId
-
customFieldName
-
details
-
version
-
callback
Retrieves Custom Field Design Value Created for TestCase.
Parameters:
-
testProjectId
Object -
testCaseExternalId
Object -
customFieldName
Object -
details
Object -
version
Object -
callback
Function
Returns:
JSON Object for TestCase Custom field Value
getTestCaseIDByName
-
testCaseName
-
callback
Retrieves Created TestCase based on Id
Parameters:
-
testCaseName
Object -
callback
Function
Returns:
JSON Object for TestCase
getTestCasesForTestPlan
-
testPlanId
-
callback
Retrieves Created TestCase(s) for a TestPlan
Parameters:
-
testPlanId
Object -
callback
Function
Returns:
JSON Object for TestCases(s)
getTestCasesForTestSuite
-
testProjectId
-
testSuiteId
-
callback
Retrieves Created TestCase(s) for a TestSuite
Parameters:
-
testProjectId
Object -
testSuiteId
Object -
callback
Function
Returns:
JSON Object for TestCases(s)
getTestLinkVersion
-
callback
Retrieves TestList Version.
Parameters:
-
callback
Function
Returns:
JSON Object for version
getTestPlanByName
-
testProjectName
-
testPlanName
-
callback
Retrieves TestPlan and its Properties
Parameters:
-
testProjectName
Object -
testPlanName
Object -
callback
Function
Returns:
JSON Object for TestPlan
getTestPlanPlatforms
-
testPlanId
-
callback
Retrieves Platforms Assigned for TestPlan
Parameters:
-
testPlanId
Object -
callback
Function
Returns:
JSON Object for Platform
getTestProjectByName
-
testProjectName
-
callback
Retrieves TestProject and its Properties
Parameters:
-
testProjectName
Object -
callback
Function
Returns:
JSON Object for Project
getTestSuitesForTestPlan
-
testPlanId
-
callback
Retrieves TestSuites created for TestPlan(s)
Parameters:
-
testPlanId
Object -
callback
Function
Returns:
JSON Object for TestSuite
getTestSuitesForTestSuite
-
testSuiteId
-
callback
Retrieves Child TestSuite(s) created under a TestSuite(s)
Parameters:
-
testSuiteId
Object -
callback
Function
Returns:
JSON Object for TestSuite
getUserByID
-
userId
-
callback
Retrieves User and user properties
Parameters:
-
userId
Object -
callback
Function
Returns:
JSON Object for User
getUserByLogin
-
user
-
callback
Retrieves LoggedIn User and properties
Parameters:
-
user
Object -
callback
Function
Returns:
JSON Object for User
removePlatformFromTestPlan
-
testPlanId
-
platformName
-
callback
Un-Assign a Platform for a given TestPlan
Parameters:
-
testPlanId
Object -
platformName
Object -
callback
Function
Returns:
JSON Object for a PlatformTestPlan
reportTCResult
-
testPlanId
-
testCaseExternalId
-
buildId
-
notes
-
status
-
platformName
-
user
-
bugId
-
callback
Update Result for a given TestCase.
Parameters:
-
testPlanId
Object -
testCaseExternalId
Object -
buildId
Object -
notes
Object -
status
Object -
platformName
Object -
user
Object -
bugId
Object -
callback
Function
Returns:
JSON Object for TestCase Result
reportTCResultOverwrite
-
testPlanId
-
testCaseExternalId
-
buildId
-
notes
-
status
-
platformName
-
overwrite
-
user
-
bugId
-
callback
Overwrite Result for a given TestCase.
Parameters:
-
testPlanId
Object -
testCaseExternalId
Object -
buildId
Object -
notes
Object -
status
Object -
platformName
Object -
overwrite
Object -
user
Object -
bugId
Object -
callback
Function
Returns:
JSON Object for TestCase Result
setTestCaseExecutionType
-
testProjectId
-
testCaseExternalId
-
executionType
-
callback
Set the Execution Type for a given TestCase.
Parameters:
-
testProjectId
Object -
testCaseExternalId
Object -
executionType
Object -
callback
Function
Returns:
JSON Object for TestCase Execution Type
updateTestCase
-
testCaseExternalId
-
version
-
summary
-
callback
Update TestCase Version and Summary.
Parameters:
-
testCaseExternalId
Object -
version
Object -
summary
Object -
callback
Function
Returns:
JSON Object for TestCase
updateTestCaseCustomFieldDesignValue
-
testProjectId
-
testCaseExternalId
-
version
-
customFieldName
-
customFieldValue
-
callback
Update TestCase Custom Field Design Values.
Parameters:
-
testProjectId
Object -
testCaseExternalId
Object -
version
Object -
customFieldName
Object -
customFieldValue
Object -
callback
Function
Returns:
JSON Object for TestCase
uploadTestCaseAttachment
-
testCaseId
-
fileName
-
uploadPath
-
callback
Uploads a Given file to TestCase
Parameters:
-
testCaseId
Object -
fileName
Object -
uploadPath
Object -
callback
Function