Page 1 of 1

Variable and data binding

Posted: Mon Jan 06, 2014 12:04 pm
by danffie
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?

Thanks.

Re: Variable and data binding

Posted: Tue Jan 07, 2014 1:23 am
by danffie
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

Posted: Tue Jan 07, 2014 12:18 pm
by MarkusT
Hello,

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.

Regards,
Markus (T)