<rss version="2.0" xmlns:a10="http://www.w3.org/2005/Atom"><channel><title>Inflectra Customer Forums: Report on the Document Type used by Test Case Automation Scripts (Thread)</title><description> A customer asked:    I need to create a custom graph that shows the amount of test cases per document type.    However when I look at the columns that are returned when I query the SpiraTestEntities.R_TestCases table (from within the Edit Graphs screen), I dont see any columns that represents the Document Type field. Which table should I query in order to find the Document Type value for a test case?   </description><language>en-US</language><copyright>(C) Copyright 2006-2026 Inflectra Corporation.</copyright><managingEditor>support@inflectra.com</managingEditor><category domain="http://www.dmoz.org">/Computers/Software/Project_Management/</category><category domain="http://www.dmoz.org">/Computers/Software/Quality_Assurance/</category><generator>KronoDesk</generator><a10:contributor><a10:email>support@inflectra.com</a10:email></a10:contributor><a10:id>http://www.inflectra.com/kronodesk/forums/threads</a10:id><ttl>120</ttl><link>/Support/Forum/spirateam/reports/1895.aspx</link><item><guid isPermaLink="false">threadId=1895</guid><author>David J (adam.sandman+support@inflectra.com)</author><category domain="http://www.inflectra.com/kronodesk/thread/tag">reports</category><category domain="http://www.inflectra.com/kronodesk/thread/tag"> custom reporting</category><category domain="http://www.inflectra.com/kronodesk/thread/tag"> spirateam</category><category domain="http://www.inflectra.com/kronodesk/thread/tag"> test case automation</category><category domain="http://www.inflectra.com/kronodesk/thread/tag"> documents</category><category domain="http://www.inflectra.com/kronodesk/thread/tag"> attachments</category><title>Report on the Document Type used by Test Case Automation Scripts</title><description> A customer asked:    I need to create a custom graph that shows the amount of test cases per document type.    However when I look at the columns that are returned when I query the SpiraTestEntities.R_TestCases table (from within the Edit Graphs screen), I dont see any columns that represents the Document Type field. Which table should I query in order to find the Document Type value for a test case?   </description><pubDate>Thu, 09 Aug 2018 01:46:08 -0400</pubDate><a10:updated>2018-08-09T01:46:28-04:00</a10:updated><link>/Support/Forum/spirateam/reports/1895.aspx</link></item><item><guid isPermaLink="false">messageId=3365</guid><author>David J (adam.sandman+support@inflectra.com)</author><title>  The AUTOMATION_ATTACHMENT_ID is a foreign key into the main Attachments record, something like thi</title><description>  The AUTOMATION_ATTACHMENT_ID is a foreign key into the main Attachments record, something like this:    select  TC.TEST_CASE_ID, TC.AUTOMATION_ATTACHMENT_ID, AT.PROJECT_ATTACHMENT_TYPE_NAME
 from  SpiraTestEntities.R_TestCases  as  TC
 join  SpiraTestEntities.R_Attachments  as   AT   on  TC.AUTOMATION_ATTACHMENT_ID = AT.ATTACHMENT_ID
 where  TC.PROJECT_ID = ${ProjectId}
   Regards  Adam  </description><pubDate>Thu, 09 Aug 2018 01:46:28 -0400</pubDate><a10:updated>2018-08-09T01:46:28-04:00</a10:updated><link>/Support/Forum/spirateam/reports/1895.aspx#reply3365</link></item></channel></rss>