echo "</pre>";
$executions = $tcase_mgr->get_executions($tcase_id, $version_id, $tplan_id, $build_id);
new dBug($executions);
echo "<pre> testcase - get_last_execution(\$id,\$version_id,\$tplan_id,\$build_id,\$get_no_executions=0)";
echo "</pre>";
echo "<pre>            get_last_execution({$tcase_id},{$version_id},{$tplan_id},{$build_id})";
echo "</pre>";
$last_execution = $tcase_mgr->get_last_execution($tcase_id, $version_id, $tplan_id, $build_id);
new dBug($last_execution);
$tcversion_id = 5;
$tplan_id = 8;
echo "<pre> testcase - get_version_exec_assignment(\$tcversion_id,\$tplan_id)";
echo "</pre>";
echo "<pre>            get_version_exec_assignment({$tcversion_id},{$tplan_id})";
echo "</pre>";
$version_exec_assignment = $tcase_mgr->get_version_exec_assignment($tcversion_id, $tplan_id);
new dBug($version_exec_assignment);
echo "<pre> testcase - get_linked_cfields_at_design(\$id,\$parent_id=null,\$show_on_execution=null)";
echo "</pre>";
echo "<pre>            get_linked_cfields_at_design({$tcase_id})";
echo "</pre>";
$linked_cfields_at_design = $tcase_mgr->get_linked_cfields_at_design($tcase_id);
new dBug($linked_cfields_at_design);
echo "<pre> testcase - get_linked_cfields_at_execution(\$id,\$parent_id=null,<br>\n                                                       \$show_on_execution=null,<br>\n                                                       \$execution_id=null,\$testplan_id=null)";
echo "</pre>";
echo "<pre>            get_linked_cfields_at_execution({$tcase_id})";
echo "</pre>";
$linked_cfields_at_execution = $tcase_mgr->get_linked_cfields_at_execution($tcase_id);
new dBug($linked_cfields_at_execution);
echo "<pre> testcase - html_table_of_custom_field_inputs(\$id,\$parent_id=null,\$scope='design',\$name_suffix='')";
echo "</pre>";