Variable and data binding

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
Posts: 4
Joined: Sun Nov 03, 2013 11:00 pm

Variable and data binding

Post by danffie » Mon Jan 06, 2014 12:04 pm

Dear Support:

I've met with following issues when using variables.

1. I can select module variable from drop down list for repository items.
But when I use the variable in that way, (defined in module and used in both module and repository), the data can only be passed to module variable, but cannot pass to repository item. In this case, should I have to define another repository variable and pass the value from argument (module variable) by code manually?

2. When using multiple rows in data table, the behaviors when executing 1st row is correct, but when beginning to execute the 2nd row, the click action will be on the left top of GUI, but not the assigned item. I've tried to separate the actions to 2 test case, it will be OK. Only when trying to use multiple rows of data to cycle, the action will fail if a pop-up window appears and needs a click.

Could you please help me?


Posts: 4
Joined: Sun Nov 03, 2013 11:00 pm

Re: Variable and data binding

Post by danffie » Tue Jan 07, 2014 1:23 am

I find another issue which is: when using multiple repositories in user code, the repository variable cannot be available in module level, I can only pass the value via creating another module variable and set inside user code.


Re: Variable and data binding

Post by MarkusT » Tue Jan 07, 2014 12:18 pm


Add 1:
Unfortunately, I could not reproduce your issue without more information.
Which Ranorex version do you use?
It would be great if you could post a simple solution that shows this issue.

Add 2:
Could you please provide a report and a Ranorex Snapshot of your application?
This would help us in analyzing your issue.
Please take a look at our User Guide for more information on how to create snapshot files.

Add 3:
You would need to copy your variables from your linked repository into your module by using 'Copy Variable from Repository' button in 'Variables' of your module. If you want to use variables from other repositories, you would need to write User Code.

Markus (T)