TruClient parameters with multi list box
Guys, I am facing a challenge in TruClient parameters, when I have to select mutiple items from a muti list box and that has to be parameterize for each iteration.
Ex: There are 100 equipments in a multi list box with Equi001 to Equi100. If I have to select 5 of them at a time how could select each time from the parameter file?
Re: TruClient parameters with multi list box
TruClient has a "Multi Select" step exactly for this purpose.
It can be created either by recording selecting multiple values with a multi-select list or manually, by adding a "Generic Object Step" from the Toolbox, indicating the listbox object and setting the Step section Action value to "Multi Select" (this will be available for objects with the "multi_listbox" role).
Once created, you can use the step's argument section to set the values you'd want to choose. This can be specified either by value text or ordinal number.
It seems to me the simplest way to use a parameter, is to set it's value to a delimited list of values (for example: "Audi,Volvo,Opel", when using the default comma delimiter) or a delimited list of ordinals ("1,3,15") and use that parameter in the Text argument. If choosing ordinals, don't forget to set the Ordinal argument to true.
Let me know how it goes.