DNG RPE characters limitation for requirements description ???
I have a problem when trying to printout requirements description from DNG.
I've created a RPE template to print details of the requirements with a script to filter all the ID # and requirements by "shall" from "modules" data source artifact/moduleContext/contextBinding.
For some reasons, some of the requirements got truncated when the requirements description are longer than 256 characters. The XML also got truncated.
Is there any workaround? Please help!
I have DNG 6.04 and RPE 2.1.1 installed in my computer.
Thanks,
Accepted answer
This is expected. dataSource/artifact/moduleContext/contextBinding/title returns only first 256 characters. To print the requirement completely (with formatting), you must use text data source and print dataSource/artifact/content/text/richTextBody/div. You see the length limitation when you print dataSource/artifact/title (for resources or text artifact) as well.
Please refer the sample template %rpe_home%\templates\DNG\DNG_Module.dta and see how to use a text data source and configure its data source dynamically.