Hello,
Anyone, can you please help me to write a script ?
The script should be work in such a way that DOORS should display the autogenerated object identifier only if the Object Text contains a word "shall". If the the Object Text does not contain a word "shall", then DOORS should not display object identifier.
Thanks & regards,
Resmy Francis
resmyfrancis_IBM - Thu Sep 13 16:14:57 EDT 2012 |
Re: To display the autogenerated id only if the Object Text contains "shall" llandale - Thu Sep 13 17:18:52 EDT 2012
Simplistic solution is to create an Attr-DXL with this code:
string Text = create()
if (matches(
"shall", Text)) then obj.attrDXLName = identifier(obj)
However, you will get hits for "shallow" and "marshall".
So create a new attribute perhaps "Requirement-ID" and put that code in it.
-Louie
|