I am relatively new to Delphi so please bear with me. Basically, I need to set variables as different values based on whether or not I am testing in an English or French translated environment. All menus in these TC scripts are accessed by their names and in French they are not the same. I can, however, access them by their position in the menu - such as [4|2]
.
I have a list of constants and would like to set up an array to set MenuItem1 to either File|New
or [4|2]
depending on the value of tcDecimalSeparator <> '.'
(set as a declared constant).
Does this make sense? What would be the easiest / best way to do this?
I know I could probably set this all up with data driven testing but I don't want to rework the scripts that much prior to release.