Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
3. In the Excel Report Name box, type a name for your report and click OK. Note
that a report name cannot include the following characters: / \ ? * = < > | : . " ' %.
(for ex: Enter Excel Report Name as Test Script Export Procedure)
4. Click the General tab. The General tab displays general settings for the report.
1. In the Designer box, select the name of the report designer. By default, your
user name is displayed.
2. In the Status box, select the status of your report.
The report status informs other users whether the report is ready to generated. The
following options are available for the report status:
Ready. Indicates that the report is ready to be generated. Not Ready. Indicates that
the report is not ready to be generated. If a user tries to generate a report with this
status, a warning message displays.
3. In the Description box, type a description for your report. You can change how
the description is formatted using the options in the formatting toolbar. If this
toolbar is not available, right-click the Description box and select Toolbar
Visible
2. In the SQL pane, type an SQL statement to define the data set you want to use
for your report.
Notes:
You must write the SQL statement using the version of SQL used by the project
database. To view the database type used for your project database, click the
To add a project entity with the column alias defined by the entity title,
select the entity you want to add. Click the Add Entity to Query arrow
and choose Add Entity to Query with Entity Title as Alias.
You can test the query and view the results of the test in the Query Results tab. You can
choose to view all the results of the query or only the first ten records:
Click Run Query to view all the results of the query in the Query Results tab. If your
query contains parameters, you are asked to type a value for each parameter, or confirm
the default value.
Click Test Query to display only the first ten records from the results of the query. If
your query contains parameters, Quality Center uses the default values for the
parameters.
To add a new query, click the Add Query button
. The query is added as a new tab to
the SQL pane with the default name Sheet<number>. The results from each query will
be displayed in a separate Excel worksheet.
You can rename a query. To rename a query, select the query and click the Rename
button . In the Rename Sheet Name dialog box, type the new name and click OK. The
Excel worksheet containing the data extracted by the query will have the same name as
the query.
To delete a query, select the query and click the Delete button
click the query and choose Delete. Click yes to confirm.
. Alternatively, right-
In Query Results check al_description column and verify that all folders created for
each projects in Test Plan will be displayed. Select your required project folder and note
down the AL_ITEM_ID value for that folder. If the folder doesnt contains any subfolder
then directly write below SQL Query to get the results.
Select AL_FATHER_ID,AL_ITEM_ID,al_description from all_lists where
al_father_id=1547
Click on Run Query tab to get the results.
(Note: 1547 is the item id for the project 3GCS QA Concord).
If selected folder has sub folders then we have to write SQL Query so that we have to get
item_id for the last required sub folder.
In Query Results (displayed in above fig) for the project 3GCS QA Concord, it will be
displayed all subfolders. In the sub folders list, we have to select the required sub folder
(for ex: Siebel Regression Repository NEW). Note down AL_ITEM_ID and write SQL
Query as mentioned below.
For Ex: Select AL_FATHER_ID,AL_ITEM_ID,al_description from all_lists where
al_father_id=9863
Click on Run Query tab to get the results.
Here again Business Process Scripts, Functional Scripts, Scripts Deleted and Scripts
Removed are again subfolders in Siebel Regression Repository NEW folder. Select
required sub folder (for ex: Business Process Scripts). Note down AL_ITEM_ID and
write SQL Query as mentioned below.
SELECT all_lists.al_description as Folder_Name,TEST.TS_NAME as Test_Name,
TEST.TS_DESCRIPTION as Description, DESSTEPS.DS_STEP_NAME as Step_Name
, DESSTEPS.DS_DESCRIPTION as Description, DESSTEPS.DS_EXPECTED as
Expected_Result
FROM TEST, DESSTEPS /*Design Step*/ , ALL_LISTS /*Test Plan Folder*/
Where DESSTEPS.DS_TEST_ID /*Design Step.Test ID*/ = TEST.TS_TEST_ID
/*Test.Test ID*/
AND TEST.TS_SUBJECT =ALL_LISTS.AL_ITEM_ID /*Test Plan Folder.Item
Id*/
and ALL_LISTS.AL_FATHER_ID /*Test Plan Folder.Father Id*/ =9864
And from the Test Plan Folder (ALL_LISTS) table we have used below mentioned
column:
Name (AL_DESCRIPTION)
Like wise we can generate reports by writing different SQL Queries for Requirements,
Test Cases, Defects etc to Microsoft Excel by using different column values present in
each in-built tables.
Generating Reports
After you have created your report, you can generate the report to extract the data you
specified in the SQL queries from the project database and export it to Excel.
To generate a report:
1. In the Excel Reports tree, select a report. Click the Generation Settings tab.
2. If you want Quality Center to open the report in Excel after it is generated, select
the Open Report check box.
1. In the Save report as target file box, type the location and name of the Excel file to
which you want the data to be exported. You can click the browse button to select a
location from the Save Report dialog box.
2. Click the Generate Excel Report button
If the status of the report is Not Ready, you are informed of this and asked if you want to
generate the report anyway. Click Yes to generate the report.
Or Click on No. Select value as Ready from the Status dropdown in General Tab and
click on Generate Excel Report button
to generate the report. It will open Save
Report dialog box. Click on Save button to save the file in required path.
If the report query contains parameters, the Report Parameters dialog box opens. Type the
parameter values in the Value column and click OK.
The report is saved in the location you defined. If you chose to open the report after it is
generated, Excel opens and displays the report. If you did not choose to open the report
after it is generated, a confirmation message displays.
Conclusion:
This tool is very helpful for taking backup for all the test plans which are there in Quality
Center. This Test plan repository is quite helpful in adhering to the deliverables schedule
when the Quality Center server is down. This setup is quite useful when the user works
with the Global Delivery Model. It also saves the effort of uploading the Test Plan to
Quality Center as it automates the same.