STEPin- Hyderabad Globalization Testing Demystified

158
Click to edit Master subtitle style Citrix Confidential © 2008 Demystifying Globalization Testing Anuj Magazine Citrix R&D India Pvt. Ltd. http://anujmagazine.blogspot.com http://handwritinganalyst.blogspot.com

Transcript of STEPin- Hyderabad Globalization Testing Demystified

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 1/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Demystifying Globalization Testing

Anuj MagazineCitrix R&D India Pvt. Ltd.

http://anujmagazine.blogspot.comhttp://handwritinganalyst.blogspot.com

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 2/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Overall AgendaPart #1: Globalization Testing Introduction and Basics

Part #2: Understanding different components of Globalization Testing

Part #3: Globalization Test Planning- The finer points

Part #4: Uncovering some myths about Globalization testing

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 3/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Part-1: Globalization Testing IntroductioBasics

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 4/158

Click to edit Master subtitle style

Citrix Confidential © 2008

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 5/158

Click to edit Master subtitle style

Citrix Confidential © 2008

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 6/158

Click to edit Master subtitle style

Citrix Confidential © 2008

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 7/158

Click to edit Master subtitle style

Citrix Confidential © 2008

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 8/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Do you want your Software product towith Global customers like any of these

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 9/158

Click to edit Master subtitle style

Citrix Confidential © 2008

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 10/158

Click to edit Master subtitle style

Citrix Confidential © 2008

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 11/158

Click to edit Master subtitle style

Citrix Confidential © 2008

1.0

2.0

3.0

Globalization eras

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 12/158

Citrix Confidential - Do Not Distribute

Growing Language support for Windows OS

Citrix Confidential - Do Nots r u e

• Windows 98: 30 languages

• Windows XP: 42 languages

• Windows Vista: 97 languages

Source: http://msdn.microsoft.com/hi-in/goglobal/dd218459(en-us).aspx?ppud=4#FundamentalconceptsofMUI

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 13/158

Citrix Confidential - Do Not Distribute

• No. of Countries in the world= 193

• Known living Languages= 6900

• English speaking = 8.5% of world population (1st or 2nd language)

• Languages with atleast 1 million speakers= 347

Citrix Confidential - Do Nots r u e

Some Interesting Statistics

Source: http://msdn.microsoft.com/hi-in/goglobal/dd218459(en-us).aspx?ppud=4#FundamentalconceptsofMUI

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 14/158

 

Language Matters!

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 15/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Overview of Software Globalizatio

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 16/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Globalization(G11N)

Parts of Globalization testing

Internationalization(I18N)

Localization (L10N)

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 17/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Jan Scherpenhuizen = Jan S12N

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 18/158

Click to edit Master subtitle style

Citrix Confidential © 2008

About I18N

• Internationalization, or I18N, is the process of generalizing a product so that multiple languages and cultural conventions without the need for re-design.

• Internationalization takes place at the level of program design.

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 19/158

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 20/158

Click to edit Master subtitle style

Citrix Confidential © 2008

About L10N

• Localization, L10N, involves taking a product and making it linguistically and

appropriate to the target locale (country/region and language) where it will sold.

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 21/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Localization(L10N)

Parts of L10N testing

Translation

UI Layout

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 22/158

Click to edit Master subtitle style

Citrix Confidential © 2008

ABC.....no KBC of Globalization Testi

Can Localization exist successfu

product without InternationalizA. YesB. NoC. May beD. None of the abov

B. No

C C f Gl b l

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 23/158

Click to edit Master subtitle style

Citrix Confidential © 2008

ABC.....no KBC of Globalization Testi

Can Internationalization exist su

Software product without LocalA. YesB. NoC. May beD. None of the abov

A. Yes

ABC KBC f Gl b li i T i

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 24/158

Click to edit Master subtitle style

Citrix Confidential © 2008

ABC.....no KBC of Globalization Testi

The activity of translation of Do

gets broadly categorized under-A. I18NB. L10NC. L20ND. None of the abov

B. L10N

ABC KBC f Gl b li ti T ti

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 25/158

Click to edit Master subtitle style

Citrix Confidential © 2008

ABC.....no KBC of Globalization Testi

The activity of Unicode implem

classified under-A. I18NB. L10NC. I19ND. None of the abov

A. I18N

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 26/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Part-2: Understanding different componeGlobalization Testing

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 27/158

Click to edit Master subtitle style

Citrix Confidential © 2008

#1. Testing Unicode implementation

U i d Cl Th B i

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 28/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Unicode Clean- The Basics• Unicode provides a unique number for every character,

no matter what the platform,no matter what the program,no matter what the language.

• Journey from Code Pages to Unicode.

• Unicode numbers are given in four hex digits preceded by U+, so “A”; is U+00representation).

• Tibetan Om• U+0F00

• DEVANAGARILETTER JHA

• U+091D

T t Id ifi t “U i d ”

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 29/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Test Ideas specific to “Unicode”• Does the Application support all possible extended characters and text script

in multi-byte languages like Korean, Japanese and Chinese ?• Are multi-byte file and fonder names. File contents and other such data parse

viewed and Saved correctly ?• Multi Byte Characters handling-

 – Overlapping Characters – Text Selection – Text Deletion

• Filtering and Searching

Double Byte characters handling Overlap

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 30/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Double Byte characters handling- Overlapcharacters (legacy Applications)

-Special consideration to double byte languages.

-Overlapping characters are the values that can be mapped to more than ondepending upon the context in the which they are used (Single byte or D

-Example: - ASCII value 0x5C- The value 0x5C is mapped to backslash character in single byte contex- The value 0x5C is used in several Japanese characters (double byte) a

byte of a two-byte character.- Japanese representation of double byte text is “Yen” symbol.

-If a program recognizes the 0x5C value as a backslash, it may cause issues wbyte languages.

Double Byte characters handling - Text se

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 31/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Double Byte characters handling - Text se(legacy Applications)

-Proper handling of double byte characters during the character selection operat

-Improper handling of double byte characters during the character selection ope

- When the cursor is moved to the left instead of moving to the beginning of byte character it is placed in between the lead and trail bytes.

Double Byte characters handling - Text de

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 32/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Double Byte characters handling Text de(legacy Applications)

- This is an example of incorrect handling of double byte characters during thdeletion. Note that after deletion only trial byte is deleted and not the lead

- Now with the delete key at the start of the string. The lead byte has beendeleted leaving the trail byte(¥).

- Always treat the lead and trailing byte of a double-byte character code as onunit

Filtering and Searching

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 33/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Filtering and Searching

- Searching usually has to be performed manually each time. Filters are predsearches within a program.

-Some times programs do not take care of accented characters properly e.g.for word- “Word” the program might return- Wörd, Wòrd as well.

-Filtering and Searching of a Localized program must take care of foreigntext/International characters properly.

Unicode specific bugs

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 34/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Unicode specific bugs

Questions to clarify before testing “Unico

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 35/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Questions to clarify before testing Unico• Which languages does your Application Support ?• Is there a requirement to test the localized characters beyond the languages

already supported ?•

Is the Application Unicode Clean ?• If the Application is not Unicode Clean, then what parts of the Application ar

?• How is the Unicode data stored in Byte Sequences in the Computer ? Is it UTF

other representation ?• Does the product support any pre-Unicode code pages ?

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 36/158

Click to edit Master subtitle style

Citrix Confidential © 2008

#2. Testing the “Input/Output procesimplementation

Input/Output process- The Basics

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 37/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Input/Output process- The Basics• Put simply, the users interact with an application using keyboard to enter dat

• The application processes the data and displays them in a selected font, or o

a file.

• Input Processes- – Support for Keyboards – Support for IME

• Output Processes- – Font Independence

• As a general rule for fonts, the application – should not hard-code font names – should not assume a given font is always installed on the system – should not assume a selected font supports the desired language script

Input/Output process- Enabling Keyboard- Wi

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 38/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Input/Output process- Enabling Keyboard- Wi

What is IME (Input Method Editor)

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 39/158

 

What is IME (Input Method Editor)

§ What is IME ?§

An IME is a program that allows computer users to enter complex characsymbols, such as Japanese characters, using a standard keyboard.

§ Why we need IME ?§ Each language of CCJK has lots of characters, we cannot mapping all of t

standard keyboard.

§ Which languages need IME§ CCJK (SC, TC, JA and KO)

Test Ideas specific to “Input/Output proc

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 40/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Test Ideas specific to Input/Output proc• Input Process:

• Can users Copy/Paste with Accented Characters ?• For, Asian Languages, are all major Input Method Editors (IME) supported ?• Check all the text fields with Localized Keyboard ?

• Output Process:• Test the entire Application User Interface for the consistency of UI look and feel/Font dis• Get the error messages List and simulate the messages in the Application.• If there are some Locales in which product is not translated but important from business

work to test the English version of the product on the Localized OS.• If the Application has different UI components may be Web based and Windows based, en

rendering of text on all supported components.•

Ensure that UIs of all the supported languages are tested independently in all supported Ocombinations.• If the Application has places where the UI dynamically shows data , such areas should be

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 41/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Questions to clarify before testing“Input/Output Process”• Input Process:

• What are the input modes that an application supports ?• Does application supports IME, Keyboard, Copy-Paste, Inputting text through Character m

• Output Process:• Is the font hard-coded or is externalized ?• Are there any places in the Application where the dynamic text shows up ?

Examples of “Input/Output Process” spec

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 42/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Examples of Input/Output Process specCharacter corruption - Question marks- Sometimes Questions marks appear (?????) in the UI instead of displacorrect text– This generally indicates a problem in the Unicode to ANSI conversio

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 43/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Character corruption- Random charac- Random High ANSI characters (⅓, †, ‰, ‡) appear instead of readable - This generally indicates a problem with the use of the wrong code page

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 44/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Character corruption- Font displa- Vertical bars, boxes and tildes ( , □, ~│ ) indicates that the selected fondisplay some of the characters.

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 45/158

Click to edit Master subtitle style

Citrix Confidential © 2008

#3. Testing the “Locale Awareness”implementation

Locale Awareness-The Basics

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 46/158

Click to edit Master subtitle style

Citrix Confidential © 2008

• The application has to be aware of the locale of the underlying operation systformat the locale sensitive data.

Different countries use different formatting for their calendar, date, time, cunumbers and so on

• Locale Awareness- Key Aspects• Consistent Locale Model• Locale based Calendar

Locale based Formatting• Locale based Sorting

Test ideas specific to Locale Awareness

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 47/158

Click to edit Master subtitle style

Citrix Confidential © 2008

p• Ensuring different components of the Application follows consistent Locale.• Do regional settings, such as paper size, date/time, number and currency for

the language of localized product by default ?•

Does the Localized application automatically default to regional settings specOperating System ?

Locale awareness: Date and Time

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 48/158

Click to edit Master subtitle style

Citrix Confidential © 2008

• Different Countries use different Date/Time formats.

Country Short Date Before Noon After Noon

United States Month/Day/Year 11:45 AM 1:30 PM

France Day/Month/Year 11:45 13:30

Germany Day.Month.Year 11:45 Uhr 13:30 Uhr  

Japan Year/Month/Day 11:45 13:30

Sweden Year/Month/Day 11.45 13.30

•Testing needs to ensure that appropriate Date/Time formats are followed.

Testing needs to ensure that appropriate format of Calendars are followed.

Examples:• In United States, as Sunday is first day of the week- it appears in left most co

Calendar. Many other countries consider Monday as first day of the week- Soshould appear in Left most column in the Calendar.

Locale awareness: Date and Time

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 49/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Locale awareness: Currency

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 50/158

Click to edit Master subtitle style

Citrix Confidential © 2008

y

•Different Countries have different currencies and Monetary Symbols.

•Test your program to ensure that all the currencies and their symbols are a

Input fields and are displayed properly.•Euro Symbol is a Special case. (Rupee Symbol as well)

Locale awareness: Numbers

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 51/158

Click to edit Master subtitle style

Citrix Confidential © 2008

•Testing should ensure that any numerical or Currency value is written correstandards followed in locale under test.

Examples1. In United States, a period is used to represent decimal and a comma ithousand’s separator. E.g. 1,000,000.00

2. In Germany, it is other way around i.e. a comma is used to represent a period is used as thousand’s separator. E.g. 1.000.000,00

Locale awareness: Addresses, Postal Codes,

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 52/158

Click to edit Master subtitle style

Citrix Confidential © 2008

• Different Countries have different ways of formatting their Addresses •Examples:

  Address format for United States-NameStreet NumberExtra Lines for apartment numbers, Suites, Buildings etc.City, State, Zip code

  Address format for Japan-Postal CodePrefectureTownStreet NumberName

  Address format for Germany- 

Street AddressPostal code CityCountry/Region

•Addresses can be represented in different ways in the UI.ocale awareness: Addresses, Postal Codes an

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 53/158

Click to edit Master subtitle style

Citrix Confidential © 2008

p y

•Special consideration for Zip codes.  Examples:

US zip codes are either 5 to 9 digits long.Japanese postal codes are 7 digits long.China zip codes are 6 digits long.Taiwan zip codes are 3 digits long.Korea zip codes are up to 6 digits often with a city name included.

•Special consideration for Phone Numbers.  Examples:

US has a 3 digit area code.

India has a 2 digit area code.

•In Chinese and Korean, there are no separate fields for First name and Last nthere is no space between First name and Last name).

•International addresses should be stored in database properly and be displayproperly.

Locale awareness: Sorting

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 54/158

Click to edit Master subtitle style

Citrix Confidential © 2008

•Different Sorting rules exists for different countries

• Examples- In German, the letters ö and o are sorted next to each other.

- In Sweden, the letter ö is sorted at the very end; a couple of letters•Sometimes, there are different sort rules for the same language.

• Examples• Spanish language has 4 additional characters ( as compared to Engli

Sorting, there are separate sort rules (traditional and modern soused.

• German language also has multiple collation rules. Infact, there are DIN1, DIN2 (used in phone books) and Austrian.

• Sorting works the same way in French as it does in English.• Japanese language sorting is always based on phonetics.

Examples of “Locale Awareness” specific

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 55/158

Click to edit Master subtitle style

Citrix Confidential © 2008

p p

Date-Time formats

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 56/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Date Time formats

Regional issues

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 57/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Regional issues

Questions to clarify before testing

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 58/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Questions to clarify before testing“Locale Awareness”• Does the product support different regional settings, such as date/time and c

formats, calendar standards, decimal separators, paper size standards, measaddress and telephone number format ?

Which areas of the Application displays Locale specific information such as DaNumbers, Currency, Calendar etc. ?• Are there any areas in the Application where the data is sorted ?• What are the language specific sorting rules followed in the Application logic • Are there any places in the Application where the Address format is used ? Is

externalized ?•

If there is a place in Application where one can define App specific Regional sit take precedent over OS specific Regional settings ?

Locale Awareness demo- World Ready Appl

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 59/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Locale Awareness demo World Ready Appl

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 60/158

Click to edit Master subtitle style

Citrix Confidential © 2008

#4. Testing the “Single Base Binary”implementation

Single Base Binary-The Basics

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 61/158

Click to edit Master subtitle style

Citrix Confidential © 2008

• Single base binary, or SBB, is a single set of functional core binaries for all laversions of operation systems, there are no conditional compiling for differenversions, there are no need to maintain separate source codes for developmelife cycle maintenance.

• Single Base Binary- Key Aspects – Single Language Neutral Binary – Application should functionally behave the same across all the supported languages.

Test ideas specific to Single Base Bin

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 62/158

Click to edit Master subtitle style

Citrix Confidential © 2008

• Test for Application having only Localized text in the UI- No hard coding.• Test for Functionality in the different supported languages. Application fu

should behave the same way across the various supported languages.

Example of “Single base binary” specific

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 63/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Example of “Single base binary” specific

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 64/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Questions to clarify before testing

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 65/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Q y g“Single base binary”• Do the separate code paths specific to languages exist within the code ?

• Is the code same/consistent for all the languages ?• Has all the UI text been externalized and placed in separate resource files ?• Is there any text which is still (on purpose) hard-code ?

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 66/158

Click to edit Master subtitle style

Citrix Confidential © 2008

#5. Testing the “Localizability” implemen

Localizability- The BasicsL li bilit

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 67/158

Click to edit Master subtitle style

Citrix Confidential © 2008

• Localizability: – In the application development phase, it is important to identify what needs to be localiz

not, and then put everything that needs to be localized into separate files, in this way thlocalizable.

 – Localizability testing verifies that you can easily translate the user interface of the progr

language without re-engineering or modifying code. Localizability testing catches bugs noduring product localization, so localization of the program is required to complete this te

• Localizability- Key Aspects: – GUI 30-percent Rule – Localizable Image/Icons – Mirroring

Test ideas specific to LocalizabilityP d T l ti ( ill l t i d t il)

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 68/158

Click to edit Master subtitle style

Citrix Confidential © 2008

• Pseudo Translation (will cover later in detail)

Example of “Localizability” specific bugs

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 69/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Example of “Localizability” specific bugs

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 70/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Questions to clarify before testing“L li bilit ”

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 71/158

Click to edit Master subtitle style

Citrix Confidential © 2008

“Localizability”• Translatables- Have all translatable components been externalized from the s• Regional Settings- Have any regional settings been hard-coded, such as time/• Concetenations- Are there many concatenations that may cause problems for• Over- externationalzing- Do the resource files containing translatable text ha

translatable items ?• Expansions- Do dialog boxes and forms allow for text expansion ?• Bitmap text- Does the application contain many bitmaps or icons with transla• Does the Application contain any graphics, colors , or other components that

adjusted for certain target locales ? Can these components be easily adapted

generic ?

“Mirroring” demo- World Ready Applica

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 72/158

Click to edit Master subtitle style

Citrix Confidential © 2008

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 73/158

Click to edit Master subtitle style

Citrix Confidential © 2008

#6. Testing the “Multilingual User Interfimplementation

Multilingual Application=

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 74/158

Citrix Confidential - Do Not DistributeCitrix Confidential - Do Not

Language neutral core binary (also SBB)

+

Source: http://msdn.microsoft.com/hi-in/goglobal/dd218459(en-us).aspx?ppud=4#FundamentalconceptsofMUI

Set of language specific localized resource files

+

Logic to dynamically load language specific resources

+Language Fallback Logic

Ancient era: Code and resources live togethe

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 75/158

Citrix Confidential - Do Not DistributeCitrix Confidential - Do Not

Source: http://msdn.microsoft.com/hi-in/goglobal/dd218459(en-us).aspx?ppud=4#FundamentalconceptsofMUI

G11N ProcInd

Developing the

ApplicationServicing theApplicationAdding NewLanguages

Medieval era: Logically separating code andlocalizable resources

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 76/158

Citrix Confidential - Do Not DistributeCitrix Confidential - Do Not

Source: http://msdn.microsoft.com/hi-in/goglobal/dd218459(en-us).aspx?ppud=4#FundamentalconceptsofMUI

G11N ProcInd

Developing the

ApplicationMaintaining theApplication

Adding New lang

An Example

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 77/158

Citrix Confidential - Do Not DistributeCitrix Confidential - Do Not

Source: http://msdn.microsoft.com/hi-in/goglobal/dd218459(en-us).aspx?ppud=4#FundamentalconceptsofMUI

Application containing multiple language reso

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 78/158

Citrix Confidential - Do Not DistributeCitrix Confidential - Do Not

Source: http://msdn.microsoft.com/hi-in/goglobal/dd218459(en-us).aspx?ppud=4#FundamentalconceptsofMUI

G11N ProcessIndica

Developing theApplicationMaintaining theApplication

Adding New languag

Modern era: Physically separating code and re

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 79/158

Citrix Confidential - Do Not DistributeCitrix Confidential - Do Not

Source: http://msdn.microsoft.com/hi-in/goglobal/dd218459(en-us).aspx?ppud=4#FundamentalconceptsofMUI

G11N ProcessIndica

Developing theApplicationMaintaining theApplication

Adding New languag

Test Ideas specific to MUI

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 80/158

Citrix Confidential - Do Not DistributeCitrix Confidential - Do Not

• Testing for Language neutral core binary• Testing for single MUI Installation•

Testing for switching language without Reinstallation• Testing for the logic of dynamically loading resources• Testing for language Fallback mechanism• Testing for Single base binary

Example of “MUI” specific bugs

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 81/158

Click to edit Master subtitle style

Citrix Confidential © 2008

MUI demo- World Ready Application

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 82/158

Click to edit Master subtitle style

Citrix Confidential © 2008

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 83/158

Click to edit Master subtitle style

Citrix Confidential © 2008

#7. Some more considerations

Duplicate, Missing hotkeys

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 84/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Text in Graphics

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 85/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Look out for Acronyms- Are they represented

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 86/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Are there any Abbreviations ?• Information written as “Info”

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 87/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Information written as Info

• Advertisement written as “Ad

The Problems with Concatenation• The Code:

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 88/158

Click to edit Master subtitle style

Citrix Confidential © 2008

The Code:strHello = ReadString("Welcome");strMsg = strHello + ", " + UserName;

English: Welcome, Anuj• Suitable for Japanese ?

• Other languages have:• different word orders (Japanese)• different genders for different nouns (French, German, Spanish)• different punctuation marks (Spanish, German)•

different requirements for indicating respect of the user (French and Japanese)• different requirements for plurality (all languages)

The Problems with Concatenation…co• Indicating Plurals:

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 89/158

Click to edit Master subtitle style

Citrix Confidential © 2008

g :

• Similarly adding "st", "nd" and "th" to numbers will cause the same sort of p

Legal Aspects• Different Countries Different Laws

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 90/158

Click to edit Master subtitle style

Citrix Confidential © 2008

• German unfair competition LawClaim of superior position

 –

My product is the fastest, best, first, #1, ... – My company is the world leader in ….Claims about product quality

 – 100% bug free – Totally Secure

• Should “Copyright” Symbol © be Localized ?

Some Disputed GesturesThe seemingly innocent thumbs-up gesture C is offensive in Australia.

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 91/158

Click to edit Master subtitle style

Citrix Confidential © 2008

g y p g

The thumbs-down gesture D is extremely rude to the locals of the Mexican island

Putting your thumb to the side may get you beaten up in Nigeria.

Showing your entire hand with the palm facing out I may mean stop to you buserious insult in Greece.

Putting your fingers in a circle to indicate O.K. may confuse a variety of peop

ABC.....no KBC of Globalization Testi

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 92/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Which feature of Internationaliz

Supporting characters from diff

A. Multilingual userinterface

B. LocalizabilityC. UnicodeD. None of the abovC. Unicode

ABC.....no KBC of Globalization Testi

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 94/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Pseudo-Translation Technique cwhich I18N feature?

A. Multilingual userinterface

B. LocalizabilityC. UnicodeD. None of the abov

B. Localizability

ABC.....no KBC of Globalization Testi

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 95/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Having a consistent Locale modof which I18N feature ?

A. Multilingual userinterface

B. Locale AwarenesC. UnicodeD. None of the abov

B. Locale Awareness

ABC.....no KBC of Globalization Testi

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 96/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Using text in Graphics is

A. Good PracticeB. Not a Good PractC. Does not matterD. Should not matte

B. Not a Good Pract

ABC.....no KBC of Globalization Testi

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 97/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Input Method Editors (IME) are thof inputting text in which langua

A. Only EuropeanB. Mostly USC. Mostly AsianD. Only MexicoC. Mostly Asian

ABC.....no KBC of Globalization Testi

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 98/158

Click to edit Master subtitle style

Citrix Confidential © 2008

I18N feature by means of which functionally behave the same ac

supported languages.

A. Locale awarenessB. LocalizabilityC. UnicodeD. Single base binarD. Single base binar

ABC.....no KBC of Globalization Testi

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 99/158

Click to edit Master subtitle style

Citrix Confidential © 2008

GUI 30 percent rule is applicableof Globalization ?

A. Locale awarenessB. LocalizabilityC. UnicodeD. None of the abov

B. Localizability

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 100/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Part-3: Globalization Test Planning- Finer

#1. When is the ideal time to start Globaliz

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 101/158

Click to edit Master subtitle style

Citrix Confidential © 2008

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 102/158

Click to edit Master subtitle style

Citrix Confidential © 2008

#2. What does a typical Globalization Process

Globalization Process- A Bird’s Eye view

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 103/158

Click to edit Master subtitle style

Citrix Confidential © 2008

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 104/158

Click to edit Master subtitle style

Citrix Confidential © 2008

#3. Globalization Assessment- The Why a

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 105/158

Click to edit Master subtitle style

Citrix Confidential © 2008

#4. Globalization Testing- How much is to

Globalization test optimization

Core (English)Test Project Size

Relative Test Project Sizes

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 106/158

Citrix Confidential - Do Not Distribute

 – Re-use and product tea

 – Use matricelanguage an

Citrix Confidential - Do Nots r u e

Double byte language group Single byte language group

JA SC TC KO DE FR ES RU

Test Case A ✔ ✔

Test Case B✔ ✔

Test Case C✔ ✔

Test Case D✔ ✔

Test Case E✔ ✔

25% 60% 15%

~1/3 size of EN

Test Project Size

Globalization

Test Project Size

L10N (UI) Testing

New Feature/Function I1

I18N Regression Testing

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 107/158

Click to edit Master subtitle style

Citrix Confidential © 2008

#5. Localized Test data planning- Finer

Why is Localized Test data planning challengi

• Complexity involving the test data across many languages.

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 108/158

Citrix Confidential - Do Not Distribute

• Each language in-turn may consist of literally many writing systems.• Different Languages can literally consist of thousands of characters leading t

choice.• Unicode can store data differently (UTF-8, UTF-16 etc.) which can add anot

complexity.• Localized test data depending upon the encoding being used may end up in v• The Localized data can be inputted using different means.

Why is Euro Language test data different than

• # of Characters: Asian Languages like Japanese, Chinese and Korean literallyth d f h t th th i “E li h lik ” E l

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 109/158

Citrix Confidential - Do Not DistributeCitrix Confidential - Do Nots r u e

thousands of characters than their more “English-like” European languages.• # of different Writing Systems: Asian Languages usually constitute of many W

as against “less complex” European languages.• Presence of Symbols: Asian Languages has the presence of more “Symbols”

used along with other characters.• Variety of Input modes: Asian languages makes use of Input method editors a

commonly used methods.

Language specific Test data- An Approach

• Generating the Classes of test data

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 110/158

Citrix Confidential - Do Not DistributeCitrix Confidential - Do Nots r u e

Example- Spanish Test data- Classes• Capitals:

Á, É, Í, Ó,Ú,Ñ,Ü (commas are only used as separators)

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 111/158

Citrix Confidential - Do Not DistributeCitrix Confidential - Do Nots r u e

, , , , , , ( y p )

Lower case:á,é,í,ó,ú,ñ,ü

Punctuation:¿,¡,º,ª,«,»,€:

Special Spanish representations:HTML entity codes (HTML entity codes are the codes which allow browsers and screen readers to process data as thlanguage) e.g. for the character á, the HTML entity code is “á”

English Lower case characters:a-z

English Upper case characters:

A-ZNumeric representations:1,2,3,4....

Special characters (EN):~`!@#$%^&*()_+-={}[]|\:;"'<,>.?/

Other Important Considerations

• Bytes vs Characters discussion

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 112/158

Citrix Confidential - Do Not DistributeCitrix Confidential - Do Nots r u e

• A Short demo- String Decoder (Available at-http://www.testingmentor.com/tools/generaltools.htm)

• Learnings:

• Take into Account # of bytes your test data is using based on Encoding used.consideration in deciding Boundary value tests

• Also Account for different ways the data can be inputted- Character maps, C

Localized Keyboards etc.• Keep varying the Test data in every cycle of testing.

Creation of Input field sheet- A good practice

• An Example

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 113/158

Citrix Confidential - Do Not DistributeCitrix Confidential - Do Nots r u e

Accessing and using Character Map

• An Example

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 114/158

Citrix Confidential - Do Not DistributeCitrix Confidential - Do Nots r u e

Japanese Language Fundamentals• The Japanese writing system is totally different from English, because it does

alphabets.

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 115/158

Click to edit Master subtitle style

Citrix Confidential © 2008

• The modern Japanese writing system uses three main scripts: Kanji, HiraganKatakana

• Kanji is nothing but the Ideographs from Chinese characters.

• Roughly speaking, Kanji represents blocks of meaning (nouns, stems of adjverbs) and hiragana expresses the grammatical relationship between themadjectives and verbs, particles). Katakana is used for foreign names, the nforeign places and words of foreign origin.

Japanese Language Fundamentals• Here is an example of a newspaper headline (from the Asahi Shimbun on 19 A

uses all the scripts: (kanji (red), hiragana (blue), katakana (green)

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 116/158

Click to edit Master subtitle style

Citrix Confidential © 2008

ラドクリフ、マラソン五輪代表に 1万m出場にも含み

The same headline, transliterated to the Latin alphabet:Radokurifu, Marason  gorin daihyō ni ichi-man mētoru shutsujō ni mo  fukum

• The same headline, translated to English:

"Radcliffe to compete in Olympic marathon, also implied to appear in the 10,

Input Japanese characters using IME• IME- Input Method Editors

• When an operating system is prepared for use in East Asia it always has one

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 117/158

Click to edit Master subtitle style

Citrix Confidential © 2008

• When an operating system is prepared for use in East Asia, it always has one built in, to make it practical for users to input their characters. However, apsometimes provide their own input methods as well, which may provide alter

strategies or which may be better suited to that particular application.

Input Japanese characters using IME- Hira

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 118/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Input Japanese characters using IME- Kata

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 119/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Input Japanese characters using IME- Kan

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 120/158

Click to edit Master subtitle style

Citrix Confidential © 2008

More exercises at-• http://www.coscom.co.jp/learnjapanese801/howtotypejapanese.html

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 121/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Understanding some Problematic characters

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 122/158

Citrix Confidential - Do Not DistributeCitrix Confidential - Do Nots r u e

ASCII Byte code Character set Characters Alt/IME type input

 \ 5C S-JIS表、能、十、暴、貼、申、ソ

hyou, nou, juu, baku, chou,shin, so

~ 7E S-JIS円、樫、救、鯨、降、欲、ミ

en, kashi, kyuu, kujira, kou,yoku, mi

^ 5E S-JIS 運、蛙、疑、タ un, kaeru, gi,seki@ 40 S-JIS 鼻 hana[ 5B S-JIS 票 hyou

] 5D S-JIS 評 hyou| 7C S-JIS 怖 fu{ 7B S-JIS 府 fu} 7D S-JIS 扶 fuunknown

9870,936B,8367 S-JIS 湾、徒、ト wan, to, to

Some Conclusions around Localized Test data• Categorize Language specific Test data based on characters as much as po• Ensure to pay a special consideration to Byte and Character nuances.• Ensure to utilize all possible ways of Inputting while testing an Application

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 123/158

Click to edit Master subtitle style

Citrix Confidential © 2008

p y p g g pp• Ensure to be aware of historical problematic test data across the language

Problematic test data should be used keeping proper context in mind.• Encorporate Test data Randomization to ensure that adequate mix of test

tested.• Imbibing variability in Localized test data is key to success in Globalization

ABC.....no KBC of Globalization Testi

Kanji, Hiragana and Katakana aret t i i t hi h l

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 124/158

Click to edit Master subtitle style

Citrix Confidential © 2008

systems pertaining to which lang

A. Traditional ChineB. KoreanC. Simplified ChinesD. JapaneseD. Japanese

ABC.....no KBC of Globalization Testi

Character Maps and IME and the

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 125/158

Click to edit Master subtitle style

Citrix Confidential © 2008

A. Input test dataB. Used only for Eur

languagesC. All of the aboveD. None of the abov

A. Input test data

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 126/158

Click to edit Master subtitle style

Citrix Confidential © 2008

 Part-3: Uncovering myths about Globalization

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 127/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Myth# 1- It is not possible to find the Localbugs before actual translation takes pla

80%

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 128/158

Click to edit Master subtitle style

Citrix Confidential © 2008

80%

Text Truncation

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 129/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Control Overlapping

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 131/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Issues to look for :

Pseudo translated text = “[Лаз ÜÝß Ènãblê Sèssìón rèl îàb î l î ty ЙЦУ

Hardcoding: “Enable Session reliability” 

Probable Truncation : “[Лаз ÜÝß Ènãblê Sèssìón rèl îàb î l î ty ” 

Character Corruption :“[||аз ÜÝß Ènãblê Sèssìón rèl îàb î l î ty |

Pseudo Translation – In Action

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 132/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Pseudo Translate

Quick demo• World Ready Application• Pseudo Translation example

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 133/158

Click to edit Master subtitle style

Citrix Confidential © 2008

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 134/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Myth# 2 -Security Testing is from Mars aGlobalization testing is from Venus

• Threats to International ApplicationsVisual ThreatsNon Visual threats

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 136/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Myth# 3- Globalization testing is only about the UI

Unicode Clean

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 137/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Hard coding

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 138/158

Click to edit Master subtitle style

Citrix Confidential © 2008

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 139/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Myth# 4- If a test case works fine in Frelanguage, it will work fine in German langu

well

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 140/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Myth# 5 - A person who doesn't know Frecannot test the French version of the Soft

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 141/158

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 142/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Myth# 7 - Testing International applications"Microsoft's MUI (Multilingual User Interfaceor "Localized OS installation" means one an

same thing

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 143/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Myth# 8 -The language verification of UInterface can be done by comparing the tescreen with translation outputs of any fr

available Online translator.

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 144/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Myth# 9 - The test scripts meant for Englanguage automated tests cannot be reuseInternationalization testing

M th 10 If th F i t t i t i li

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 145/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Myth 10: If the Foreign text input in applictext fields work fine by using the Soft keys,means the data input through respective F

language key board would also work fin

M th 11 Gl b li ti t ti d 't

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 146/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Myth 11: Globalization testing doesn't requsame test setup as is required to do the

language testing. Globalization testing can bwith a minimum test setup.

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 147/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Myth 12: There is no use testing the Engversion of a product on Localized Operasystems

ABC.....no KBC of Globalization Testi

Testing the international applicaMicrosoft MUI and Localized OS imeans one and the same thing ?

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 148/158

Click to edit Master subtitle style

Citrix Confidential © 2008

means one and the same thing ?

A. YesB. NoC. All of the aboveD. None of the abov

B. No

ABC.....no KBC of Globalization Testi

Security Testing and Globalizatiointersection ?

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 149/158

Click to edit Master subtitle style

Citrix Confidential © 2008

A. YesB. This statement is

trueC. All of the aboveD. None of the abov

B. This statement istrue

?

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 150/158

Click to edit Master subtitle style

Citrix Confidential © 2008

?

References• http://msdn.microsoft.com/hi-in/goglobal/dd218459(en-us).aspx?ppud=4#FundamentalconceptsofMUI

• http://www.unicode.org

• http://www.testingmentor.com/imtesty/

• http://www.4freeessays.com/essays/1848.shtml

• http://anujmagazine.blogspot.com

• http://japanese.about.com/od/introductoryjapaneselesso/a/blank3.htm

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 151/158

Click to edit Master subtitle style

Citrix Confidential © 2008

http://japanese.about.com/od/introductoryjapaneselesso/a/blank3.htm

• http://en.wikipedia.org/wiki/Japanese_writing_system

• http://msdn.microsoft.com/en-us/goglobal/bb688135

• http://www.coscom.co.jp/learnjapanese801/howtotypejapanese.htm

• http://www.coscom.co.jp/learnjapanese801/howtotypejapanese.html

• http://blog2best.blogspot.com

• Microsoft PPT- Windows 7 PC52 PPT

• http://channel9.msdn.com/blogs/pdc2008/pc52

• Experience and Anecdotes from real-life experience in my current (Citrix) and past Organizations (McAfee).

Books: The World is Flat by Thomas Friedman

Thank youMerciDanke

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 152/158

Click to edit Master subtitle style

Citrix Confidential © 2008

ありがとうございました謝謝您감사합니다

[email protected]://anujmagazine.blogspot.com

http://handwritinganalyst.blogspot.com

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 153/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Back-up Slides

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 154/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Internationalization in Microsoft Windo

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 155/158

Click to edit Master subtitle style

Citrix Confidential © 2008

Till Windows Vista

Before Windows Vista• MUI technology introduced with Win 2K

• Win 2K MUI PackL li ti 90%

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 156/158

Citrix Confidential - Do Not DistributeCitrix Confidential - Do Nots r u e

Source: http://msdn.microsoft.com/hi-in/goglobal/dd218459(en-us).aspx?ppud=4#FundamentalconceptsofMUI,http://technet.microsoft.com/en-us/library/cc721887(WS.10).aspx

 – Localization coverage ~ 90% – Many visible UI strings in English e.g. Start Menu – Files and folder created during setup in English

Before Windows Vista• Win XP MUI Pack

 – Available for both Win 32 and Win 64 – Contains 6 CDs (Win XP EN + 5 MUI Pack localized resources and muisetup pr – Install English version first and then the MUI pack

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 157/158

Citrix Confidential - Do Not DistributeCitrix Confidential - Do Nots r u e

Source: http://msdn.microsoft.com/hi-in/goglobal/dd218459(en-us).aspx?ppud=4#FundamentalconceptsofMUI,http://technet.microsoft.com/en-us/library/cc721887(WS.10).aspx

Install English version first and then the MUI pack

• Win 9X, Win ME, Win XP Home – Windows Platforms do not support MUI

Windows Vista and Beyond• Please check MUI Information.xlsx for more information

8/4/2019 STEPin- Hyderabad Globalization Testing Demystified

http://slidepdf.com/reader/full/stepin-hyderabad-globalization-testing-demystified 158/158

Citrix Confidential - Do Not DistributeCitrix Confidential - Do Nots r u e