Hi,
i need to delegate a variable from a user code module to a recording module.
I call the recording module with TestModuleRunner.Run(new RecodingModule());
In the user code module i have a variable. What should i do to delegate the variable to the recording module and how to use it there?
Thanks
Delegate variable to another Module
- Support Team
- Site Admin
- Posts: 12167
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria
Re: Delegate variable to another Module
Hello,
Our Test Suite uses a parameter-less constructor to call Code and Recording modules.
You could create an additional constructor for your Recording module and pass your values to it.
Markus (T)
Our Test Suite uses a parameter-less constructor to call Code and Recording modules.
You could create an additional constructor for your Recording module and pass your values to it.
TestModuleRunner.Run(new Recording1("5"));Regards,
Markus (T)