Skip to main content

i18n tool for RF web testing

Project description

Internationalization Testing (i18n)

Library for Robot Framework automated web testing which support internationalization.

Introduction

In the past, the test object of one acceptance test script based on Robot Framework was often limited to web page in one language. However, nowadays a web page may have multiple language versions for people live in different countries. Therefore, tester often need to write more repetitive test scripts, and the cost of testing will also increase.

So this library can allow a same test script run on different languages' websites.

By the way, this is the 2nd version of i18n. See my repository.

If you want see the 1st version,please go to ChuGP's repository.

Installation

  • With pip

    pip install RF-i18n-tool

See more detail on RF-i18n-tool of PYPI.

How to use

  • Set Additional Robot Framework arguments: (RED->Window->Preferences->Default Launch Configurations)

If you want to use the i18n default JSON language files:

-d out -L debug --listener %YOUR_PYTHON_PATH%/Lib/site-packages/i18n/listeners/I18nListener.py:YOUR_LOCALE:i18njson

Else if you want to use your own JSON language files:

-d out -L debug --listener %YOUR_PYTHON_PATH%/Lib/site-packages/i18n/listeners/I18nListener.py:YOUR_LOCALE
  • note:

Your language files should follow the structure:

YOUR_PROJECT_DIR/languageFiles/YOUR_LOCALE(ex:zh-TW)/xxxYOUR_LOCALE.json

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

RF-i18n-tool-1.0.0.tar.gz (22.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

RF_i18n_tool-1.0.0-py3-none-any.whl (56.0 kB view details)

Uploaded Python 3

File details

Details for the file RF-i18n-tool-1.0.0.tar.gz.

File metadata

  • Download URL: RF-i18n-tool-1.0.0.tar.gz
  • Upload date:
  • Size: 22.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.6.0

File hashes

Hashes for RF-i18n-tool-1.0.0.tar.gz
Algorithm Hash digest
SHA256 613b110fb5b793a6c5ad1ab637cc1df8cb686d3084483ea270e674fdcb33cf27
MD5 f6d03ee6eb759a015b2f5baef39bdafc
BLAKE2b-256 a956bca8762c6a3db9d5ba0751e344839e694ec77558074b6619d4a7ba2f74b3

See more details on using hashes here.

File details

Details for the file RF_i18n_tool-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: RF_i18n_tool-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 56.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.6.0

File hashes

Hashes for RF_i18n_tool-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 90205edf293246341135d4ec36232308f9e1b51d62b2b4ace84afaa9e49727e4
MD5 21f8f899a3dbfa083c3d707c91d35562
BLAKE2b-256 e8adda4d19e25c266f470aa163047f64aa5d0e560ecd0a47bb9003b41b55a3d1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page