I'm widely using Repository variable to optimize amount of Repository elements. In particular to identify TreeItems by TreeItem Text value, for example. In most cases it works fine, especially when I need to select/click on only one TreeItem within one Recording module. Here is xPath for that TreeItem:
.//tree[@visible='true']//treeitem[@text=$TreeItemText ]Now I have test case when I need to select several items in the Tree within one test case step. I think about replacing $TreeItemText value and after that selecting required items. I thought about Code Module for setting value to the $TreeItemText variable, but maybe there are another ways to do that?
Thanks