Using API to assign tests to users
Posted: Fri May 11, 2012 8:05 pm
Hi,
we run tests every night, a new build each time. My script creates a new build if it doesn't exist yet and logs results against that build. The test cases show the results against the correct build when I go to the test case details. This part seems to work fine. The problem is that reports (ie. http://testlink/lib/results/resultsGene ... an_id=3835) require test cases to be assigned to users for that build. I found this FAQ that covers the issue:
http://www.teamst.org/forum/viewtopic.php?f=22&t=6830
Did I understand the problem correctly? How do I get around this? I checked the API and there is no way to assign a user to tests for a particular build. Using the web interface is not an acceptable workaround. The tests run automatically and reporting should be automatic as well. Is there something else I can do? Searching the forum did not result in hits. Mantis has this issue http://mantis.testlink.org/view.php?id=4695 which appears related. We are using 1.9.3 so I suppose my issue is not quite what is described in Mantis or I'm doing something wrong.
Thanks,
Sander
we run tests every night, a new build each time. My script creates a new build if it doesn't exist yet and logs results against that build. The test cases show the results against the correct build when I go to the test case details. This part seems to work fine. The problem is that reports (ie. http://testlink/lib/results/resultsGene ... an_id=3835) require test cases to be assigned to users for that build. I found this FAQ that covers the issue:
http://www.teamst.org/forum/viewtopic.php?f=22&t=6830
Did I understand the problem correctly? How do I get around this? I checked the API and there is no way to assign a user to tests for a particular build. Using the web interface is not an acceptable workaround. The tests run automatically and reporting should be automatic as well. Is there something else I can do? Searching the forum did not result in hits. Mantis has this issue http://mantis.testlink.org/view.php?id=4695 which appears related. We are using 1.9.3 so I suppose my issue is not quite what is described in Mantis or I'm doing something wrong.
Thanks,
Sander