Problem:
Resolution:
The SQL below will return test definition and step information for a Test Container. This uses the following SilkCentral Test Manager 2010 R2 views - TM_V_TestDefinitions and TM_V_ManualSteps. It takes Test Container ID as a parameter.
Follow the steps below to create a report that will display this information:
- Open SilkCentral Test Manager.
- Navigate to the reports unit.
- Right-Click on a Test Folder and select New Child Report.
- Select Advanced Query.
- Enter the name and description of your report
- In Report Data Query text field enter the SQL query as shown below.
SELECT
To run the report:.[TestContainerName], .[ProjectID], .[TestID] AS [TestDef ID], .[TestName] AS [TestDef Name],
[ms].[Name] [TestStep Name],
[ms].[Description][TestStep Description],
[ms].[Result] [TestStep Result]
FROM [TM_V_TestDefinitions] td left outer join [TM_V_ManualSteps] ms
on .[TestID] = [ms].[TestAssetNodeID_fk]
WHERE .[TestContainerID] = ${TestContainerID |0|TestContainerID}
This SQL can be altered to contain more/less information. See help | Database Model for more schema information.