Page 1 of 1

How get the test name

Posted: Thu Apr 22, 2010 8:52 am
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.

Re: How get the test name

Posted: Thu Apr 22, 2010 9:37 am
by Julien
I have found.

It's possible to get the test name with $tcase_mgr->get_by_id(id); (ex: id = 115)

Re: How get the test name

Posted: Wed Jun 08, 2011 8:41 pm
by mrayappa
Is it possible to get the id of the current test case displayed in the window?