Hey, have technical question about Ranorex Recorder. I would like to use RunApplication action which path is based on two variables. Thats what i did:
1. I add three variables to recording
2. I bound two of them using dataConnector
3. I set the third variable in Init() method of that recording
4. I use the third variable as path of RunApplication action
When such configured recording is finished i get warnings that the third variable is not Bound to any data. My question is is there a better mechanism to achieve what i want or is it possible to remove these warnings??
Paweł
Using variables in recordings
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Using variables in recordings
Hi Paweł,
If you want to overcome this warning I would use a global parameter instead of the third module variable, or a module variable which is bound to a global parameter.
The global parameter can also be set using the command line argument "param|pa:<global parameter name>=<value>".
It is recommended to use a global parameter for saving the path to your application under test.
Regards,
Markus
If you want to overcome this warning I would use a global parameter instead of the third module variable, or a module variable which is bound to a global parameter.
The global parameter can also be set using the command line argument "param|pa:<global parameter name>=<value>".
It is recommended to use a global parameter for saving the path to your application under test.
Regards,
Markus
Re: Using variables in recordings
Thanks Markus, i bound variable to global parameter and warnings disappear.