Page 1 of 1

Data Binding in Module Groups

Posted: Thu Sep 29, 2016 11:04 am
by Fergal
Ranorex 6.1.1

With a test suite like the one below:

Parent TC
- Child TC (data driven with a data source)
- - Setup
- - - Setup Module Group (Containing Setup_Module1 and Setup_Module2)
- - Module 1
- - Module 2
- - Tear Down

Setup_Module1 includes variables. However, when Data Binding is opened, those variables are not displayed. How can I data bind those variables?

Thanks!

Re: Data Binding in Module Groups

Posted: Thu Sep 29, 2016 11:29 am
by odklizec
Hi,

You need to create module group variables first, then connect them with variables in recording/code modules inside the group module. After that, you should be able to connect group module variables (and so the recording/code module variables) with the data connector in "Child TC".

Just go to View Module Groups, select the module groups you want to connect and create new group module variables. To make the things easier, use "Auto-Create" and "Auto-Bind" buttons.

Re: Data Binding in Module Groups

Posted: Thu Sep 29, 2016 2:30 pm
by Fergal
Thanks very much odklizec, that has worked perfectly!