I am just starting to build one central user code file for our tests and in the process found out that it would be best if i could predefine which pramaters can be given.
In my research i found enums in c# but am not sure if it works or is the way to go.
Could one of you maybe give me a hint? Would be really appreciated!
Best practices, code snippets for common functionality, examples, and guidelines.
2 posts • Page 1 of 1
It is hard to say without more information, but why not keep things simple and use global parameters in Ranorex? These can be accessed in code by data-binding them to your variables or accessing them directly via the code snippet below.
Code: Select all
IDictionary<string, string> allParams = TestSuite.Current.Parameters;