Pass a dynamically bind data from one code module to another

Download and share automation modules and examples.
bimal jose
Posts: 4
Joined: Thu Mar 14, 2013 6:36 am

Pass a dynamically bind data from one code module to another

Post by bimal jose » Wed Mar 12, 2014 10:49 am

Hi,

How do pass a dynamically bind data of a one code module to another code module.
For example:
in my code module (module1) right click the mouse and select 'import module variable' , bind it @runtime using the option data binding. add other module (module1). I need the dynamically bind data in module1 at the second module .

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

Re: Pass a dynamically bind data from one code module to another

Post by Support Team » Fri Mar 14, 2014 4:46 pm

Hi bimal jose,

Unfortunately it is not possible to pass module variables from one to another module directly due to the fact that the modules are updated from their bound module variables once the module has finished execution. You need to bind the module variables to a global variable in order to pass it to another module.

To make the value stored in the module variable available to other modules, it's necessary to bind the variable to a parameter. By doing so, it can then be bound to variables in other modules.
DataBinding.png
Regards,
Robert
You do not have the required permissions to view the files attached to this post.