简体   繁体   中英

Multiple languages of website testing automation

How I can do verification for different language of website using testing automation tools selenium.... Example If the application have title page (apps on Google play), I do verification by this title in selenium but if I want to do verification in spain or French language how !!

Automation of different languages can be tiresome.

One way to do is to have different translations in a datafile(config.properties) and compare based on the language user has logged-in.

For Eg:

Fr_txt: Bienvenue

Sp_txt: Bienvenido/a

These translations has to maintained and updated if changed.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM