exported cases do not meet the format for importing

RESOLVED FIXED

Status

--
major
RESOLVED FIXED
10 years ago
9 years ago

People

(Reporter: michael.shang, Assigned: gregaryh)

Tracking

Details

(Reporter)

Description

10 years ago
User-Agent:       Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.9.1b2) Gecko/20090126 Firefox/3.1b2
Build Identifier: Testopia Version 2.2

choose an existing test plan and export its test cases in CSV format, I got like:
    "case_id","summary","set_up","break_down","action","expected_results","alias","arguments","author","blocks","case_status","category","components","creation_date","default_tester","depends_on","isautomated","plans","priority","requirement","script","tags","version"

but the right format of CSV files to import should be like:

"Product","Plans","Summary","Author","Default Tester","Status","Priority","Category","Components","Requirements","Estimated Time","Automated","Scripts","Arguments","Alias","Tags","Bugs","Depends On","Blocks","Runs","Setup","Breakdown","Action","Expected Results" 

So, Am I using the right manner to attempting backup/restore test cases? Why there is difference? And Need I edit the backup file manually before restore?

Thanks.

Reproducible: Always

Steps to Reproduce:
1.choose an existing test plan which contains several test cases.
2.export the test cases in the format of CSV from menu.
3.save the data file
4.delete test cases in this plan and try to import the same CSV file.

Actual Results:  
should get complains about the csv file is not in the right format

Expected Results:  
I think that there should be an easy way to backup/restore all test cases in testopia. Please give some help there.
(Assignee)

Comment 1

9 years ago
    Checking in tr_list_plans.cgi;
    /cvsroot/mozilla/webtools/testopia/tr_list_plans.cgi,v  <--  tr_list_plans.cgi
    new revision: 1.24; previous revision: 1.23
    done
    Checking in tr_list_cases.cgi;
    /cvsroot/mozilla/webtools/testopia/tr_list_cases.cgi,v  <--  tr_list_cases.cgi
    new revision: 1.52; previous revision: 1.51
    done
    Checking in tr_show_plan.cgi;
    /cvsroot/mozilla/webtools/testopia/tr_show_plan.cgi,v  <--  tr_show_plan.cgi
    new revision: 1.44; previous revision: 1.43
    done
    Checking in tr_show_case.cgi;
    /cvsroot/mozilla/webtools/testopia/tr_show_case.cgi,v  <--  tr_show_case.cgi
    new revision: 1.44; previous revision: 1.43
    done
    Checking in extensions/testopia/lib/Testopia/Constants.pm;
    /cvsroot/mozilla/webtools/testopia/extensions/testopia/lib/Testopia/Constants.pm,v  <--  Constants.pm
    new revision: 1.3; previous revision: 1.2
    done
    Checking in extensions/testopia/lib/Testopia/TestCase.pm;
    /cvsroot/mozilla/webtools/testopia/extensions/testopia/lib/Testopia/TestCase.pm,v  <--  TestCase.pm
    new revision: 1.6; previous revision: 1.5
    done
    Checking in extensions/testopia/template/en/default/testopia/export/csv.case.tmpl;
    /cvsroot/mozilla/webtools/testopia/extensions/testopia/template/en/default/testopia/export/csv.case.tmpl,v  <--  csv.case.tmpl
    new revision: 1.2; previous revision: 1.1
Status: UNCONFIRMED → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.