It's all about the answers!

Ask a question

How to populate dynamic values in Attribute of type Iteration based on an enumeration value ?

Nilesh Lale (334) | asked Oct 22 '13, 1:33 p.m.

How to populate dynamic values in Attribute(Test Cycle) of type Iteration based on an enumeration value ?
eg : We have two attributes Test Phase and Test Cycle. When we select the value in Test Phase as "Conversion Test" then the Test Cycle should only show corresponding values as "Mock 1 ", "Mock 2" in the drop down list for selection.

One answer

permanent link
Kot T. (1.5k11219) | answered Oct 22 '13, 6:12 p.m.

This looks like something that can be achieved by using script-based value set provider. The following link provides information about WI attribute customization:

Ralph Schoon commented Oct 23 '13, 3:03 a.m. | edited Oct 23 '13, 3:04 a.m.

Please note that I have experienced that some attribute presentations are not working with value providers (regardless if they are written in JavaScript or Java).

Please be also aware that JavaScript is very limited for complex items such as iterations. You will likely have to provide the UUID of objects like iterations if you use JavaScript. See Lab5 for limitations and more info about JavaScript.

See for how to use Java to create value set provider.

You can also try

Your answer

Register or to post your answer.