Skip to Content
Product Information
Author's profile photo Tobias Meinzer

Automated Translation of Test Cases with Focused Build Test Steps

Introduction

With Focused Build Test Steps, designing and executing manual tests with SAP Solution Manager is simplified and accelerated. Many features like content-driven test case design, guided test execution or in-depth reporting capabilities enable a testing experience which was not possible before in SAP Solution Manager.

In one of my previous blog posts I gave an overview on the most important capabilities & features of Focused Build – Test Steps. In this article I want to focus on how to work with multi-lingual Test Cases in an international business environment.

Multilingual test cases are supported since the very first release of Focused Build Test Steps. For instance, test engineers can start creating a test case with Test Steps Designer in English. Afterwards, they can switch to German and proceed with the translation. The test case is then available for testers in multiple languages during test execution.

However, the translation is still manual and therefore also time consuming.

With Focused Build SP03 an Automated Translation API for Test Steps is introduced! This aids the user during test case design and significantly accelerates the creation of multilingual test cases. Automated translations can be processed by calling external translation services. You can integrate services offered by your own organization or by external providers like SAP.

In the Video below, we demonstrate the workflow for the test engineer to perform a translation with Test Steps Designer:

Prerequisites to use Automated Translation for Test Steps

Before you can perform an automated translation of your test cases in Focused Build Test Steps Designer, you need to decide for an external translation service. For instance, SAP offers the SAP Translation Hub with a machine translation into 39 different languages.

Afterwards you need to follow the configuration steps as described in the respective chapter of the Focused Build Configuration Guide for SP03.

Now you’re done and ready to use automated translations of your Test Cases with Test Steps Designer! As soon as you switch to a language which is not maintained yet, you will find the Perform Translation function in Test Steps Designer. Pressing the link will immediately perform the translation into the selected target language and return the translated test case on the screen. It is as easy as it could be!

Monetary Benefits when using Automated Translations API

Besides the obvious benefits for your test engineers when applying an automated translation, you might also recognize significant monetary benefits. In the following sample calculation, I will compare the machine translation offering by SAP with a manual translation of 100 Test Cases. For each Test Case I assume 20 Steps which leads to an average amount of approx. 1000 translatable characters per Test Case.

Using SAP Translation Hub (subscription model), the translation of 100 Test Cases would cost only 2,82 €. That would be significantly cheaper compared to approx. 2000 € you would have to afford for a manual translation.

Relative cost savings in this example: 99,85%

Further Support by SAP Language Service Partners

While machine translations by SAP are continuously improved, there is still the need to review the translated results. Especially when using the machine translation for masses of test cases this might generate some additional effort. If you need further support to review the translation proposals you can contact the SAP Language Service Partners (see general description of their services and a list of those partners).

Update Notes:

2 April 2020: The blog article was adjusted due to changes to service offerings by SAP in the area of machine translation.

2 September 2021: the price model for SAP Translation Hub was adjusted. Hence the calculation in this blog article was revised.

Assigned Tags

      4 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Gregor Wolf
      Gregor Wolf

      Hi Tobias,

      in the video you show how the user can manually trigger the creation of the translation. Is there also a possibility to trigger the translation of all missing translations for all Test Steps?

      Best Regards
      Gregor

      Author's profile photo Tobias Meinzer
      Tobias Meinzer
      Blog Post Author

      Hi Gregor,

      in Test Steps Designer you also have mass change capabilities: bottom-left you find a button called "Mass Update Test Cases". This functionality allows you to select any number of test cases and perform operations such as changing attributes but also translating contents automatically as described above in this blog.

      Best regards
      Tobias

      Author's profile photo Andre Freiburghaus
      Andre Freiburghaus

      Hi Tobias,

      to test the functionality we were trying to use Document Translation Service instead of SAP Translation HUB to avoid any costs before we even know that it serves our purpose.

      Is it even feasible to use that Service in order to translate test steps?

      We are using Focused build Configuration Guide for SP9 --> https://help.sap.com/doc/59abbad28d5343f38faff834d641ecaa/290/en-US/FocusedBuild_ConfigGuide_900.pdf

      In Chapter "12.17.8 Enabling Machine Translation API" we are struggling with step 6 to even Build the BASE URL.

      Best Regards,

      André

      Author's profile photo Tobias Meinzer
      Tobias Meinzer
      Blog Post Author

      Hello André,

      the document translation service is not designed to translate Test Steps contents but "physical" documents like Microsoft Word, Adobe PDFs, etc.

      To avoid any costs, you can use the API sandbox:

      https://api.sap.com/api/translationhub/tryout

      Please have a look here for further details on how to build the base url:

      https://help.sap.com/docs/SAP_TRANSLATION_HUB/ed6ce7a29bdd42169f5f0d7868bce6eb/3a011fba82644259a2cc3c919863f4b4.html

      I hope this helps.

      Best regards
      Tobias