Post
by krstcs » Mon Feb 27, 2017 3:29 pm
You cannot name modules the same as any of the Ranorex class names. So, Validate, Delay, TestCase, etc., are all forbidden, and you will get errors if you try to compile with it.
You should be naming your modules better anyway. For example, what are you validating, what are you delaying?
ValidateOKButtonDisplayed or ValidateProductPrices
Delay500ms or DelayUntilOKButtonAvailable
This will make it easier for people in the future to understand what the module does without having to open it.
Naming things is the hardest thing any programmer does, by far. You need to take time and think about what to name things, it will make a big difference later on when you have to come back and reuse modules.
This is also true in other development projects besides Ranorex tests.
Shortcuts usually aren't...