I have an application that I'm testing in multiple languages. I wrote my tests in English but I am able to excute them in other languages by having my window declarations handle the translation through multitags.
However, I have run into a situation where I need to select an item from a PageList and the item can be in different languages. Since the items in a PageList are not included in a window declaration I cannot have them translated that way.
Does anyone have any ideas on how I could reference items in a PageList and have them translated in a similar way to multitags in window declarations?
This is an example of how I do the translation in the window delaration:
tag "Application Windpw"
By doing this I can still reference the push button as OK and Silk Test will be able to find it because of the multitag.
Instead of using multitag for controls that have internal id's, why don't you just configure your window declarations recorder to use 'window ID' as the recognition method? That would save you lots of work creating multitags.
For controls that are only recognized by a string and things that are not included in the declaration, you can either use the multitag method or use a global variable as the tag. You can then assign the value based on the language you are running under. You can either compile different .inc files based on the language you are running under or you can maybe use a .ini file and retrieve the values from there.
Have you ever noticed? Anybody going slower than you is an idiot, and anyone going faster than you is a maniac.