Binding Data from Different Source Files in one module

Best practices, code snippets for common functionality, examples, and guidelines.
erik
Posts: 3
Joined: Fri Jul 28, 2017 1:30 am

Binding Data from Different Source Files in one module

Post by erik » Fri Aug 04, 2017 3:18 am

Greetings,

I am Erik and I have just started to use Ranorex and not quite familiar
with coding so I would like to ask the following.

I am trying to compare 2 data from 2 different data sources (excel file, different sheets)
in a single module. Is it possible to bind data from different files in a single user/code module?

Highly appreciate any advice regarding this.

Best regards,
Erik

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Binding Data from Different Source Files in one module

Post by Support Team » Fri Aug 04, 2017 8:02 pm

Hi Erik,

As you have probably already discovered, you can only bind one data connector per test container. To access multiple data connectors in one module, you will need to nest test containers. Child modules have access to all parent test container's data connectors.
ts.png
dc.png
I hope this helps!

Cheers,
Ned
You do not have the required permissions to view the files attached to this post.

erik
Posts: 3
Joined: Fri Jul 28, 2017 1:30 am

Re: Binding Data from Different Source Files in one module

Post by erik » Mon Aug 07, 2017 3:05 am

Hi Ned,

Thank you for your reply!
I will give this a try :D

Best regards,
Erik