Greetings, I've come to the conclusion that I'm searching the Internet for the wrong terminology, because I am getting no results beyond a headache. So please forgive my lack of brevity here as I try to explain what I need.
I am attempting to use DOORS for test management, something it supports but is not well documented. Even though I will use DOORS test runs to actually execute the test procedures, I still need the ability to generate a readable / usable MS Word version of the procedure for various purposes, not the least of which is submission to my customer.
My immediate issue is this: I've developed formal module which I'll call the "Test Procedure". This module has the typical front matter for safety warnings, information about the test event, etc. This front matter all needs to be exported in 'Book' layout, and in fact I have it looking quite nice when doing this. However, the latter part of the module contains the actual test cases, and I need these to export as the layout type of "Table", which will cause other attributes (such as "Expected Results" and "Step Number" to be included as columns in the table.
I can find no way to export using a mixed layout at all, let alone base the layout on an attribute (i.e. an attribute of "Test Case" might be set to indicate the object should be part of a table layout).
I would greatly appreciate any thoughts on the matter, even if it is an alternative way of accomplishing the same goal.
Thanks.
- Roger
RogerPierson - Fri Mar 03 15:24:24 EST 2017 |
Re: MS Word Export: Mixed Layout (Book/Table) Hi Roger, You can achieve your objective in several ways. 1) Create a view (I assume you know how to do this, updating your display to only show the main column and then do a View > Save As) that shows only the content you want to export in Book format, then File > Export > Microsoft Office > Word. On that 1st screen select Book format. Create another view calling it 'Procedure Table' or something along those lines, this time you will have multiple columns in there. Again go to the same method for exporting except this time select Table for format which will give you the table in Word. Once you have the 2 pieces you can combine the two files and add table of contents etc.. in Word to get your nice looking document. 2) The above can be achieved using DOORS built in functionality and recommend you try it 1st, the more complex route is to invest in another tool such as Rational Publishing Engine (RPE) and an expert in using this to get you the templates and document specification files you would need to export, the bonus here is that if you go through this trouble you would only need to click on the export and out the other end you'd get a nice looking word document with the book, table, TOCs and everything you can image ready to hand to the customer. Hope this helps, Alex |
Re: MS Word Export: Mixed Layout (Book/Table) DOORSWizard - Sat Mar 04 12:53:07 EST 2017 Hi Roger, You can achieve your objective in several ways. 1) Create a view (I assume you know how to do this, updating your display to only show the main column and then do a View > Save As) that shows only the content you want to export in Book format, then File > Export > Microsoft Office > Word. On that 1st screen select Book format. Create another view calling it 'Procedure Table' or something along those lines, this time you will have multiple columns in there. Again go to the same method for exporting except this time select Table for format which will give you the table in Word. Once you have the 2 pieces you can combine the two files and add table of contents etc.. in Word to get your nice looking document. 2) The above can be achieved using DOORS built in functionality and recommend you try it 1st, the more complex route is to invest in another tool such as Rational Publishing Engine (RPE) and an expert in using this to get you the templates and document specification files you would need to export, the bonus here is that if you go through this trouble you would only need to click on the export and out the other end you'd get a nice looking word document with the book, table, TOCs and everything you can image ready to hand to the customer. Hope this helps, Alex Thank you. I was hoping there was some built-in functionality or ready-made script to accomplish this, but I suppose a two-step process isn't the worst case scenario here.
I appreciate your time.
- Roger |
Re: MS Word Export: Mixed Layout (Book/Table) You can export to a Word template, and run macros to format the document. I have 30 different test documents (with a structure similar to yours) that get updated as the products are modified, and Word macros greatly reduce the effort to format the documents manually to adhere to a company standard. There is a lot of information on the Web to help with writing Word macros. |
Re: MS Word Export: Mixed Layout (Book/Table) rmoskwa - Thu Mar 09 16:13:01 EST 2017 You can export to a Word template, and run macros to format the document. I have 30 different test documents (with a structure similar to yours) that get updated as the products are modified, and Word macros greatly reduce the effort to format the documents manually to adhere to a company standard. There is a lot of information on the Web to help with writing Word macros. I can attest to word marcos doing some wonderful things in this domain, having not written any myself if you 'rmoskwa' want to include the top 3 you think have been worthwhile as far as links to resources that would be appreciated. |
Re: MS Word Export: Mixed Layout (Book/Table) DOORSWizard - Fri Mar 10 10:30:12 EST 2017 I can attest to word marcos doing some wonderful things in this domain, having not written any myself if you 'rmoskwa' want to include the top 3 you think have been worthwhile as far as links to resources that would be appreciated. Allen Wyatt is very prolific. To split a table see his macro at https://word.tips.net/T000505_Index_Number_for_the_Active_Table.html For macros to do almost anything to a table see https://word.tips.net/C0010_Tables.php For formatting a document see https://word.tips.net/C0003_Formatting.php Page breaks are easy https://word.tips.net/T000744_Inserting_a_Break_with_a_Macro.html You will probably need to add the Developer-tab to the ribbon https://msdn.microsoft.com/en-us/library/bb608625.aspx It will give you access to the macro editor, and the ability to record a macro as you use the standard Word interface. I use the Alt-F11 shortcut to get to the macro editor.
|