Hi.
Running an extended Trial version 7.1.1. of Ranorex on Win7 64, I have a UserCodeCollection, that contains a UserCodeMethod with four parameters.
When i use this method as an action in a recording, only the first three params are realized as fields (see screenshots).
I replicated this with more UserCodeMethods, more than three params will not be shown in Recording-view.
Is this a bug or a feature?
UserCodeMethods only shown with three of four params
UserCodeMethods only shown with three of four params
You do not have the required permissions to view the files attached to this post.
Re: UserCodeMethods only shown with three of four params
Hi,
It's a feature. There is simply no room in UI for more params. You need to use button [Args] to access the rest of params.
It's a feature. There is simply no room in UI for more params. You need to use button [Args] to access the rest of params.
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: UserCodeMethods only shown with three of four params
The empty space to the right of "Comment" might be called roomodklizec wrote:There is simply no room in UI for more

But ok, as long as it's accessible. Thx!
Re: UserCodeMethods only shown with three of four params
Well, I believe the UI is designed for typically used screen resolution, which may be much lower than yours?
But I agree it could be done dynamically, e.g. based of the actual resolution and available space.
BTW, there is already a User Voice created for this, so feel free to vote for this idea here:
https://uservoice.ranorex.com/forums/15 ... de-methods

BTW, there is already a User Voice created for this, so feel free to vote for this idea here:
https://uservoice.ranorex.com/forums/15 ... de-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
-
- Posts: 254
- Joined: Tue Mar 24, 2015 5:05 pm
- Location: Des Moines, Iowa, USA
Re: UserCodeMethods only shown with three of four params
You'll also notice any return value from a usercode method is only accessible via the properties window. So that's neat. 

Doug Vaughan
Re: UserCodeMethods only shown with three of four params
Exactly what i was looking for just now! Keep talking, you are on a streak!return value from a usercode method is only accessible via the properties window

-
- Posts: 254
- Joined: Tue Mar 24, 2015 5:05 pm
- Location: Des Moines, Iowa, USA
Re: UserCodeMethods only shown with three of four params
it was the obvious next question. Since the answer seems a bit inconsistent, I figured I'd preempt it.loonquawl wrote:Exactly what i was looking for just now! Keep talking, you are on a streak!return value from a usercode method is only accessible via the properties window
Doug Vaughan