find $tcase_id in gui?

1.8 related questions and discussions.
Please upgrade to LATEST 1.9.x.
No more fixes for 1.8.

Moderators: Amaradana, TurboPT, TL Developers

Locked
thomasi.derycke
TestLink user
Posts: 2
Joined: Fri Oct 23, 2009 9:15 am

find $tcase_id in gui?

Post by thomasi.derycke »

In a project that I am working on we are automating lots of testcases described in testlink (v 1.8.3).

execution results will be automaticaly pushed back using de xml-rpc.

Therefor we need at least the testplan_id and the testcase_id.
Both are not directly visible in the GUI when going to the execute screen.

However firebug allows you to determin the real testcase_id when clicking a testcase in the tree of execution screen:

testlink-1.8.3/lib/execute/execSetResults.php?version_id=30&level=testcase&id=9&build_id=20&include_unassigned=0
In this example the testcase id = 9 (and that is the one we need for de xml-rpc call) but in the gui we see:
Test Case ID TC--3 :: Version: 3

My question now:
Is there an easy way to find out the testcase id? and testplan id? I don't want to ask the scripters to use firebug to find out the testcase id
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Post by fman »

you can get testplan id from TL GUI on page that display testplans there is a icon (a brick) that allows you to display internal ID.

We are trying to avoid using INTERNAL TC ID, and all API calls (at least on 1.9) uses EXTERNAL TC ID.
you can get info you need doing some queries on tables:
nodes_hierarchy, tcversions
Locked