Book a Demo

Author Topic: "Testing Report..." and rtf templates  (Read 6374 times)

Graham_Moir

  • EA User
  • **
  • Posts: 749
  • Karma: +10/-15
    • View Profile
"Testing Report..." and rtf templates
« on: July 26, 2006, 08:54:10 am »
Under "documentation" on the project menu there's an option called "testing report..." which allows you to produce test plan type output.  However where is the template for this report ?  It doesn't seem to exist under manage templates within "rich text format report".
It would be great to be able to tweak the template to tailor the test plan output.

Any one got any clues on this ?
thanks
Graham

gloubi

  • EA Novice
  • *
  • Posts: 16
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: "Testing Report..." and rtf template
« Reply #1 on: August 02, 2006, 05:17:26 am »
Try
- Menu View->Resources to show the tab pane if you don't have it yet
- Under "Linked document Templates", right-click to show the context menu and choose "Create a template".
- In the dialog box you have a combo box "Copy from.." with the test plan in the list.  Select that one
- the Editor opens and you can modify the template

R -

Graham_Moir

  • EA User
  • **
  • Posts: 749
  • Karma: +10/-15
    • View Profile
Re: "Testing Report..." and rtf template
« Reply #2 on: August 23, 2006, 02:37:46 am »
OK, that's helpful as it's an option I hadn't found before.  

However the default "Test plan" template doesn't seem to be the one used in the "Testing Report..." option.

Also if I do what you suggest I get a "Test Plan" template but no obvious way (to me anyway) of including the tests defined against each activity element on a diagram into the document.  Is there a way to do that along the lines of the Project/Documentation/Rich Text Format report - manage templates option ?

gloubi

  • EA Novice
  • *
  • Posts: 16
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: "Testing Report..." and rtf template
« Reply #3 on: August 23, 2006, 02:54:27 am »
There is indeed.

There are two alternatives:
* in the screen below, click the button "manage templates" and when asked, copy the testing template
http://www.sparxsystems.com.au/EAUserGuide/index.html?rtftemplatesdialog.htm
* the more tricky solution, used if you want to have only the items in a diagram is described hereunder :


1/ You have to draw a diagram including
* each use case you want, each one having its tests defined using the test view (menu view->testing)
* the test cases you want to include in your test documentation

2/ double-click in an empty place on the diagram to open the diagram properties and check the flag "Document each element contained in a RTF"

3/ Make a template (same procedure as the manage template procedure desribed above)
http://www.sparxsystems.com.au/EAUserGuide/index.html?rtftemplatesdialog.htm
The trick here is that when defining the template you have to check the "package element" in the RTF style editor.

Graham_Moir

  • EA User
  • **
  • Posts: 749
  • Karma: +10/-15
    • View Profile
Re: "Testing Report..." and rtf template
« Reply #4 on: August 23, 2006, 05:55:43 am »
This is all good stuff, thank you

However if I go into "manage templates" which I have before,  there is no option I can see to edit the "Testing report..."  - the test template provided is different.  This is confirmed by the fact that "Testing report..." sits on the documentation menu on its own and has its own selection criteria, i.e.  include/exclude unit/system/acceptance etc...  type tests.  



gloubi

  • EA Novice
  • *
  • Posts: 16
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: "Testing Report..." and rtf template
« Reply #5 on: August 23, 2006, 06:18:44 am »
There is not indeed, as far as I know.

However, I don't see why you want to change the default template since there are ways to provide your own.  Is it that you want to prevent others to use the bad template ?

In any case, concerning the templates "Testing plan" and "Test results review", look in the directory Systems\EA\DocTemplates.   There are xml files, including an RTF uuencoded representation of the template.

I didn't try but what I would if needed is write a template and export it via menu "Tools->Export reference data", choosing "Templates- RTF style" and copy paste the exported data into the config file.

tell me if that helped (?)

Graham_Moir

  • EA User
  • **
  • Posts: 749
  • Karma: +10/-15
    • View Profile
Re: "Testing Report..." and rtf template
« Reply #6 on: August 23, 2006, 08:07:50 am »
No I'm not trying to stop anyone using the templates - good or bad.   The "Testing report..."   is useful because you can filter by test type (unit/system etc...)  which you can't do through the RTF template editor (I don't think you can anyway - in fact I don't see how you replicate this report using the template maintenance facilities, which is why I think it appears as a separate option on the menu).    

The other thing I wanted to do to this report is change the column widths etc..  to avoid having to do it in the output file every time it's produced.

Regarding the import/export - yes in principle that sounds feasible, but again seems a long way round to get to what should be a simple result,  also I can't seem to get those xml files to import anyway using Tools/Import Referecne Data.    

Tom.Beran

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
  • nothing to say
    • View Profile
Re: "Testing Report..." and rtf template
« Reply #7 on: April 29, 2009, 04:46:41 pm »
Is it still not possiple to change the template?

I have problem, that this document uses in RTF wrong codepage and charsets, so chars in our languange are not correct  :-[

I have to make replacements in VIM like this:
:%s/fcharset\d*/fcharset238/g
and it's quite stupid situation, to do it on every generated document  :'(
« Last Edit: June 09, 2009, 10:09:09 pm by Tom.Beran »