Members
http
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Author:Leon
- Source:
http
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Author:Brahmananda Kar
- Source:
Methods
getBuildsForTestPlan(testPlanId, callback)
Retrieves Builds Created for TestPlan.
Parameters:
Name | Type | Description |
---|---|---|
testPlanId |
object | |
callback |
function |
- Source:
Returns:
getExecCountersByBuild(testPlanId, callback)
Retrieves Execution Counters for Build
Parameters:
Name | Type | Description |
---|---|---|
testPlanId |
object | |
callback |
function |
- Source:
Returns:
getFirstLevelTestSuitesForTestProject(testProjectId, callback)
Retrieves First Level of TestSuites in a Project
Parameters:
Name | Type | Description |
---|---|---|
testProjectId |
object | |
callback |
function |
- Source:
Returns:
getFullPath(nodeId, callback)
Retrieves Full Path for a Node
Parameters:
Name | Type | Description |
---|---|---|
nodeId |
object | |
callback |
function |
- Source:
Returns:
getJsObjectByXmlResponse(response)
Retrieves Json Object from XML Response.
Parameters:
Name | Type | Description |
---|---|---|
response |
object |
- Source:
Returns:
getLastExecutionResult(testPlanId, testCaseExternalId, callback)
Retrieves Last Execution Result for a TestCase
Parameters:
Name | Type | Description |
---|---|---|
testPlanId |
object | |
testCaseExternalId |
object | |
callback |
function |
- Source:
Returns:
getProjectPlatforms(testProjectId, callback)
Retrieves Platforms Assigned for Project.
Parameters:
Name | Type | Description |
---|---|---|
testProjectId |
object | |
callback |
function |
- Source:
Returns:
getProjects(callback)
Retrieves Created Test Projects.
Parameters:
Name | Type | Description |
---|---|---|
callback |
function |
- Source:
Returns:
getProjectTestPlans(testProjectId, callback)
Retrieves TestPlans Created for Project.
Parameters:
Name | Type | Description |
---|---|---|
testProjectId |
object | |
callback |
function |
- Source:
Returns:
getRequestByObject(response)
Converts the Response to Object.
Parameters:
Name | Type | Description |
---|---|---|
response |
object |
- Source:
Returns:
getTestCase(callback, testCaseExternalId)
Retrieves Created TestCase based on External Id.
Parameters:
Name | Type | Description |
---|---|---|
callback |
function | |
testCaseExternalId |
object |
- Source:
Returns:
getTestCaseAttachments(testCaseExternalId, downloadPath, callback)
Get attached files for a TestCase.
Parameters:
Name | Type | Description |
---|---|---|
testCaseExternalId |
object | |
downloadPath |
object | |
callback |
function |
- Source:
getTestCaseCustomFieldDesignValue(testProjectId, testCaseExternalId, customFieldName, details, version, callback)
Retrieves Custom Field Design Value Created for TestCase.
Parameters:
Name | Type | Description |
---|---|---|
testProjectId |
object | |
testCaseExternalId |
object | |
customFieldName |
object | |
details |
object | |
version |
object | |
callback |
function |
- Source:
Returns:
getTestCaseIDByName(testCaseName, callback)
Retrieves Created TestCase based on Id
Parameters:
Name | Type | Description |
---|---|---|
testCaseName |
object | |
callback |
function |
- Source:
Returns:
getTestCasesForTestPlan(testPlanId, callback)
Retrieves Created TestCase(s) for a TestPlan
Parameters:
Name | Type | Description |
---|---|---|
testPlanId |
object | |
callback |
function |
- Source:
Returns:
getTestCasesForTestSuite(testProjectId, testSuiteId, callback)
Retrieves Created TestCase(s) for a TestSuite
Parameters:
Name | Type | Description |
---|---|---|
testProjectId |
object | |
testSuiteId |
object | |
callback |
function |
- Source:
Returns:
getTestLinkVersion(callback)
Retrieves TestList Version.
Parameters:
Name | Type | Description |
---|---|---|
callback |
function |
- Source:
Returns:
getTestPlanByName(testProjectName, testPlanName, callback)
Retrieves TestPlan and its Properties
Parameters:
Name | Type | Description |
---|---|---|
testProjectName |
object | |
testPlanName |
object | |
callback |
function |
- Source:
Returns:
getTestPlanPlatforms(testPlanId, callback)
Retrieves Platforms Assigned for TestPlan
Parameters:
Name | Type | Description |
---|---|---|
testPlanId |
object | |
callback |
function |
- Source:
Returns:
getTestProjectByName(testProjectName, callback)
Retrieves TestProject and its Properties
Parameters:
Name | Type | Description |
---|---|---|
testProjectName |
object | |
callback |
function |
- Source:
Returns:
getTestSuitesForTestPlan(testPlanId, callback)
Retrieves TestSuites created for TestPlan(s)
Parameters:
Name | Type | Description |
---|---|---|
testPlanId |
object | |
callback |
function |
- Source:
Returns:
getTestSuitesForTestSuite(testSuiteId, callback)
Retrieves Child TestSuite(s) created under a TestSuite(s)
Parameters:
Name | Type | Description |
---|---|---|
testSuiteId |
object | |
callback |
function |
- Source:
Returns:
getUserByID(userId, callback)
Retrieves User and user properties
Parameters:
Name | Type | Description |
---|---|---|
userId |
object | |
callback |
function |
- Source:
Returns:
getUserByLogin(user, callback)
Retrieves LoggedIn User and properties
Parameters:
Name | Type | Description |
---|---|---|
user |
object | |
callback |
function |
- Source:
Returns:
removePlatformFromTestPlan(testPlanId, platformName, callback)
Un-Assign a Platform for a given TestPlan
Parameters:
Name | Type | Description |
---|---|---|
testPlanId |
object | |
platformName |
object | |
callback |
function |
- Source:
Returns:
reportTCResult(testPlanId, testCaseExternalId, buildId, notes, status, platformName, user, bugId, callback)
Update Result for a given TestCase.
Parameters:
Name | Type | Description |
---|---|---|
testPlanId |
object | |
testCaseExternalId |
object | |
buildId |
object | |
notes |
object | |
status |
object | |
platformName |
object | |
user |
object | |
bugId |
object | |
callback |
function |
- Source:
Returns:
reportTCResultOverwrite(testPlanId, testCaseExternalId, buildId, notes, status, platformName, overwrite, user, bugId, callback)
Overwrite Result for a given TestCase.
Parameters:
Name | Type | Description |
---|---|---|
testPlanId |
object | |
testCaseExternalId |
object | |
buildId |
object | |
notes |
object | |
status |
object | |
platformName |
object | |
overwrite |
object | |
user |
object | |
bugId |
object | |
callback |
function |
- Source:
Returns:
setTestCaseExecutionType(testProjectId, testCaseExternalId, executionType, callback)
Set the Execution Type for a given TestCase.
Parameters:
Name | Type | Description |
---|---|---|
testProjectId |
object | |
testCaseExternalId |
object | |
executionType |
object | |
callback |
function |
- Source:
Returns:
updateTestCase(testCaseExternalId, version, summary, callback)
Update TestCase Version and Summary.
Parameters:
Name | Type | Description |
---|---|---|
testCaseExternalId |
object | |
version |
object | |
summary |
object | |
callback |
function |
- Source:
Returns:
updateTestCaseCustomFieldDesignValue(testProjectId, testCaseExternalId, version, customFieldName, customFieldValue, callback)
Update TestCase Custom Field Design Values.
Parameters:
Name | Type | Description |
---|---|---|
testProjectId |
object | |
testCaseExternalId |
object | |
version |
object | |
customFieldName |
object | |
customFieldValue |
object | |
callback |
function |
- Source:
Returns:
uploadTestCaseAttachment(testCaseId, fileName, uploadPath, callback)
Uploads a Given file to TestCase
Parameters:
Name | Type | Description |
---|---|---|
testCaseId |
object | |
fileName |
object | |
uploadPath |
object | |
callback |
function |
- Source: