Gherkin Keywords in Native Languages

Applies to TestComplete 15.70, last modified on December 17, 2024

About

In TestComplete, you can create and automate BDD tests that use Gherkin keywords in native languages.

You specify a language for the entire feature file. You do this in a comment at the beginning of the file, before the line with the Feature: keyword. The comment should have a special format that includes the two-character code of the language. For instance, to use German Gherkin keywords, you use a comment like this:

JavaScript, JScript

// language: ge

Feature: ...

Python

# language: ge

Feature: ...

VBScript

' language: ge

Feature: ...

DelphiScript

// DelphiScript doesn’t support BDD.

C++Script, C#Script

// language: ge

Feature: ...

Each feature file can have keywords in one language only (for example, only in English, only in German, only in French, and so on). A TestComplete project can have feature files that use Gherkin keywords in different languages.

Below is a list of the supported languages, keywords and language codes.

Keywords

Afrikaans (Afrikaans)

Arabic (العربية)

Aragonese (Aragonés)

Armenian (հայերեն)

Asturian (asturianu)

Australian (Australian)

Azerbaijani (Azərbaycanca)

Bosnian (Bosanski)

Bulgarian (български)

Catalan (català)

Chinese simplified (简体中文)

Chinese traditional (繁體中文)

Creole (kreyòl)

Croatian (hrvatski)

Czech (Česky)

Danish (dansk)

Dutch (Nederlands)

English (English)

Esperanto (Esperanto)

Estonian (eesti keel)

Finnish (suomi)

French (français)

Galician (galego)

Georgian (ქართველი)

German (Deutsch)

Greek (Ελληνικά)

Gujarati (ગુજરાતી)

Hebrew (עברית)

Hindi (हिंदी)

Hungarian (magyar)

Icelandic (Íslenska)

Indonesian (Bahasa Indonesia)

Irish (Gaeilge)

Italian (italiano)

Japanese (日本語)

Javanese (Basa Jawa)

Kannada (ಕನ್ನಡ)

Klingon (tlhIngan)

Korean (한국어)

Latvian (latviešu)

Lithuanian (lietuvių kalba)

LOLCAT (LOLCAT)

Luxemburgish (Lëtzebuergesch)

Macedonian (Македонски)

Macedonian (Latin) (Makedonski (Latinica))

Malay (Bahasa Melayu)

Mongolian (монгол)

Norwegian (norsk)

Old English (Englisc)

Panjabi (ਪੰਜਾਬੀ)

Persian (فارسی)

Pirate (Pirate)

Polish (polski)

Portuguese (português)

Romanian (română)

Russian (русский)

Scouse (Scouse)

Serbian (Српски)

Serbian (Latin) (Srpski (Latinica))

Slovak (Slovensky)

Slovenian (Slovenski)

Spanish (español)

Swedish (Svenska)

Tamil (தமிழ்)

Tatar (Татарча)

Telugu (తెలుగు)

Thai (ไทย)

Turkish (Türkçe)

Ukrainian (Українська)

Urdu (اردو)

Uzbek (Узбекча)

Vietnamese (Tiếng Việt)

Welsh (Cymraeg)

Highlight search results