Using reportTCResult() when Platform is MISSING
Posted: Tue Nov 13, 2012 2:42 am
I am using XML-RPC to import test results to test link. But I get an error from reportTCResult() when a test case in a test plan does not have the test platform assigned. I like to programatically assign a test platform to a test case in a test plan but I did not find any API that can accomplish that. Can someone give me a pointer?
The error message I got from reportTCResult() call was:
Test Case (name=new test case/id=15) is not associated with Test Plan (name=plan1/id=5) for Platform (name=Windows8-32/id=1).
The few questions I have are:
1. Is there an API or a way to test if a platform is assigned to a (test plan, test case) combination? Assuming that I know the test plan id, test case id and platform id.
2. If a platform is in a test project but not assigned to a test plan, how can I do it using xml-rpc?
3. How can I assign a platform to a (test plan, test case) combination? When I found out platform is not assigned in #1.
Much thanks!
The error message I got from reportTCResult() call was:
Test Case (name=new test case/id=15) is not associated with Test Plan (name=plan1/id=5) for Platform (name=Windows8-32/id=1).
The few questions I have are:
1. Is there an API or a way to test if a platform is assigned to a (test plan, test case) combination? Assuming that I know the test plan id, test case id and platform id.
2. If a platform is in a test project but not assigned to a test plan, how can I do it using xml-rpc?
3. How can I assign a platform to a (test plan, test case) combination? When I found out platform is not assigned in #1.
Much thanks!