May 15, 2015
2
Internationalization Test Approach
Keywords: Test Automation, HP QuickTest Professional, Globalization Testing, Localization Testing, Test Approach, I18N, L10N
Date : May 09, 2012
Venue : Bangalore, INDIA
Speaker: NaveenKumar Namachivayam, Infosys Limited, Mysore, INDIA
Email: [email protected]
Abstract
3
• WWW (World Wide Web) is a platform for electronic-commerce, to share knowledge, social networking, online entrepreneurship and other information.
• Quality Assurance plays an extremely important role in delivering a product and also contributes significantly on the time to market aspect.
• Manual Testing of multilingual websites (as well as any other kind of applications) is time and resource consuming, whereas Automation Testing is one of the arenas which saves time and effort, increases accuracy, efficiency and repeatability for effective testing.
• This presentation addresses different approaches to automate multilingual websites, which would help us determine the model that best suits the business organization requirements and needs.
Agenda
• An Overview - Internationalization/Localization/Globalization
• Challenges in Testing Multilingual Applications
• Multilingual Testing Strategy
• Test Automation Approach for Multilingual applications
• Discussion on Case Studies
• Conclusion and Benefits
4
An Overview - Internationalization/Localization/Globalization
• Internationalization or I18N is deploying products and services in different languages and locales across the globe without any redesign.
• Localization or L10N is the process of transforming the products/services for a particular region/market.
• Translation plays a critical role in L10N. Ensures the products/services have aligned with locale such as Date, Time zone, Currency, Holidays, Character Encoding and Linguistic. As
• Localization testing involves primarily on translation and is worthy to have multi-linguistics experts in place.
• Globalization Testing ensures whether the products/services deployed is properly functioning for any selected culture/locale
5
Major Organizations’ Internationalized Websites
6
Websites screenshots from Google, Ferrari, HP and Apple
Associations which promotes Internationalization
7
Logos from W3C, GALA and LISA
8
Challenges in testing multilingual applications
• As of Dec 2011, there are 121 millions of users in India accessing internet.
• 59% people accessing internet via mobiles.
• 10% increase in Internet usage boosts the Gross Domestic Product (GDP) by 1.08 per cent.
• India is a largest democracy country in the world where 30 languages are spoken by millions native people and 122 languages spoken by more than the 10,000 people and 2371 dialects.
• India is a multilingual country with 22 official languages and 12 scripts.
• Joint report by Indian Council for Research on International Economic Relations (ICRIER), The Internet and Mobile Association of India (IAMAI) and the Department of IT http://www.business-standard.com/india/news/internet-penetration-to-boost-indias-gdp/462368/
10% Internet U
sage
boosts1.08% GDP
9
Challenges in testing multilingual applications
• Major challenge is TRANSLATION
• Styling, Indents, Line Spaces and Alignment (Vertical and Horizontal) Issues
• Underlining characters in mantras/slogans
• Bullets and Numbering formats
• Browsers Compatibility
Websites screenshots from TDIL
10
Multilingual Testing Strategy
Test Environment Setup
• Microsoft Language packs
Application Under Test Study
• Unicode compliant• Multi-byte characters
Test Case Design• User Interface• Input/Outputs
11
Test Automation alternative approaches for multilingual applications
• Testing multilingual application manually is time and resource consuming.
• QA team should consist of technical and multilingual experts in a proper ratio.
Images from mediarunsearch.co.uk, fingerinallthepies.blogspot.com and naveenkumarn.in
12
Test Automation alternative approaches for multilingual applications
Implementing multiple ORs
Implementing Switch statement
Implementing Custom Dictionary
Implementing Descriptive Programming/Regular Expressions
1313
Discussion on Case Studies
Websites screenshots from Google and HP
14
Discussion on Case Studies - Google.com and Google France
Google Search button properties using Object Spy in QTP
Recherché Google button properties using Object Spy in QTP
Browser Internet Explorer 6
15
Discussion on Case Studies - Google.com and Google France
Google Search button identification using QTP in IE 8
16
Discussion on Case Studies - HP India and HP France
Object Properties of Support & Drivers link
Object Properties of Support et Pilotes link
Browser Internet Explorer 6
17
Discussion on Case Studies - HP India and HP France
Additional Properties of Support et Pilotes link
Additional Properties of Support & Drivers link
Browser Internet Explorer 6
18
Conclusion
Descriptive Programming
Optimized Object
Repository
I18N Test Automation
19
Benefits
Technology
Process
People
People• Increase in
Client Value• Cost Savings• Test Automation
expertise• Minimum
support from Multilingual experts
Process• Leads to
Innovation• Faster Time-to-
market
Technology• Utilization of
Testing Tools• Less effort on
rework and maintenance
20
Questions?
Vrae?
أسئلة؟有问题吗?
Soalan?
கே�ள்வி��ள்?Sorular?
Preguntes?
Zalantzak dituzu?
सवा�ल?
Haben Sie Fragen?
21
Thank you
teşekkür ederim
شكرا谢谢
falemnderit
நன்றி
Eskerrik asko
Danke
благодаря
शु�क्रि�या�
Þakka þér
About InfosysMany of the world’s most successful organizations rely on Infosys to deliver measurable business value. Infosys provides business consulting, technology, engineering and outsourcing services to help clients in over 30 countries build tomorrow’s enterprise.
For more information about Infosys (NASDAQ:INFY), visit www.infosys.com.
For more information, contact [email protected] www.infosys.com
22
www.infosys.comThe contents of this document are proprietary and confidential to Infosys Limited and may not be disclosed in whole or in part at any time, to any third party without the prior written consent of Infosys Limited.
© 2012 Infosys Limited. All rights reserved. Copyright in the whole and any part of this document belongs to Infosys Limited. This work may not be used, sold, transferred, adapted, abridged, copied or reproduced in whole or in part, in any manner or form, or in any media, without the prior written consent of Infosys Limited.