When you "Insert New Module Variable" into a code module, it is automatically added as a string.
Is it possible to add a new module variable of another type, e.g. add an int module variable?
Thanks!
Adding code module variables other than strings?
Re: Adding code module variables other than strings?
Hi Fergal,
Module variables are always strings, because data connectors currently supports only string-based data. In other words, there is currently no way to create module variables other than strings.
Module variables are always strings, because data connectors currently supports only string-based data. In other words, there is currently no way to create module variables other than strings.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
-
- Certified Professional
- Posts: 344
- Joined: Tue Feb 18, 2014 2:14 pm
- Location: Co Louth, Ireland
- Contact:
Re: Adding code module variables other than strings?
Thanks odklizec! I have been using Parse to convert those string variables and was curious as to whether there was an easier way to do it.