Search found 20 matches

by akang
Tue Feb 08, 2011 1:31 am
Forum: XML-RPC API
Topic: tl_1.8.5b reportTCResult() update wrong version
Replies: 4
Views: 7409

Re: tl_1.8.5b reportTCResult() update wrong version

tc's version should be retrieved from function _checkTCIDAndTPIDValid() and passed to _insertResultToDB().
However, 1.8.5b does not support overwrite function. insertResultToDB() is the only method.
by akang
Sun Feb 06, 2011 8:12 pm
Forum: XML-RPC API
Topic: tl_1.8.5b reportTCResult() update wrong version
Replies: 4
Views: 7409

Re: tl_1.8.5b reportTCResult() update wrong version

[1] Testlink is in production; not going to move to 1.9.1 anytime soon.
[2] I check the 1.9.1 function reportTCResult(), do not see it call checkTestCaseVersionNumber().
Is it the function reportTCResult() should call to retrieve the correct tcversion_number?

Thanks,
akang
by akang
Fri Feb 04, 2011 1:58 am
Forum: XML-RPC API
Topic: tl_1.8.5b reportTCResult() update wrong version
Replies: 4
Views: 7409

tl_1.8.5b reportTCResult() update wrong version

Hi, I noticed reportTCResult() update status to version 1, not the actual version assigned to test plan. Does anyone notice this problem? Here is the scenario: A test cases named "Open System" with version 2 [tc_id is 449] is assigned to test_project:"Open Project", test_plan:&qu...
by akang
Thu Feb 03, 2011 6:12 am
Forum: XML-RPC API
Topic: getTestCase() not process testcaseexternalid
Replies: 0
Views: 3853

getTestCase() not process testcaseexternalid

On thread { [SOLVED]What am I doing wrong - reportTCResult } User martinM use "testcaseexternalid" to retrieve a TestCase. His code is as following: #first test-case tcextid = "qq-1" data = {} data["devKey"] = devkey data["testcaseexternalid"] = tcextid tcinfo...
by akang
Sat Jan 29, 2011 1:20 am
Forum: XML-RPC API
Topic: [SOLVED] - PYTHON - could not deal with some special chars
Replies: 3
Views: 8640

Re: could not deal with some special characters with xml-rpc

For python user only: This is how you debug which test case has special character. [1] modify xmlrpclib.py which should be at your pyhton's lib. For example: /opt/Python25/lib/xmlrpclib.py looking for def feed() at class ExpatParser change it to: def feed(self, data): try: self._parser.Parse(data, 0...
by akang
Mon Nov 29, 2010 11:19 pm
Forum: XML-RPC API
Topic: API for testcase results of a specific build of test plan
Replies: 8
Views: 11736

Re: API for testcase results of a specific build of test pla

fman, I think the xmlrpc API, both at 1.8.5 and 1.9, does not support get test-case execution result on build 1.0.0.0.3 of test_plan:HELO. The only API I can find regarding to Execution is getLastExecutionResult() which does not care about buildid at all. From the GUI, TL allow you to test non-laste...
by akang
Mon Nov 29, 2010 12:54 am
Forum: XML-RPC API
Topic: API for testcase results of a specific build of test plan
Replies: 8
Views: 11736

Re: API for testcase results of a specific build of test pla

Here are the APIs I found from the xmlrpc class: 'tl.reportTCResult' => 'this:reportTCResult', 'tl.createBuild' => 'this:createBuild', 'tl.createTestCase' => 'this:createTestCase', 'tl.createTestProject' => 'this:createTestProject', 'tl.createTestSuite' => 'this:createTestSuite', 'tl.assignRequireme...
by akang
Mon Nov 29, 2010 12:37 am
Forum: XML-RPC API
Topic: API for testcase results of a specific build of test plan
Replies: 8
Views: 11736

Re: API for testcase results of a specific build of test pla

fman, Read the class (i'm not an php guy). The API only support getTestExecutionResult() -- the latest one which do no imply which build. Also don't see any method I can get result of test-plan of build "x.y.z.0". Let's say, I have 100 test cases (in many test suites) assign to test_plan: ...
by akang
Thu Nov 25, 2010 12:57 am
Forum: XML-RPC API
Topic: API for testcase results of a specific build of test plan
Replies: 8
Views: 11736

Re: API for testcase results of a specific build of test pla

More specific:

How to use API to retrieve data like the results from "Test result matrix"?
It seems to me the API in 1.8.5 can not support it.
Can any developer comment this?

Thanks,
akang
by akang
Wed Nov 24, 2010 10:54 pm
Forum: XML-RPC API
Topic: API for testcase results of a specific build of test plan
Replies: 8
Views: 11736

API for testcase results of a specific build of test plan

Hello,

Do not figure out how to test cases being executed for a specific build of a test plan.

Anyone know which API I should use?
Or is version 1.8.5 support it?

Thanks,
akang
by akang
Fri Nov 12, 2010 7:46 pm
Forum: TestLink 1.8 (OBSOLETE => EOL)[LOCKED]
Topic: Can you assign test suites only be modified by specified use
Replies: 2
Views: 4455

Re: Can you assign test suites only be modified by specified

Let's say in a test project, I have test suites as following:

[1] regression
[1.1] routing testing
[1.2] mpls testing
[2] wifi testing

I would like to allow only user ak-1 and ak-2 can modify test-suite [1.1] routing testing. Other can only view all test suites/cases under it.

Thanks,
by akang
Fri Nov 12, 2010 7:43 pm
Forum: XML-RPC API
Topic: tc_id, tcversion_id, etc - from API method calls
Replies: 1
Views: 4121

tc_id, tcversion_id, etc - from API method calls

Hello, I made a getTestCasesForTestPlan() call to Testlink xmlrpc interface, and the key-value from each test case contains: - external_id (which is internalid from the exported xml file), - tc_id, - feature_id, - tcversion_id - tcversion_number, - z (execution order?) and others. Would anyone point...
by akang
Fri Nov 12, 2010 1:38 am
Forum: TestLink 1.8 (OBSOLETE => EOL)[LOCKED]
Topic: Can you assign test suites only be modified by specified use
Replies: 2
Views: 4455

Can you assign test suites only be modified by specified use

Hello,

Are there ways that I can assign test suite be modified by specific users?

Thanks,
akang
by akang
Wed Nov 03, 2010 12:59 am
Forum: TestLink 1.8 (OBSOLETE => EOL)[LOCKED]
Topic: unable to assign 24+ test cases in a test suite to test plan
Replies: 9
Views: 12415

Re: unable to assign 24+ test cases in a test suite to test

[1] test suite 1.1 to 1.5 are sub-suites of 1
[2] I also found out that if a test suite contains 70+ tests, then I can not assign to test plan.
Exactly number can be assigned I have to test out.