Page 1 of 1

Which data types in user code?

Posted: Mon Feb 01, 2021 2:26 pm
by HansSchl
Hi,

which are the data types that I can use in the declaration of a user code action? I figured out some, like int, string, RepoItemInfo, bool, and I also found some that cannot be used, like double. Is there a complete list? Can the list be extended at run time?

Thank you
Hans

Re: Which data types in user code?

Posted: Thu May 06, 2021 7:05 am
by odklizec
Hi,

A bit old post, but I think it's still relevant and as such should be answered ;) Here is a complete list of User Code method arguments...
Arguments.png
These should be recognized if used in Recordings.

Re: Which data types in user code?

Posted: Thu May 06, 2021 8:36 am
by HansSchl
Thanks, that list is longer than I had thought. It contains "Double" - I'll have to re-check that (in my original post I wrote that double doesn't work bu maybe the problem was elsewhere).

Re: Which data types in user code?

Posted: Thu May 06, 2021 8:49 am
by odklizec
Hi,

Yeah, there is always a possibility of undiscovered Ranorex bug :)