Advice on test automation approach

Hey all,
I needed some advice on my teams test automated approach.

Some context, our UK based web application is going to be pushed out to Italy and Portugal over the next 6-8 months.

It will be the same code base across multiple regions with translations configured via locale and feature toggles.

Our test automation effort is in it’s early days with 5 core flows in our uk app, what would you advise on as to best approaches structuring the framework to run across different regions, with different features enabled/disabled via feature toggles.

1 Like

Hello,

The question is very Wider and deeper to explain but I would like to explain you in short term. The main purpose of test automation is improve test coverage and the value of test process which automatically improve the software quality.

So Before start with automation testing, You can consider below points to improve your result.

1- Identify the test cases which are helpful for automation testing
2- Consider test automation for better quality not for better or faster product delivery.
3- Don’t Mix up Automation and Manual testing teams
4-Ensure your User Interface is Fixed
5-Simulating a Large Number of Users
6- and the most important focus on Test Requirement

Wait, For further details You can also refer this article: Things to Know Before Performing Automation Testing

1 Like

Localization is usually determined by flags in the back calls:

That being said, you can:

  • On the frontend automated checks:

    • Verify that the frontend app calls the endpoints with the correct localization parameters;
    • Verify that the frontend displays whatever text is returned by the services you mocked.
  • On the backend automated checks:

    • Verify that the controllers and interactors deal correctly with the localization parameters.

On both sides, simple unit tests (and contract tests for integration) should do the job; you probably won’t need a complete system for these checks.

Note: If your frontend is making decisions regarding localization, I would suggest reconsidering your architecture, because the web is a detail.

2 Likes

This post was flagged by the community and is temporarily hidden.