diff --git a/module/testcase/config.php b/module/testcase/config.php index b2bd05fc9c..89b3fef2f1 100644 --- a/module/testcase/config.php +++ b/module/testcase/config.php @@ -40,7 +40,7 @@ $config->testcase->edit->requiredFields = 'title,type'; $config->testcase->exportFields = ' id, product, module, story, - title, precondition, steps, keywords, + title, precondition, stepDesc, stepExpect, keywords, pri, type, stage, status, frequency, openedBy, openedDate, lastEditedBy, lastEditedDate, version,linkCase'; diff --git a/module/testcase/control.php b/module/testcase/control.php index 4a140f64ac..b48bdc092f 100644 --- a/module/testcase/control.php +++ b/module/testcase/control.php @@ -502,7 +502,8 @@ class testcase extends control foreach($cases as $case) { - $case->steps = ''; + $case->stepDesc = ''; + $case->stepExpect = ''; if(isset($relatedSteps[$case->id])) { $i = 1; @@ -510,8 +511,8 @@ class testcase extends control { if($step->version != $case->version) continue; $sign = (in_array($this->post->fileType, array('html', 'xml'))) ? '
' : "\n"; - $case->steps .= $i . ". " . $step->desc . $sign; - $case->steps .= $caseLang->stepExpect . ". " . $step->expect . $sign; + $case->stepDesc .= $i . ". " . $step->desc . $sign; + $case->stepExpect .= $i . ". " . $step->expect . $sign; $i ++; } }