For each element I need to download a file by clicking on download button and do something with it depending on the langauge of it. I know the langauge because there is a text on the left side of it like on the attached picture:
The problem is that when I do wait for download and my activity click to activate download is clicking on download button then it clicks the first download button for ALL langauges so for example
When my UI element is Russian it still clicks the first one:
@anon40731888
Hello
Viewing your attached SS, you have strict selector which does not use anchors and your selector is going to select tableRow=‘1’ by having in the selector.
You’ll have to look at the selectors for the languages and buttons and come up with a way to create a dynamic selector to click the correct button. It could be as simple as using Get Attribute to get tableRow from CurrentElement and then use that value in the selector for the button.
And yes, you use the tableRow in the selector for the Click activity. Indicate element, click one of the buttons, and add tableRow to the selector. Then put your variable that stores tableRow in place of the static value.
If you just put your cursor into the “Save to” box and press CTRL+K then type the variable name, it creates the variable with the correct datatype. This works in every activity.