Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE

What tagging techniques can be implemented to work with a localized application?

What tagging techniques can be implemented to work with a localized application?

When testing an application in with the GUI can be rendered in say English, German, French, it is required that all tags on each variation match or work in conjunction so that one script can be developed to execute against all variations.


There are a number of approaches which can be taken here.

Browser

If this was a browser based application SilkTest provids native browser support for the following languages:

* French
* German
* Japanese
* Simplified Chinese
* US

If working with a desktop based application we can do one of the following:

Record Multi-tags

By recording multi-tags we can include caption, location and Window ID (and any other tagging property). SilkTest when attempting to find an object on play back shall then traverse this multi-tag searching for the corresponding tag within the application. In such a multi-lingual application it is advisable to include Window ID, Index & Location tags.

[-] SwfCheckBox SwfCheckBox1
[-] multitag "The check box"
[ ] "#1"
[ ] "$chk_Check"
[ ] "@(68,28)"


Master Declarations

Another option is to create a single master set of declarations. This would involve the recording of declarations for each localized version of the application and merging the declarations making use of the “|” (Logical OR) symbol. SilkTest will then look for the corresponding tag eg. mother | mutter etc.

[-] SwfCheckBox SwfCheckBox1
[-] multitag "The check box" | “Der Überprüfungskasten” | “La boîte de contrôle”
[ ] "#1"
[ ] "$chk_Check"
[ ] "@(68,28)"


This too should provide a stable platform.


DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2013-02-15 19:35
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.