The Easy Way To Internationalize Your Test Automation


A test automation suite can become a nightmare.

Automated tests tend to entropy. They either accumulate too much complexity or duplication making them hardly understandable and maintainable. This situation can become a true bottleneck to the company’s growth.

Digital businesses need the capability to expand rapidly internationally. Their expansion in different countries must be delivered with Quality at Speed to capture markets on time. In that context, test automation cannot be the limiting factor.

Test automation can support business acceleration. In this article, we share an easy way to expand your existing test suite for multiple countries. We will go through structured steps to build scalable foundations with Cerberus Testing.

The first thing is to know the testing scope.

Identify the necessary environments 

The internationalization of software aims to offer the product in new geographical areas. It means that the product must handle a set of local specificities such as languages, currencies, delivery, or payment methods.

The user experience will therefore evolve to handle these specificities. Usually, the core of the application remains the same while specific behaviours are added for each localization need. Our first step is to define the list of countries in Cerberus Testing.

This configuration will enable our tests to run in a set of specific conditions such as the environment, context and properties. You can customize this list as you want in the “Invariants” administration menu.

We can now have a look at the user experience internationalization.

Identify stable and variable elements

The behaviour of the product will vary depending on the level of specificity of a particular country. Identifying these differences is necessary to define the stable and variable elements of the user experience.

Take the login page for instance. It usually provides a username and password field whatever the context. Then, the language is adapted and social login options can be different per country.

We can align the test design based on that analysis. Tests that have a similar structure can be unique and configured for the required countries. More specific tests are usually isolated to avoid cascading their complexity over the other tests.

We can now move to the implementation.

Ensure the reliability of stable elements

We start by validating the core elements that will be reused in the other tests. This enables us to guarantee our foundations are solid. We can ensure that with a step library and an application object.

The step library enables you to implement modular testing. A step contains a set of actions and controls that you add inside the library. From there, any tests can include your reusable step. This approach improves maintainability for internationalization.

We can then complement our approach with application objects. This library of components enables you to centralize reusable elements in a single place. The objects can then be referenced in your different tests, improving their maintainability.

Our foundations being ready, we can now tackle the specificities.

Add the necessary dynamic properties

The variable elements of the user experience need to be configured somewhere. In Cerberus Testing, you can rely on the notion of “Property” to decline parameters per country.

The first step is to configure your tests on the identified countries. You can do that by opening the Test Case Header to then check the countries in scope. The below list is retrieved from your invariants configuration you can adapt anytime.

We can now configure the different properties for each selected country. Our work of test design enables us to focus on one thing at a time. Your only concern at that stage is to configure the specific values per country. 

Our example is about a fixed test structure but you can rely on more complex properties that are dynamically retrieved via a file, an API, or an SQL to a database. The good practice is to systematically use a property to decouple your test structure from its property. It is a key requirement to keep your tests valuable over time.

Your priority is to expand this work to support your business expansion.

Test, repeat and scale internationally

We cover how to decline automated tests in a different set of internationalization requirements. We saw that the initial analysis and design phases are essential to scale the test suite.

The investment in proper test design enables us to truly accelerate our internationalization in the short-term and long-term. We are able to rapidly add new countries to our tests, and at the same time, ensure their maintainability.

This is where proper test automation makes a difference. You are now only focusing on your tests, you are helping the business to succeed.

Stop Coding and Start Testing.

Leave a comment

Your email address will not be published. Required fields are marked *

Cerberus-Testing Terms Of Service

Website Terms and Conditions of Use

1. Terms

By accessing this Website, accessible from, you are agreeing to be bound by these Website Terms and Conditions of Use and agree that you are responsible for the agreement with any applicable local laws. If you disagree with any of these terms, you are prohibited from accessing this site. The materials contained in this Website are protected by copyright and trade mark law. These Terms of Service has been created with the help of the Terms of Service Generator and the Privacy Policy Template.

2. Use License

Permission is granted to temporarily download one copy of the materials on Cerberus Testing's Website for personal, non-commercial transitory viewing only. This is the grant of a license, not a transfer of title, and under this license you may not:

  • modify or copy the materials;
  • use the materials for any commercial purpose or for any public display;
  • attempt to reverse engineer any software contained on Cerberus Testing's Website;
  • remove any copyright or other proprietary notations from the materials; or
  • transferring the materials to another person or "mirror" the materials on any other server.

This will let Cerberus Testing to terminate upon violations of any of these restrictions. Upon termination, your viewing right will also be terminated and you should destroy any downloaded materials in your possession whether it is printed or electronic format.

3. Disclaimer

All the materials on Cerberus Testing’s Website are provided "as is". Cerberus Testing makes no warranties, may it be expressed or implied, therefore negates all other warranties. Furthermore, Cerberus Testing does not make any representations concerning the accuracy or reliability of the use of the materials on its Website or otherwise relating to such materials or any sites linked to this Website.

4. Limitations

Cerberus Testing or its suppliers will not be hold accountable for any damages that will arise with the use or inability to use the materials on Cerberus Testing’s Website, even if Cerberus Testing or an authorize representative of this Website has been notified, orally or written, of the possibility of such damage. Some jurisdiction does not allow limitations on implied warranties or limitations of liability for incidental damages, these limitations may not apply to you.

5. Revisions and Errata

The materials appearing on Cerberus Testing’s Website may include technical, typographical, or photographic errors. Cerberus Testing will not promise that any of the materials in this Website are accurate, complete, or current. Cerberus Testing may change the materials contained on its Website at any time without notice. Cerberus Testing does not make any commitment to update the materials.

6. Links

Cerberus Testing has not reviewed all of the sites linked to its Website and is not responsible for the contents of any such linked site. The presence of any link does not imply endorsement by Cerberus Testing of the site. The use of any linked website is at the user’s own risk.

7. Site Terms of Use Modifications

Cerberus Testing may revise these Terms of Use for its Website at any time without prior notice. By using this Website, you are agreeing to be bound by the current version of these Terms and Conditions of Use.

8. Your Privacy

Please read our Privacy Policy.

9. Governing Law

Any claim related to Cerberus Testing's Website shall be governed by the laws of fr without regards to its conflict of law provisions.

Thank you for your interest in cerberus,

In order to proceed with your SaaS we need some in order to confirm your instances accesses.

Please provide accurate contacts to secure the process.

You can cancel any time the subscription, please read Terms of Use.