[SOLVED] Use repository items as variable?

Ask general questions here.
mrt
Posts: 49
Joined: Mon Mar 16, 2020 11:31 am

[SOLVED] Use repository items as variable?

Post by mrt » Mon Mar 16, 2020 11:41 am

Hello folks,

on my testing website I have lets say a text input field and a dropdown selection.
I use a simple CSV as data source, with some strings inside to input in the text field:
col1
abc
def
ghi

What I want to achieve:
if you enter "abc" in the textfield, select item1 from the dropdown.
if you enter "def" in the textfield, select item2 from the dropdown and so on.

My first basic idea was, to enter the repository items of the dropdown-items as second column in the CSV and use a variable for execution (like I do for the textfields), but I haven't found a way to do that.

What is the recommended way of doing something like that in Ranorex Studio?

Thank you!

best regards
mrt

EDIT: Solved, I found the solution: https://www.ranorex.com/help/latest/ran ... n-testing/