Module Variable - Data Driven

Ask general questions here.
Akshay_Kumar
Posts: 1
Joined: Fri May 10, 2019 7:04 am

Module Variable - Data Driven

Post by Akshay_Kumar » Fri May 10, 2019 7:20 am

Dear Team,

We have got the license and lately we started exploring Ranorex features.
I came across data driving drop down values by making it as repository variable from recording and I was able to do that.
I want to know how to make drop down values data driven by module variables from the code modules.
Please help me on the same.

Regards,
AKshay Kumar

User avatar
Vega
Posts: 161
Joined: Mon Jul 11, 2016 2:15 pm

Re: Module Variable - Data Driven

Post by Vega » Fri May 10, 2019 8:55 pm

Are you talking about a select tag drop down? If so, using the W3 schools example, you can data drive the selection by using a set value step:
forum1.png
forum1.png (6.15 KiB) Viewed 59 times
Make sure you are setting the value for the right attribute, in this case it was TagValue. You can use Spy to determine which value needs to be set. If needed, I included the W3 Schools example below:

https://www.w3schools.com/tags/tryit.as ... tml_select

Hope this helps