|Anonymous | Login | Signup for a new account||2019-04-21 13:10 UTC|
|Main | My View | View Issues | Change Log | My Account|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0005298||TestLink||Contribution Maintained BY USER||public||2012-10-22 23:29||2017-03-02 19:41|
|Product Version||1.9.4 (2012 Q3 - bug fixing)|
|Fixed in Version|
|Summary||0005298: Export and importing of executions results IN CUSTOM FORMAT (not standard TestLink format)|
|Description||This file contains code I wrote to export and import executions.|
There was no export and there was a line in the import code that said it wasn't finished.
Requirements: Test project AND test plan must be in place.
If platform is missing a warning will occur.
If build is missing the import script will make one.
If user is missing the import will fail.
If the test cannot be found import will fail. (uses external ID so as long as the project is intact it should work)
If the custom field cannot be found it will be added to the notes section (if possible)
The bug ID will be stored, however, no checking is made to determine if the correct bug tracker is enabled.
This script will assume the attachments are in the upload_area folder.
Other known issue:
I had some trouble with the xml parser so I sent bug_id, custom field data, and attachments as a string deliminated by ';;;'.
There is most likely a better way of doing this.
|Steps To Reproduce||The tpl files go in the executions file under the GUI.|
the php files go in the lib/execution directory.
I have altered setExec.tpl ONLY to allow for my buttons to appear.
Right now they are labeled exportBTC and importBTC (There is probably a better name for them).
|Additional Information||I know I changed the format a little bit on the custom fields, but I couldn't get it to parse out more than one custom field.|
Export -> Import works nicely.
test plan's do not matter, but the import will respect the tcversion.
I just thought I would give back to the community.
Thanks again, testlink has been a fun project to work on so far.
|Tags||No tags attached.|
|QA Team - Task Workflow Status||TBD|
|Attached Files||IMPORTEXPORT.tar.gz [^] (12,782 bytes) 2012-10-22 23:29|
|2012-10-22 23:29||btowle||New Issue|
|2012-10-22 23:29||btowle||File Added: IMPORTEXPORT.tar.gz|
|2012-10-23 05:16||fman||View Status||public => private|
|2012-10-23 19:29||fman||Task Workflow Status||READY FOR TESTING => TBD|
|2012-10-23 19:29||fman||Category||New Feature => Contribution Maintained BY USER|
|2012-10-23 19:29||fman||View Status||private => public|
|2012-10-23 19:29||fman||Summary||Export and importing of executions results. => Export and importing of executions results IN CUSTOM FORMAT (not standard TestLink format)|
|Copyright © 2000 - 2019 MantisBT Team|