In this section:
This topic explains how to import results into the IDE from DTP or an XML file. Choose Parasoft> Import to specify where you want to import findings from. You can also import findings from the Quality Tasks view menu or use the Import from DTP toolbar button:
Importing Findings from DTP
If C/C++test is connected to DTP, team developers/testers can import test results into their IDEs. If project-wide/team-wide tests are run automatically each night on a central server machine and the results published to DTP (see Generating Reports for information how to send results to DTP), each developer or tester can import his or her assigned findings on their desktop and then review and respond to them in the Quality Tasks view.
Findings from DTP file, are imported according to the Import Settings configuration, see Configuring Import Options.
You need to ensure that:
- Connection with your DTP Server is properly configured, see Connecting to DTP
- The DTP filter is configured, see Configuring Import Options. If you cannot choose a filter from the filter configuration drop-down menu, verify that you have appropriate access in DTP (see "Project Creation and Configuration" in the DTP documentation for additional information).
To import findings from DTP:
- Configure the Import Settings; see Configuring Import Options.
- Choose Import> DTP from the Parasoft menu or the Quality Tasks view menu, or select DTP from the Import pull-down toolbar menu.
The import will begin immediately. An alert will tell you how many findings were imported.
The import will begin immediately. When finished, an alert will tell you how many findings were imported. The imported findings will be loaded into the Quality Tasks view.
If the imported findings are associated with a file that has been modified, a message appears specifying the file(s) that are out of sync. The markers associated with these findings (including the line numbers) may not match the location in the local resource files or may indicate findings that have already been resolved.
Findings associated with resources missing locally are not imported and the displayed message lists the files that are unavailable.
Accessing Results through DTP
To access Parasoft DTP reports based on information from C/C++test tests and other sources:
Choose Parasoft> Explore> Report Center Reports or open the reports as described in your DTP User’s Guide.
Importing Findings from a File
To import findings from an XML file:
- Configure the Import Settings; see Configuring Import Options.
- Choose Import> Local File or URL from the Parasoft menu or the Quality Tasks view menu, or select Local File or URL from the Import pull-down toolbar menu.
- Enter the URL of the file or browse for the file when prompted to begin the import.