Search
Minimize
Recent Entries
Migrating from Community Server to Dotnetnuke
Released Import Export Utility 2.0 for Quality Center
TFS Bug Item Synchronizer, new coming features
OffRoad 2.1 for Quality Center
Released Data Import Export Tool 1.8 for Quality Center
TFS2010 and TFS Bug Item Synchronizer
OffRoad 2.1 for Quality Center

Exporting and Importing data from QC using Import Export Utility

Jun 16

Written by:
6/16/2011 2:47 PM  RssIcon

To show how Import Export Utility is used to export test cases with design steps follow this procedure.

Import Export Utility can be downloaded from here.

From startup screen select first Connect QC:

SNAGHTML10b5056

Fill in server url, login name and password and then Domain & Project:

SNAGHTML10c55d2

Then switch to Test Cases selection mode. This shows test plan tree in the selection area:

SNAGHTML111d000

Next step is to pick test cases. This can be done either by individual test case or by folders:

SNAGHTML1126cfa

At this point it is possible select three different export targets:

  1. Excel, data is exported into Excel format
  2. Xml, data is exported into xml format
  3. Local DB, this uses Import Export utility internal format which is used to transfer data from one project to another

By selection Excel, you will just pick a location, file name and in Save as type Excel version (2003/2007/2010).

For Excel and Xml, you will pick needed fields, for Local DB option all fields are exported.

To pick which fields you want to include in your export:

SNAGHTML115f4cf

You can also reorder fields in this dialog. TC stands for Test Case, DS is Design Step.

By selecting Ok it start the export process and for Excel and xml export target types you will be asked to open this or not:

SNAGHTML117b649

For Local DB option it is possible to import data from sdf file back to Quality Center.

From main screen switch to Import from Local DB:

SNAGHTML11aba9d

First click Select Source to pick your previously created sdf file and from that file select project:

SNAGHTML11bc9b9

SNAGHTML11c7f23

Then click Select Destination as your QC server, domain and project.

SNAGHTML11d565f

SNAGHTML11e0092

At this point you have possibility to Ignore fields my right mouse clicking selected field;

SNAGHTML11f0d00

Or modify with what field this is mapped to in Destination Project:

SNAGHTML11fd686

You can also see which fields are Not in Destination by scrolling down:

SNAGHTML121348d

Same modify and ignore fields are available here as well. Note that not all of the fields are modifiable through this tool so some of those are listed in here as well.

Once all fields are ok and verified, select Import to Quality Center:

SNAGHTML1226c8d

SNAGHTML122ace7

For large amount of data this will take some time, depending on your server and network connection speed.

After this you should login into your destination project and verify that all data is there.

Note that it is not recommended to view destination project structures while import is ongoing as this might put locks which do not allow updates to that test case.

Same method goes for other entities as well.

Tags:
Categories:
Copyright 2011 by Juvander Consulting Oy