I've written a small DXL to collect the content (a test status) of several attributes together in one DXL column. The attributes from witch I want to collect the content do have the same name and just a counter (1, 2, 3, 4,….) which was created by the Test-Run-Tool from DOORS.
The problem I have: The DXL column is displaying the result from the chosen object in all objects. If I click on another object, the result for all object is updated according the value from the new chosen object. I guess it is because I've used <Object o = current > and "current" is always leading the script use the values of the chosen object, but I have no idea how to fix this.
So, is there anybody out there who can help? The script and a result see below.
// User Function
/* /* Modification history:
Date: Who: Description:
string ad = "Test Status "
i = i +1
}
}
thomas2603 - Wed Jun 03 04:24:25 EDT 2015 |
Re: Collect content of different attributes in one DXL column. Try Object o = obj; |
Re: Collect content of different attributes in one DXL column. Rolan - Wed Jun 03 11:46:08 EDT 2015 Try Object o = obj;
Yes. I notice you have a Layout attribute column, not an Attribute DXL. The "current" object is the one right now selected by the user. Attr-DXL (and Layouts) have the natural context of a single object which I'll call "this" object which is represented by pre-declared variable "obj". -Louie |
Re: Collect content of different attributes in one DXL column. Thanks a lot! Now it works… I was expecting such a small issue, but I didn't found the solution by myself. |