Hi folks,
I'm experiencing a weird issue in 4.0.4. It seems that the list of methods available for User Code action displays only the methods with no or just one argument? Any method with two or more arguments is not listed...
The project compiles fine with no errors or warnings so I believe there is no problem with the method declaration? Did I find a bug in 4.0.4 or is this a known RX limitation?
missing method in User Code list of available methods
missing method in User Code list of available methods
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
Re: missing method in User Code list of available methods
OK, I found the reason of this issue and it has nothing to do with number of arguments. It seems the User Code arguments accepts only strings? So the only solution seems to be creating my methods with string arguments and convert them inside the method to numerical values. Not a big deal, but it would be nice to have a direct support for mixed arguments in User Code action.
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
Re: missing method in User Code list of available methods
I second this feature request.
It would be nice to have user code that accepts other types, including accepting repository object types so we can directly pass repository objects to user code.
It would be nice to have user code that accepts other types, including accepting repository object types so we can directly pass repository objects to user code.
Shortcuts usually aren't...
- Support Team
- Site Admin
- Posts: 12167
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria
Re: missing method in User Code list of available methods
Hello,
Thank you for your suggestions.
That's correct, it is only possible to pass string parameters in a user code action.
I added an entry into our bug tracking system and we will discuss the feature internally.
Thank you!
Regards,
Bernhard
Thank you for your suggestions.
That's correct, it is only possible to pass string parameters in a user code action.
I added an entry into our bug tracking system and we will discuss the feature internally.
Thank you!
Regards,
Bernhard