Rapid implementation of reusable automated testing in translation verification tests using the Selenium IDE

Source: Internet
Author: User
Tags prepare time interval

Overview

Translation verification test means that after the product integrates the translation document, the professional translator examines whether the translation is accurate in the context of the product and whether it is convenient for the end user to understand and use. Taking into account the proficiency and cost of the translator's product operations, the product department usually provides a screenshot of the language to the translator for inspection. The test of Software Product translation verification is very important to improve the satisfaction of the language users and to bring the products to the international market better. However, for the following reasons, screenshots of the translation validation tests are often not easy to automate:

In order to release the product as soon as possible, the time interval between the translation entering the product and the final release of the product is usually very short, which limits the time for the automated script preparation and execution of the translation verification test;

Automated scripts based on language products often rely on existing translations that can change in each release, greatly increasing the volatility of automated script execution;

Translation validation testing focuses on new or changing features that are inherently unstable and prepare automated scripts for them, increasing the cost of modification and maintenance;

Also because the translation verification tests focus on new or changing features, the previously prepared automated scripts are not easily reused;

As we can see from the above introduction, it is not appropriate to prepare powerful automated tests for translation validation tests. However, translation testing needs to be repeated over multiple languages (usually at least 20 + languages), with the same steps and the need for automated methods to improve efficiency. Is there a lightweight automated approach that can be used to translate validation tests? For web-based applications, the answer is yes. The good test framework combines Selenium IDE scripts to easily achieve this goal.

Layered Testing Framework

Before introducing the layered test framework, we will first describe the relationship between the test suite and the test script (testing case) in the Selenium IDE. The test script contains a variety of operational commands, as well as command-related target objects and parameters, which are the smallest unit of complete testing in the Selenium IDE. A test component is a collection of multiple test scripts that run a test component that can run multiple test scripts that it contains continuously. Figure 1 shows the diagram between the test components and the test scripts in the Selenium IDE.

Figure 1. Selenium the relationship between test components and test scripts in the IDE

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.