How get the test name

Discussion and information for XML-RPC interface.

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
Julien
TestLink user
Posts: 14
Joined: Tue Apr 13, 2010 7:38 am

How get the test name

Post by Julien »

Hi,

When I clic on Execute and Save Results, I want to get the test name.

I have seen that I can get the test name with this line in the file execSetResullts.php :
$linked_tcversions[$args->id]['name']
but when I want pass this line to the fonction do_remote_execution I have lose the test name.

I think that $linked_tcversions is not initialise in
if($args->doExec == 1)
{
...
}
but I don't understand why.

Can you help me ?

Thanks.
Julien
TestLink user
Posts: 14
Joined: Tue Apr 13, 2010 7:38 am

Re: How get the test name

Post by Julien »

I have found.

It's possible to get the test name with $tcase_mgr->get_by_id(id); (ex: id = 115)
mrayappa
TestLink user
Posts: 4
Joined: Wed Jun 08, 2011 5:48 pm

Re: How get the test name

Post by mrayappa »

Is it possible to get the id of the current test case displayed in the window?
Post Reply