startExecution
Posted: Mon Aug 25, 2008 9:33 am
Hello,
i try to run automated tests at test execution time. The target is, to run an existing test script (python) which is located on the same testserver where TestLink is running.
Therefore i edit the file ".../templates/execute/execSetResults" and enable the following in section
"<div class="groupBtn>":
I have no idea about "node_id" and "node_type". Does anybody know which values are expected for these parameters?
The function "startExecution" is located in ".../gui/javascript/test_automation.js". To enable the function i add the following line to ".../templates/execute/execSetResults":
Is that correct?
As a result of this actions, i can see a submit button at test execution time. But nothing will happen after pressing this button. Does anybody have an idea what are the next steps?
Thanks in advance
i try to run automated tests at test execution time. The target is, to run an existing test script (python) which is located on the same testserver where TestLink is running.
Therefore i edit the file ".../templates/execute/execSetResults" and enable the following in section
"<div class="groupBtn>":
Code: Select all
...
<input type="submit" id="execute_cases" name="execute_cases"
value="{lang_get s='btn_execute_and save_results'}"
onclick="javascript: startExecution(node_id, node_type)" />
...
The function "startExecution" is located in ".../gui/javascript/test_automation.js". To enable the function i add the following line to ".../templates/execute/execSetResults":
Code: Select all
...
<script language="JavaScript" src="gui/javascript/test_automation.js" type="text/javascript"></script>
...
As a result of this actions, i can see a submit button at test execution time. But nothing will happen after pressing this button. Does anybody have an idea what are the next steps?
Thanks in advance