* @package testtask * @version $Id: runcase.html.php 4723 2013-05-03 05:19:29Z chencongzhi520@gmail.com $ * @link http://www.zentao.net */ ?> save);?>
icons['usecase']);?> case->id;?> case->title;?> testtask->runCase;?> icons['run']);?>
case->steps)) { $step = new stdclass(); $step->id = 0; $step->parent = 0; $step->case = $run->case->id; $step->type = 'step'; $step->desc = ''; $step->expect = ''; $run->case->steps[] = $step; } $stepId = $childId = 0; ?> case->steps as $key => $step):?> type}"; if($step->type == 'group' or $step->type == 'step') { $stepId++; $childId = 0; } ?> type != 'group'):?>
testcase->precondition;?> case->precondition;?>
testcase->stepID;?> testcase->stepDesc;?> testcase->stepExpect;?> testcase->result;?> testcase->real;?>
type == 'group') echo "colspan='4'"?>>
type == 'item') echo "{$stepId}.{$childId}";?> desc);?>
expect);?> id]", $lang->testcase->resultList, 'pass', "class='form-control'");?>
id]", '', "rows=1 class='form-control autosize'");?>
testtask->pre, '', "id='pre' class='btn'"); echo html::submitButton(); if($nextCase) echo html::a(inlink('runCase', "runID={$nextCase['runID']}&caseID={$nextCase['caseID']}&version={$nextCase['version']}"), $lang->testtask->next, '', "id='next' class='btn'"); echo html::hidden('case', $run->case->id); echo html::hidden('version', $run->case->currentVersion); ?>
case->steps as $key => $step):?>