robot.conf package

Implements settings for both test execution and output processing.

This package implements RobotSettings and RebotSettings classes used internally by the framework. There should be no need to use these classes externally.

This package can be considered relatively stable. Aforementioned classes are likely to be rewritten at some point to be more convenient to use. Instantiating them is not likely to change, though.

Submodules

robot.conf.gatherfailed module

class robot.conf.gatherfailed.GatherFailedTests[source]

Bases: robot.model.visitor.SuiteVisitor

visit_test(test)[source]

Implements traversing through tests.

Can be overridden to allow modifying the passed in test without calling start_test() or end_test() nor visiting the body of the test.

visit_keyword(kw)[source]

Implements traversing through keywords.

Can be overridden to allow modifying the passed in kw without calling start_keyword() or end_keyword() nor visiting the body of the keyword

end_body_item(item: BodyItem)

Called, by default, when keywords, messages or control structures end.

More specific end_keyword(), end_message(), :meth:`end_for, etc. can be implemented to visit only keywords, messages or specific control structures.

Default implementation does nothing.

end_break(break_: Break)

Called when a BREAK element ends.

By default, calls end_body_item() which, by default, does nothing.

end_continue(continue_: Continue)

Called when a CONTINUE element ends.

By default, calls end_body_item() which, by default, does nothing.

end_error(error: Error)

Called when a ERROR element ends.

By default, calls end_body_item() which, by default, does nothing.

end_for(for_: For)

Called when a FOR loop ends.

By default, calls end_body_item() which, by default, does nothing.

end_for_iteration(iteration: ForIteration)

Called when a FOR loop iteration ends.

By default, calls end_body_item() which, by default, does nothing.

end_if(if_: If)

Called when an IF/ELSE structure ends.

By default, calls end_body_item() which, by default, does nothing.

end_if_branch(branch: IfBranch)

Called when an IF/ELSE branch ends.

By default, calls end_body_item() which, by default, does nothing.

end_keyword(keyword: Keyword)

Called when a keyword ends.

By default, calls end_body_item() which, by default, does nothing.

end_message(message: Message)

Called when a message ends.

By default, calls end_body_item() which, by default, does nothing.

end_return(return_: Return)

Called when a RETURN element ends.

By default, calls end_body_item() which, by default, does nothing.

end_suite(suite: TestSuite)

Called when a suite ends. Default implementation does nothing.

end_test(test: TestCase)

Called when a test ends. Default implementation does nothing.

end_try(try_: Try)

Called when a TRY/EXCEPT structure ends.

By default, calls end_body_item() which, by default, does nothing.

end_try_branch(branch: TryBranch)

Called when TRY, EXCEPT, ELSE and FINALLY branches end.

By default, calls end_body_item() which, by default, does nothing.

end_while(while_: While)

Called when a WHILE loop ends.

By default, calls end_body_item() which, by default, does nothing.

end_while_iteration(iteration: WhileIteration)

Called when a WHILE loop iteration ends.

By default, calls end_body_item() which, by default, does nothing.

start_body_item(item: BodyItem) → bool|None

Called, by default, when keywords, messages or control structures start.

More specific start_keyword(), start_message(), :meth:`start_for, etc. can be implemented to visit only keywords, messages or specific control structures.

Can return explicit False to stop visiting. Default implementation does nothing.

start_break(break_: Break) → bool|None

Called when a BREAK element starts.

By default, calls start_body_item() which, by default, does nothing.

Can return explicit False to stop visiting.

start_continue(continue_: Continue) → bool|None

Called when a CONTINUE element starts.

By default, calls start_body_item() which, by default, does nothing.

Can return explicit False to stop visiting.

start_error(error: Error) → bool|None

Called when a ERROR element starts.

By default, calls start_body_item() which, by default, does nothing.

Can return explicit False to stop visiting.

start_for(for_: For) → bool|None

Called when a FOR loop starts.

By default, calls start_body_item() which, by default, does nothing.

Can return explicit False to stop visiting.

start_for_iteration(iteration: ForIteration) → bool|None

Called when a FOR loop iteration starts.

By default, calls start_body_item() which, by default, does nothing.

Can return explicit False to stop visiting.

start_if(if_: If) → bool|None

Called when an IF/ELSE structure starts.

By default, calls start_body_item() which, by default, does nothing.

Can return explicit False to stop visiting.

start_if_branch(branch: IfBranch) → bool|None

Called when an IF/ELSE branch starts.

By default, calls start_body_item() which, by default, does nothing.

Can return explicit False to stop visiting.

start_keyword(keyword: Keyword) → bool|None

Called when a keyword starts.

By default, calls start_body_item() which, by default, does nothing.

Can return explicit False to stop visiting.

start_message(message: Message) → bool|None

Called when a message starts.

By default, calls start_body_item() which, by default, does nothing.

Can return explicit False to stop visiting.

start_return(return_: Return) → bool|None

Called when a RETURN element starts.

By default, calls start_body_item() which, by default, does nothing.

Can return explicit False to stop visiting.

start_suite(suite: TestSuite) → bool|None

Called when a suite starts. Default implementation does nothing.

Can return explicit False to stop visiting.

start_test(test: TestCase) → bool|None

Called when a test starts. Default implementation does nothing.

Can return explicit False to stop visiting.

start_try(try_: Try) → bool|None

Called when a TRY/EXCEPT structure starts.

By default, calls start_body_item() which, by default, does nothing.

Can return explicit False to stop visiting.

start_try_branch(branch: TryBranch) → bool|None

Called when TRY, EXCEPT, ELSE or FINALLY branches start.

By default, calls start_body_item() which, by default, does nothing.

Can return explicit False to stop visiting.

start_while(while_: While) → bool|None

Called when a WHILE loop starts.

By default, calls start_body_item() which, by default, does nothing.

Can return explicit False to stop visiting.

start_while_iteration(iteration: WhileIteration) → bool|None

Called when a WHILE loop iteration starts.

By default, calls start_body_item() which, by default, does nothing.

Can return explicit False to stop visiting.

visit_break(break_: Break)

Visits BREAK elements.

visit_continue(continue_: Continue)

Visits CONTINUE elements.

visit_error(error: Error)

Visits body items resulting from invalid syntax.

Examples include syntax like END or ELSE in wrong place and invalid setting like [Invalid].

visit_for(for_: For)

Implements traversing through FOR loops.

Can be overridden to allow modifying the passed in for_ without calling start_for() or end_for() nor visiting body.

visit_for_iteration(iteration: ForIteration)

Implements traversing through single FOR loop iteration.

This is only used with the result side model because on the running side there are no iterations.

Can be overridden to allow modifying the passed in iteration without calling start_for_iteration() or end_for_iteration() nor visiting body.

visit_if(if_: If)

Implements traversing through IF/ELSE structures.

Notice that if_ does not have any data directly. Actual IF/ELSE branches are in its body and they are visited separately using visit_if_branch().

Can be overridden to allow modifying the passed in if_ without calling start_if() or end_if() nor visiting branches.

visit_if_branch(branch: IfBranch)

Implements traversing through single IF/ELSE branch.

Can be overridden to allow modifying the passed in branch without calling start_if_branch() or end_if_branch() nor visiting body.

visit_message(message: Message)

Implements visiting messages.

Can be overridden to allow modifying the passed in msg without calling start_message() or end_message().

visit_return(return_: Return)

Visits a RETURN elements.

visit_suite(suite: TestSuite)

Implements traversing through suites.

Can be overridden to allow modifying the passed in suite without calling start_suite() or end_suite() nor visiting child suites, tests or setup and teardown at all.

visit_try(try_: Try)

Implements traversing through TRY/EXCEPT structures.

This method is used with the TRY/EXCEPT root element. Actual TRY, EXCEPT, ELSE and FINALLY branches are visited separately using visit_try_branch().

visit_try_branch(branch: TryBranch)

Visits individual TRY, EXCEPT, ELSE and FINALLY branches.

visit_while(while_: While)

Implements traversing through WHILE loops.

Can be overridden to allow modifying the passed in while_ without calling start_while() or end_while() nor visiting body.

visit_while_iteration(iteration: WhileIteration)

Implements traversing through single WHILE loop iteration.

This is only used with the result side model because on the running side there are no iterations.

Can be overridden to allow modifying the passed in iteration without calling start_while_iteration() or end_while_iteration() nor visiting body.

class robot.conf.gatherfailed.GatherFailedSuites[source]

Bases: robot.model.visitor.SuiteVisitor

start_suite(suite)[source]

Called when a suite starts. Default implementation does nothing.

Can return explicit False to stop visiting.

visit_test(test)[source]

Implements traversing through tests.

Can be overridden to allow modifying the passed in test without calling start_test() or end_test() nor visiting the body of the test.

visit_keyword(kw)[source]

Implements traversing through keywords.

Can be overridden to allow modifying the passed in kw without calling start_keyword() or end_keyword() nor visiting the body of the keyword

end_body_item(item: BodyItem)

Called, by default, when keywords, messages or control structures end.

More specific end_keyword(), end_message(), :meth:`end_for, etc. can be implemented to visit only keywords, messages or specific control structures.

Default implementation does nothing.

end_break(break_: Break)

Called when a BREAK element ends.

By default, calls end_body_item() which, by default, does nothing.

end_continue(continue_: Continue)

Called when a CONTINUE element ends.

By default, calls end_body_item() which, by default, does nothing.

end_error(error: Error)

Called when a ERROR element ends.

By default, calls end_body_item() which, by default, does nothing.

end_for(for_: For)

Called when a FOR loop ends.

By default, calls end_body_item() which, by default, does nothing.

end_for_iteration(iteration: ForIteration)

Called when a FOR loop iteration ends.

By default, calls end_body_item() which, by default, does nothing.

end_if(if_: If)

Called when an IF/ELSE structure ends.

By default, calls end_body_item() which, by default, does nothing.

end_if_branch(branch: IfBranch)

Called when an IF/ELSE branch ends.

By default, calls end_body_item() which, by default, does nothing.

end_keyword(keyword: Keyword)

Called when a keyword ends.

By default, calls end_body_item() which, by default, does nothing.

end_message(message: Message)

Called when a message ends.

By default, calls end_body_item() which, by default, does nothing.

end_return(return_: Return)

Called when a RETURN element ends.

By default, calls end_body_item() which, by default, does nothing.

end_suite(suite: TestSuite)

Called when a suite ends. Default implementation does nothing.

end_test(test: TestCase)

Called when a test ends. Default implementation does nothing.

end_try(try_: Try)

Called when a TRY/EXCEPT structure ends.

By default, calls end_body_item() which, by default, does nothing.

end_try_branch(branch: TryBranch)

Called when TRY, EXCEPT, ELSE and FINALLY branches end.

By default, calls end_body_item() which, by default, does nothing.

end_while(while_: While)

Called when a WHILE loop ends.

By default, calls end_body_item() which, by default, does nothing.

end_while_iteration(iteration: WhileIteration)

Called when a WHILE loop iteration ends.

By default, calls end_body_item() which, by default, does nothing.

start_body_item(item: BodyItem) → bool|None

Called, by default, when keywords, messages or control structures start.

More specific start_keyword(), start_message(), :meth:`start_for, etc. can be implemented to visit only keywords, messages or specific control structures.

Can return explicit False to stop visiting. Default implementation does nothing.

start_break(break_: Break) → bool|None

Called when a BREAK element starts.

By default, calls start_body_item() which, by default, does nothing.

Can return explicit False to stop visiting.

start_continue(continue_: Continue) → bool|None

Called when a CONTINUE element starts.

By default, calls start_body_item() which, by default, does nothing.

Can return explicit False to stop visiting.

start_error(error: Error) → bool|None

Called when a ERROR element starts.

By default, calls start_body_item() which, by default, does nothing.

Can return explicit False to stop visiting.

start_for(for_: For) → bool|None

Called when a FOR loop starts.

By default, calls start_body_item() which, by default, does nothing.

Can return explicit False to stop visiting.

start_for_iteration(iteration: ForIteration) → bool|None

Called when a FOR loop iteration starts.

By default, calls start_body_item() which, by default, does nothing.

Can return explicit False to stop visiting.

start_if(if_: If) → bool|None

Called when an IF/ELSE structure starts.

By default, calls start_body_item() which, by default, does nothing.

Can return explicit False to stop visiting.

start_if_branch(branch: IfBranch) → bool|None

Called when an IF/ELSE branch starts.

By default, calls start_body_item() which, by default, does nothing.

Can return explicit False to stop visiting.

start_keyword(keyword: Keyword) → bool|None

Called when a keyword starts.

By default, calls start_body_item() which, by default, does nothing.

Can return explicit False to stop visiting.

start_message(message: Message) → bool|None

Called when a message starts.

By default, calls start_body_item() which, by default, does nothing.

Can return explicit False to stop visiting.

start_return(return_: Return) → bool|None

Called when a RETURN element starts.

By default, calls start_body_item() which, by default, does nothing.

Can return explicit False to stop visiting.

start_test(test: TestCase) → bool|None

Called when a test starts. Default implementation does nothing.

Can return explicit False to stop visiting.

start_try(try_: Try) → bool|None

Called when a TRY/EXCEPT structure starts.

By default, calls start_body_item() which, by default, does nothing.

Can return explicit False to stop visiting.

start_try_branch(branch: TryBranch) → bool|None

Called when TRY, EXCEPT, ELSE or FINALLY branches start.

By default, calls start_body_item() which, by default, does nothing.

Can return explicit False to stop visiting.

start_while(while_: While) → bool|None

Called when a WHILE loop starts.

By default, calls start_body_item() which, by default, does nothing.

Can return explicit False to stop visiting.

start_while_iteration(iteration: WhileIteration) → bool|None

Called when a WHILE loop iteration starts.

By default, calls start_body_item() which, by default, does nothing.

Can return explicit False to stop visiting.

visit_break(break_: Break)

Visits BREAK elements.

visit_continue(continue_: Continue)

Visits CONTINUE elements.

visit_error(error: Error)

Visits body items resulting from invalid syntax.

Examples include syntax like END or ELSE in wrong place and invalid setting like [Invalid].

visit_for(for_: For)

Implements traversing through FOR loops.

Can be overridden to allow modifying the passed in for_ without calling start_for() or end_for() nor visiting body.

visit_for_iteration(iteration: ForIteration)

Implements traversing through single FOR loop iteration.

This is only used with the result side model because on the running side there are no iterations.

Can be overridden to allow modifying the passed in iteration without calling start_for_iteration() or end_for_iteration() nor visiting body.

visit_if(if_: If)

Implements traversing through IF/ELSE structures.

Notice that if_ does not have any data directly. Actual IF/ELSE branches are in its body and they are visited separately using visit_if_branch().

Can be overridden to allow modifying the passed in if_ without calling start_if() or end_if() nor visiting branches.

visit_if_branch(branch: IfBranch)

Implements traversing through single IF/ELSE branch.

Can be overridden to allow modifying the passed in branch without calling start_if_branch() or end_if_branch() nor visiting body.

visit_message(message: Message)

Implements visiting messages.

Can be overridden to allow modifying the passed in msg without calling start_message() or end_message().

visit_return(return_: Return)

Visits a RETURN elements.

visit_suite(suite: TestSuite)

Implements traversing through suites.

Can be overridden to allow modifying the passed in suite without calling start_suite() or end_suite() nor visiting child suites, tests or setup and teardown at all.

visit_try(try_: Try)

Implements traversing through TRY/EXCEPT structures.

This method is used with the TRY/EXCEPT root element. Actual TRY, EXCEPT, ELSE and FINALLY branches are visited separately using visit_try_branch().

visit_try_branch(branch: TryBranch)

Visits individual TRY, EXCEPT, ELSE and FINALLY branches.

visit_while(while_: While)

Implements traversing through WHILE loops.

Can be overridden to allow modifying the passed in while_ without calling start_while() or end_while() nor visiting body.

visit_while_iteration(iteration: WhileIteration)

Implements traversing through single WHILE loop iteration.

This is only used with the result side model because on the running side there are no iterations.

Can be overridden to allow modifying the passed in iteration without calling start_while_iteration() or end_while_iteration() nor visiting body.

robot.conf.gatherfailed.gather_failed_tests(output, empty_suite_ok=False)[source]
robot.conf.gatherfailed.gather_failed_suites(output, empty_suite_ok=False)[source]

robot.conf.languages module

class robot.conf.languages.Languages(languages: Union[Iterable[Union[robot.conf.languages.Language, str, pathlib.Path]], robot.conf.languages.Language, str, pathlib.Path, None] = (), add_english: bool = True)[source]

Bases: object

Stores languages and unifies translations.

Example:

languages = Languages('de', add_english=False)
print(languages.settings)
languages = Languages(['pt-BR', 'Finnish', 'MyLang.py'])
for lang in languages:
    print(lang.name, lang.code)
Parameters:
  • languages – Initial language or list of languages. Languages can be given as language codes or names, paths or names of language modules to load, or as Language instances.
  • add_english – If True, English is added automatically.
Raises:

DataError if a given language is not found.

add_language() can be used to add languages after initialization.

reset(languages: Iterable[Union[Language, str, pathlib.Path]] = (), add_english: bool = True)[source]

Resets the instance to the given languages.

add_language(lang: Union[Language, str, pathlib.Path])[source]

Add new language.

Parameters:lang – Language to add. Can be a language code or name, name or path of a language module to load, or a Language instance.
Raises:DataError if the language is not found.

Language codes and names are passed to by Language.from_name(). Language modules are imported and Language subclasses in them loaded.

class robot.conf.languages.Language[source]

Bases: object

Base class for language definitions.

New translations can be added by extending this class and setting class attributes listed below.

Language code is got based on the class name and name based on the docstring.

settings_header = None
variables_header = None
test_cases_header = None
tasks_header = None
keywords_header = None
comments_header = None
library_setting = None
resource_setting = None
variables_setting = None
name_setting = None
documentation_setting = None
metadata_setting = None
suite_setup_setting = None
suite_teardown_setting = None
test_setup_setting = None
task_setup_setting = None
test_teardown_setting = None
task_teardown_setting = None
test_template_setting = None
task_template_setting = None
test_timeout_setting = None
task_timeout_setting = None
test_tags_setting = None
task_tags_setting = None
keyword_tags_setting = None
tags_setting = None
setup_setting = None
teardown_setting = None
template_setting = None
timeout_setting = None
arguments_setting = None
given_prefixes = []
when_prefixes = []
then_prefixes = []
and_prefixes = []
but_prefixes = []
true_strings = []
false_strings = []
classmethod from_name(name) → robot.conf.languages.Language[source]

Return language class based on given name.

Name can either be a language name (e.g. ‘Finnish’ or ‘Brazilian Portuguese’) or a language code (e.g. ‘fi’ or ‘pt-BR’). Matching is case and space insensitive and the hyphen is ignored when matching language codes.

Raises ValueError if no matching language is found.

code

Language code like ‘fi’ or ‘pt-BR’.

Got based on the class name. If the class name is two characters (or less), the code is just the name in lower case. If it is longer, a hyphen is added and the remainder of the class name is upper-cased.

This special property can be accessed also directly from the class.

name

Language name like ‘Finnish’ or ‘Brazilian Portuguese’.

Got from the first line of the class docstring.

This special property can be accessed also directly from the class.

headers
settings
bdd_prefixes
class robot.conf.languages.En[source]

Bases: robot.conf.languages.Language

English

settings_header = 'Settings'
variables_header = 'Variables'
test_cases_header = 'Test Cases'
tasks_header = 'Tasks'
keywords_header = 'Keywords'
comments_header = 'Comments'
library_setting = 'Library'
resource_setting = 'Resource'
variables_setting = 'Variables'
name_setting = 'Name'
documentation_setting = 'Documentation'
metadata_setting = 'Metadata'
suite_setup_setting = 'Suite Setup'
suite_teardown_setting = 'Suite Teardown'
test_setup_setting = 'Test Setup'
task_setup_setting = 'Task Setup'
test_teardown_setting = 'Test Teardown'
task_teardown_setting = 'Task Teardown'
test_template_setting = 'Test Template'
task_template_setting = 'Task Template'
test_timeout_setting = 'Test Timeout'
task_timeout_setting = 'Task Timeout'
test_tags_setting = 'Test Tags'
task_tags_setting = 'Task Tags'
keyword_tags_setting = 'Keyword Tags'
setup_setting = 'Setup'
teardown_setting = 'Teardown'
template_setting = 'Template'
tags_setting = 'Tags'
timeout_setting = 'Timeout'
arguments_setting = 'Arguments'
given_prefixes = ['Given']
when_prefixes = ['When']
then_prefixes = ['Then']
and_prefixes = ['And']
but_prefixes = ['But']
true_strings = ['True', 'Yes', 'On']
false_strings = ['False', 'No', 'Off']
bdd_prefixes
code = 'en'
classmethod from_name(name) → robot.conf.languages.Language

Return language class based on given name.

Name can either be a language name (e.g. ‘Finnish’ or ‘Brazilian Portuguese’) or a language code (e.g. ‘fi’ or ‘pt-BR’). Matching is case and space insensitive and the hyphen is ignored when matching language codes.

Raises ValueError if no matching language is found.

headers
name = 'English'
settings
class robot.conf.languages.Cs[source]

Bases: robot.conf.languages.Language

Czech

settings_header = 'Nastavení'
variables_header = 'Proměnné'
test_cases_header = 'Testovací případy'
tasks_header = 'Úlohy'
keywords_header = 'Klíčová slova'
comments_header = 'Komentáře'
library_setting = 'Knihovna'
resource_setting = 'Zdroj'
variables_setting = 'Proměnná'
name_setting = 'Název'
documentation_setting = 'Dokumentace'
metadata_setting = 'Metadata'
suite_setup_setting = 'Příprava sady'
suite_teardown_setting = 'Ukončení sady'
test_setup_setting = 'Příprava testu'
test_teardown_setting = 'Ukončení testu'
test_template_setting = 'Šablona testu'
test_timeout_setting = 'Časový limit testu'
test_tags_setting = 'Štítky testů'
task_setup_setting = 'Příprava úlohy'
task_teardown_setting = 'Ukončení úlohy'
task_template_setting = 'Šablona úlohy'
task_timeout_setting = 'Časový limit úlohy'
task_tags_setting = 'Štítky úloh'
keyword_tags_setting = 'Štítky klíčových slov'
tags_setting = 'Štítky'
setup_setting = 'Příprava'
teardown_setting = 'Ukončení'
template_setting = 'Šablona'
timeout_setting = 'Časový limit'
arguments_setting = 'Argumenty'
given_prefixes = ['Pokud']
when_prefixes = ['Když']
then_prefixes = ['Pak']
and_prefixes = ['A']
but_prefixes = ['Ale']
true_strings = ['Pravda', 'Ano', 'Zapnuto']
false_strings = ['Nepravda', 'Ne', 'Vypnuto', 'Nic']
bdd_prefixes
code = 'cs'
classmethod from_name(name) → robot.conf.languages.Language

Return language class based on given name.

Name can either be a language name (e.g. ‘Finnish’ or ‘Brazilian Portuguese’) or a language code (e.g. ‘fi’ or ‘pt-BR’). Matching is case and space insensitive and the hyphen is ignored when matching language codes.

Raises ValueError if no matching language is found.

headers
name = 'Czech'
settings
class robot.conf.languages.Nl[source]

Bases: robot.conf.languages.Language

Dutch

settings_header = 'Instellingen'
variables_header = 'Variabelen'
test_cases_header = 'Testgevallen'
tasks_header = 'Taken'
keywords_header = 'Sleutelwoorden'
comments_header = 'Opmerkingen'
library_setting = 'Bibliotheek'
resource_setting = 'Resource'
variables_setting = 'Variabele'
name_setting = 'Naam'
documentation_setting = 'Documentatie'
metadata_setting = 'Metadata'
suite_setup_setting = 'Suite Preconditie'
suite_teardown_setting = 'Suite Postconditie'
test_setup_setting = 'Test Preconditie'
test_teardown_setting = 'Test Postconditie'
test_template_setting = 'Test Sjabloon'
test_timeout_setting = 'Test Time-out'
test_tags_setting = 'Test Labels'
task_setup_setting = 'Taak Preconditie'
task_teardown_setting = 'Taak Postconditie'
task_template_setting = 'Taak Sjabloon'
task_timeout_setting = 'Taak Time-out'
task_tags_setting = 'Taak Labels'
keyword_tags_setting = 'Sleutelwoord Labels'
tags_setting = 'Labels'
setup_setting = 'Preconditie'
teardown_setting = 'Postconditie'
template_setting = 'Sjabloon'
timeout_setting = 'Time-out'
arguments_setting = 'Parameters'
given_prefixes = ['Stel', 'Gegeven']
when_prefixes = ['Als']
then_prefixes = ['Dan']
and_prefixes = ['En']
but_prefixes = ['Maar']
true_strings = ['Waar', 'Ja', 'Aan']
false_strings = ['Onwaar', 'Nee', 'Uit', 'Geen']
bdd_prefixes
code = 'nl'
classmethod from_name(name) → robot.conf.languages.Language

Return language class based on given name.

Name can either be a language name (e.g. ‘Finnish’ or ‘Brazilian Portuguese’) or a language code (e.g. ‘fi’ or ‘pt-BR’). Matching is case and space insensitive and the hyphen is ignored when matching language codes.

Raises ValueError if no matching language is found.

headers
name = 'Dutch'
settings
class robot.conf.languages.Bs[source]

Bases: robot.conf.languages.Language

Bosnian

settings_header = 'Postavke'
variables_header = 'Varijable'
test_cases_header = 'Test Cases'
tasks_header = 'Taskovi'
keywords_header = 'Keywords'
comments_header = 'Komentari'
library_setting = 'Biblioteka'
resource_setting = 'Resursi'
variables_setting = 'Varijable'
documentation_setting = 'Dokumentacija'
metadata_setting = 'Metadata'
suite_setup_setting = 'Suite Postavke'
suite_teardown_setting = 'Suite Teardown'
test_setup_setting = 'Test Postavke'
test_teardown_setting = 'Test Teardown'
test_template_setting = 'Test Template'
test_timeout_setting = 'Test Timeout'
test_tags_setting = 'Test Tagovi'
task_setup_setting = 'Task Postavke'
task_teardown_setting = 'Task Teardown'
task_template_setting = 'Task Template'
task_timeout_setting = 'Task Timeout'
task_tags_setting = 'Task Tagovi'
keyword_tags_setting = 'Keyword Tagovi'
tags_setting = 'Tagovi'
setup_setting = 'Postavke'
teardown_setting = 'Teardown'
template_setting = 'Template'
timeout_setting = 'Timeout'
arguments_setting = 'Argumenti'
given_prefixes = ['Uslovno']
when_prefixes = ['Kada']
then_prefixes = ['Tada']
and_prefixes = ['I']
but_prefixes = ['Ali']
bdd_prefixes
code = 'bs'
false_strings = []
classmethod from_name(name) → robot.conf.languages.Language

Return language class based on given name.

Name can either be a language name (e.g. ‘Finnish’ or ‘Brazilian Portuguese’) or a language code (e.g. ‘fi’ or ‘pt-BR’). Matching is case and space insensitive and the hyphen is ignored when matching language codes.

Raises ValueError if no matching language is found.

headers
name = 'Bosnian'
name_setting = None
settings
true_strings = []
class robot.conf.languages.Fi[source]

Bases: robot.conf.languages.Language

Finnish

settings_header = 'Asetukset'
variables_header = 'Muuttujat'
test_cases_header = 'Testit'
tasks_header = 'Tehtävät'
keywords_header = 'Avainsanat'
comments_header = 'Kommentit'
library_setting = 'Kirjasto'
resource_setting = 'Resurssi'
variables_setting = 'Muuttujat'
documentation_setting = 'Dokumentaatio'
metadata_setting = 'Metatiedot'
name_setting = 'Nimi'
suite_setup_setting = 'Setin Alustus'
suite_teardown_setting = 'Setin Alasajo'
test_setup_setting = 'Testin Alustus'
task_setup_setting = 'Tehtävän Alustus'
test_teardown_setting = 'Testin Alasajo'
task_teardown_setting = 'Tehtävän Alasajo'
test_template_setting = 'Testin Malli'
task_template_setting = 'Tehtävän Malli'
test_timeout_setting = 'Testin Aikaraja'
task_timeout_setting = 'Tehtävän Aikaraja'
test_tags_setting = 'Testin Tagit'
task_tags_setting = 'Tehtävän Tagit'
keyword_tags_setting = 'Avainsanan Tagit'
tags_setting = 'Tagit'
setup_setting = 'Alustus'
teardown_setting = 'Alasajo'
template_setting = 'Malli'
timeout_setting = 'Aikaraja'
arguments_setting = 'Argumentit'
given_prefixes = ['Oletetaan']
when_prefixes = ['Kun']
then_prefixes = ['Niin']
and_prefixes = ['Ja']
but_prefixes = ['Mutta']
true_strings = ['Tosi', 'Kyllä', 'Päällä']
false_strings = ['Epätosi', 'Ei', 'Pois']
bdd_prefixes
code = 'fi'
classmethod from_name(name) → robot.conf.languages.Language

Return language class based on given name.

Name can either be a language name (e.g. ‘Finnish’ or ‘Brazilian Portuguese’) or a language code (e.g. ‘fi’ or ‘pt-BR’). Matching is case and space insensitive and the hyphen is ignored when matching language codes.

Raises ValueError if no matching language is found.

headers
name = 'Finnish'
settings
class robot.conf.languages.Fr[source]

Bases: robot.conf.languages.Language

French

settings_header = 'Paramètres'
variables_header = 'Variables'
test_cases_header = 'Unités de test'
tasks_header = 'Tâches'
keywords_header = 'Mots-clés'
comments_header = 'Commentaires'
library_setting = 'Bibliothèque'
resource_setting = 'Ressource'
variables_setting = 'Variable'
name_setting = 'Nom'
documentation_setting = 'Documentation'
metadata_setting = 'Méta-donnée'
suite_setup_setting = 'Mise en place de suite'
suite_teardown_setting = 'Démontage de suite'
test_setup_setting = 'Mise en place de test'
test_teardown_setting = 'Démontage de test'
test_template_setting = 'Modèle de test'
test_timeout_setting = 'Délai de test'
test_tags_setting = 'Étiquette de test'
task_setup_setting = 'Mise en place de tâche'
task_teardown_setting = 'Démontage de test'
task_template_setting = 'Modèle de tâche'
task_timeout_setting = 'Délai de tâche'
task_tags_setting = 'Étiquette de tâche'
keyword_tags_setting = 'Etiquette de mot-clé'
tags_setting = 'Étiquette'
setup_setting = 'Mise en place'
teardown_setting = 'Démontage'
template_setting = 'Modèle'
timeout_setting = "Délai d'attente"
arguments_setting = 'Arguments'
given_prefixes = ['Étant donné']
when_prefixes = ['Lorsque']
then_prefixes = ['Alors']
and_prefixes = ['Et']
but_prefixes = ['Mais']
true_strings = ['Vrai', 'Oui', 'Actif']
false_strings = ['Faux', 'Non', 'Désactivé', 'Aucun']
bdd_prefixes
code = 'fr'
classmethod from_name(name) → robot.conf.languages.Language

Return language class based on given name.

Name can either be a language name (e.g. ‘Finnish’ or ‘Brazilian Portuguese’) or a language code (e.g. ‘fi’ or ‘pt-BR’). Matching is case and space insensitive and the hyphen is ignored when matching language codes.

Raises ValueError if no matching language is found.

headers
name = 'French'
settings
class robot.conf.languages.De[source]

Bases: robot.conf.languages.Language

German

settings_header = 'Einstellungen'
variables_header = 'Variablen'
test_cases_header = 'Testfälle'
tasks_header = 'Aufgaben'
keywords_header = 'Schlüsselwörter'
comments_header = 'Kommentare'
library_setting = 'Bibliothek'
resource_setting = 'Ressource'
variables_setting = 'Variablen'
name_setting = 'Name'
documentation_setting = 'Dokumentation'
metadata_setting = 'Metadaten'
suite_setup_setting = 'Suitevorbereitung'
suite_teardown_setting = 'Suitenachbereitung'
test_setup_setting = 'Testvorbereitung'
test_teardown_setting = 'Testnachbereitung'
test_template_setting = 'Testvorlage'
test_timeout_setting = 'Testzeitlimit'
test_tags_setting = 'Testmarker'
task_setup_setting = 'Aufgabenvorbereitung'
task_teardown_setting = 'Aufgabennachbereitung'
task_template_setting = 'Aufgabenvorlage'
task_timeout_setting = 'Aufgabenzeitlimit'
task_tags_setting = 'Aufgabenmarker'
keyword_tags_setting = 'Schlüsselwortmarker'
tags_setting = 'Marker'
setup_setting = 'Vorbereitung'
teardown_setting = 'Nachbereitung'
template_setting = 'Vorlage'
timeout_setting = 'Zeitlimit'
arguments_setting = 'Argumente'
given_prefixes = ['Angenommen']
when_prefixes = ['Wenn']
then_prefixes = ['Dann']
and_prefixes = ['Und']
but_prefixes = ['Aber']
true_strings = ['Wahr', 'Ja', 'An', 'Ein']
false_strings = ['Falsch', 'Nein', 'Aus', 'Unwahr']
bdd_prefixes
code = 'de'
classmethod from_name(name) → robot.conf.languages.Language

Return language class based on given name.

Name can either be a language name (e.g. ‘Finnish’ or ‘Brazilian Portuguese’) or a language code (e.g. ‘fi’ or ‘pt-BR’). Matching is case and space insensitive and the hyphen is ignored when matching language codes.

Raises ValueError if no matching language is found.

headers
name = 'German'
settings
class robot.conf.languages.PtBr[source]

Bases: robot.conf.languages.Language

Brazilian Portuguese

settings_header = 'Configurações'
variables_header = 'Variáveis'
test_cases_header = 'Casos de Teste'
tasks_header = 'Tarefas'
keywords_header = 'Palavras-Chave'
comments_header = 'Comentários'
library_setting = 'Biblioteca'
resource_setting = 'Recurso'
variables_setting = 'Variável'
name_setting = 'Nome'
documentation_setting = 'Documentação'
metadata_setting = 'Metadados'
suite_setup_setting = 'Configuração da Suíte'
suite_teardown_setting = 'Finalização de Suíte'
test_setup_setting = 'Inicialização de Teste'
test_teardown_setting = 'Finalização de Teste'
test_template_setting = 'Modelo de Teste'
test_timeout_setting = 'Tempo Limite de Teste'
test_tags_setting = 'Test Tags'
task_setup_setting = 'Inicialização de Tarefa'
task_teardown_setting = 'Finalização de Tarefa'
task_template_setting = 'Modelo de Tarefa'
task_timeout_setting = 'Tempo Limite de Tarefa'
task_tags_setting = 'Task Tags'
keyword_tags_setting = 'Keyword Tags'
tags_setting = 'Etiquetas'
setup_setting = 'Inicialização'
teardown_setting = 'Finalização'
template_setting = 'Modelo'
timeout_setting = 'Tempo Limite'
arguments_setting = 'Argumentos'
given_prefixes = ['Dado']
when_prefixes = ['Quando']
then_prefixes = ['Então']
and_prefixes = ['E']
but_prefixes = ['Mas']
true_strings = ['Verdadeiro', 'Verdade', 'Sim', 'Ligado']
false_strings = ['Falso', 'Não', 'Desligado', 'Desativado', 'Nada']
bdd_prefixes
code = 'pt-BR'
classmethod from_name(name) → robot.conf.languages.Language

Return language class based on given name.

Name can either be a language name (e.g. ‘Finnish’ or ‘Brazilian Portuguese’) or a language code (e.g. ‘fi’ or ‘pt-BR’). Matching is case and space insensitive and the hyphen is ignored when matching language codes.

Raises ValueError if no matching language is found.

headers
name = 'Brazilian Portuguese'
settings
class robot.conf.languages.Pt[source]

Bases: robot.conf.languages.Language

Portuguese

settings_header = 'Definições'
variables_header = 'Variáveis'
test_cases_header = 'Casos de Teste'
tasks_header = 'Tarefas'
keywords_header = 'Palavras-Chave'
comments_header = 'Comentários'
library_setting = 'Biblioteca'
resource_setting = 'Recurso'
variables_setting = 'Variável'
name_setting = 'Nome'
documentation_setting = 'Documentação'
metadata_setting = 'Metadados'
suite_setup_setting = 'Inicialização de Suíte'
suite_teardown_setting = 'Finalização de Suíte'
test_setup_setting = 'Inicialização de Teste'
test_teardown_setting = 'Finalização de Teste'
test_template_setting = 'Modelo de Teste'
test_timeout_setting = 'Tempo Limite de Teste'
test_tags_setting = 'Etiquetas de Testes'
task_setup_setting = 'Inicialização de Tarefa'
task_teardown_setting = 'Finalização de Tarefa'
task_template_setting = 'Modelo de Tarefa'
task_timeout_setting = 'Tempo Limite de Tarefa'
task_tags_setting = 'Etiquetas de Tarefas'
keyword_tags_setting = 'Etiquetas de Palavras-Chave'
tags_setting = 'Etiquetas'
setup_setting = 'Inicialização'
teardown_setting = 'Finalização'
template_setting = 'Modelo'
timeout_setting = 'Tempo Limite'
arguments_setting = 'Argumentos'
given_prefixes = ['Dado']
when_prefixes = ['Quando']
then_prefixes = ['Então']
and_prefixes = ['E']
but_prefixes = ['Mas']
true_strings = ['Verdadeiro', 'Verdade', 'Sim', 'Ligado']
false_strings = ['Falso', 'Não', 'Desligado', 'Desativado', 'Nada']
bdd_prefixes
code = 'pt'
classmethod from_name(name) → robot.conf.languages.Language

Return language class based on given name.

Name can either be a language name (e.g. ‘Finnish’ or ‘Brazilian Portuguese’) or a language code (e.g. ‘fi’ or ‘pt-BR’). Matching is case and space insensitive and the hyphen is ignored when matching language codes.

Raises ValueError if no matching language is found.

headers
name = 'Portuguese'
settings
class robot.conf.languages.Th[source]

Bases: robot.conf.languages.Language

Thai

settings_header = 'การตั้งค่า'
variables_header = 'กำหนดตัวแปร'
test_cases_header = 'การทดสอบ'
tasks_header = 'งาน'
keywords_header = 'คำสั่งเพิ่มเติม'
comments_header = 'คำอธิบาย'
library_setting = 'ชุดคำสั่งที่ใช้'
resource_setting = 'ไฟล์ที่ใช้'
variables_setting = 'ชุดตัวแปร'
documentation_setting = 'เอกสาร'
metadata_setting = 'รายละเอียดเพิ่มเติม'
suite_setup_setting = 'กำหนดค่าเริ่มต้นของชุดการทดสอบ'
suite_teardown_setting = 'คืนค่าของชุดการทดสอบ'
test_setup_setting = 'กำหนดค่าเริ่มต้นของการทดสอบ'
task_setup_setting = 'กำหนดค่าเริ่มต้นของงาน'
test_teardown_setting = 'คืนค่าของการทดสอบ'
task_teardown_setting = 'คืนค่าของงาน'
test_template_setting = 'โครงสร้างของการทดสอบ'
task_template_setting = 'โครงสร้างของงาน'
test_timeout_setting = 'เวลารอของการทดสอบ'
task_timeout_setting = 'เวลารอของงาน'
test_tags_setting = 'กลุ่มของการทดสอบ'
task_tags_setting = 'กลุ่มของงาน'
keyword_tags_setting = 'กลุ่มของคำสั่งเพิ่มเติม'
setup_setting = 'กำหนดค่าเริ่มต้น'
teardown_setting = 'คืนค่า'
template_setting = 'โครงสร้าง'
tags_setting = 'กลุ่ม'
timeout_setting = 'หมดเวลา'
arguments_setting = 'ค่าที่ส่งเข้ามา'
given_prefixes = ['กำหนดให้']
when_prefixes = ['เมื่อ']
then_prefixes = ['ดังนั้น']
and_prefixes = ['และ']
but_prefixes = ['แต่']
bdd_prefixes
code = 'th'
false_strings = []
classmethod from_name(name) → robot.conf.languages.Language

Return language class based on given name.

Name can either be a language name (e.g. ‘Finnish’ or ‘Brazilian Portuguese’) or a language code (e.g. ‘fi’ or ‘pt-BR’). Matching is case and space insensitive and the hyphen is ignored when matching language codes.

Raises ValueError if no matching language is found.

headers
name = 'Thai'
name_setting = None
settings
true_strings = []
class robot.conf.languages.Pl[source]

Bases: robot.conf.languages.Language

Polish

settings_header = 'Ustawienia'
variables_header = 'Zmienne'
test_cases_header = 'Przypadki testowe'
tasks_header = 'Zadania'
keywords_header = 'Słowa kluczowe'
comments_header = 'Komentarze'
library_setting = 'Biblioteka'
resource_setting = 'Zasób'
variables_setting = 'Zmienne'
name_setting = 'Nazwa'
documentation_setting = 'Dokumentacja'
metadata_setting = 'Metadane'
suite_setup_setting = 'Inicjalizacja zestawu'
suite_teardown_setting = 'Ukończenie zestawu'
test_setup_setting = 'Inicjalizacja testu'
test_teardown_setting = 'Ukończenie testu'
test_template_setting = 'Szablon testu'
test_timeout_setting = 'Limit czasowy testu'
test_tags_setting = 'Znaczniki testu'
task_setup_setting = 'Inicjalizacja zadania'
task_teardown_setting = 'Ukończenie zadania'
task_template_setting = 'Szablon zadania'
task_timeout_setting = 'Limit czasowy zadania'
task_tags_setting = 'Znaczniki zadania'
keyword_tags_setting = 'Znaczniki słowa kluczowego'
tags_setting = 'Znaczniki'
setup_setting = 'Inicjalizacja'
teardown_setting = 'Ukończenie'
template_setting = 'Szablon'
timeout_setting = 'Limit czasowy'
arguments_setting = 'Argumenty'
given_prefixes = ['Zakładając', 'Zakładając, że', 'Mając']
when_prefixes = ['Jeżeli', 'Jeśli', 'Gdy', 'Kiedy']
then_prefixes = ['Wtedy']
and_prefixes = ['Oraz', 'I']
but_prefixes = ['Ale']
true_strings = ['Prawda', 'Tak', 'Włączone']
false_strings = ['Fałsz', 'Nie', 'Wyłączone', 'Nic']
bdd_prefixes
code = 'pl'
classmethod from_name(name) → robot.conf.languages.Language

Return language class based on given name.

Name can either be a language name (e.g. ‘Finnish’ or ‘Brazilian Portuguese’) or a language code (e.g. ‘fi’ or ‘pt-BR’). Matching is case and space insensitive and the hyphen is ignored when matching language codes.

Raises ValueError if no matching language is found.

headers
name = 'Polish'
settings
class robot.conf.languages.Uk[source]

Bases: robot.conf.languages.Language

Ukrainian

settings_header = 'Налаштування'
variables_header = 'Змінні'
test_cases_header = 'Тест-кейси'
tasks_header = 'Завдань'
keywords_header = 'Ключових слова'
comments_header = 'Коментарів'
library_setting = 'Бібліотека'
resource_setting = 'Ресурс'
variables_setting = 'Змінна'
documentation_setting = 'Документація'
metadata_setting = 'Метадані'
suite_setup_setting = 'Налаштування Suite'
suite_teardown_setting = 'Розбірка Suite'
test_setup_setting = 'Налаштування тесту'
test_teardown_setting = 'Розбирання тестy'
test_template_setting = 'Тестовий шаблон'
test_timeout_setting = 'Час тестування'
test_tags_setting = 'Тестові теги'
task_setup_setting = 'Налаштування завдання'
task_teardown_setting = 'Розбір завдання'
task_template_setting = 'Шаблон завдання'
task_timeout_setting = 'Час очікування завдання'
task_tags_setting = 'Теги завдань'
keyword_tags_setting = 'Теги ключових слів'
tags_setting = 'Теги'
setup_setting = 'Встановлення'
teardown_setting = 'Cпростовувати пункт за пунктом'
template_setting = 'Шаблон'
timeout_setting = 'Час вийшов'
arguments_setting = 'Аргументи'
given_prefixes = ['Дано']
when_prefixes = ['Коли']
then_prefixes = ['Тоді']
and_prefixes = ['Та']
but_prefixes = ['Але']
bdd_prefixes
code = 'uk'
false_strings = []
classmethod from_name(name) → robot.conf.languages.Language

Return language class based on given name.

Name can either be a language name (e.g. ‘Finnish’ or ‘Brazilian Portuguese’) or a language code (e.g. ‘fi’ or ‘pt-BR’). Matching is case and space insensitive and the hyphen is ignored when matching language codes.

Raises ValueError if no matching language is found.

headers
name = 'Ukrainian'
name_setting = None
settings
true_strings = []
class robot.conf.languages.Es[source]

Bases: robot.conf.languages.Language

Spanish

settings_header = 'Configuraciones'
variables_header = 'Variables'
test_cases_header = 'Casos de prueba'
tasks_header = 'Tareas'
keywords_header = 'Palabras clave'
comments_header = 'Comentarios'
library_setting = 'Biblioteca'
resource_setting = 'Recursos'
variables_setting = 'Variable'
name_setting = 'Nombre'
documentation_setting = 'Documentación'
metadata_setting = 'Metadatos'
suite_setup_setting = 'Configuración de la Suite'
suite_teardown_setting = 'Desmontaje de la Suite'
test_setup_setting = 'Configuración de prueba'
test_teardown_setting = 'Desmontaje de la prueba'
test_template_setting = 'Plantilla de prueba'
test_timeout_setting = 'Tiempo de espera de la prueba'
test_tags_setting = 'Etiquetas de la prueba'
task_setup_setting = 'Configuración de tarea'
task_teardown_setting = 'Desmontaje de tareas'
task_template_setting = 'Plantilla de tareas'
task_timeout_setting = 'Tiempo de espera de las tareas'
task_tags_setting = 'Etiquetas de las tareas'
keyword_tags_setting = 'Etiquetas de palabras clave'
tags_setting = 'Etiquetas'
setup_setting = 'Configuración'
teardown_setting = 'Desmontaje'
template_setting = 'Plantilla'
timeout_setting = 'Tiempo agotado'
arguments_setting = 'Argumentos'
given_prefixes = ['Dado']
when_prefixes = ['Cuando']
then_prefixes = ['Entonces']
and_prefixes = ['Y']
but_prefixes = ['Pero']
true_strings = ['Verdadero', 'Si', 'On']
false_strings = ['Falso', 'No', 'Off', 'Ninguno']
bdd_prefixes
code = 'es'
classmethod from_name(name) → robot.conf.languages.Language

Return language class based on given name.

Name can either be a language name (e.g. ‘Finnish’ or ‘Brazilian Portuguese’) or a language code (e.g. ‘fi’ or ‘pt-BR’). Matching is case and space insensitive and the hyphen is ignored when matching language codes.

Raises ValueError if no matching language is found.

headers
name = 'Spanish'
settings
class robot.conf.languages.Ru[source]

Bases: robot.conf.languages.Language

Russian

settings_header = 'Настройки'
variables_header = 'Переменные'
test_cases_header = 'Заголовки тестов'
tasks_header = 'Задача'
keywords_header = 'Ключевые слова'
comments_header = 'Комментарии'
library_setting = 'Библиотека'
resource_setting = 'Ресурс'
variables_setting = 'Переменные'
documentation_setting = 'Документация'
metadata_setting = 'Метаданные'
suite_setup_setting = 'Инициализация комплекта тестов'
suite_teardown_setting = 'Завершение комплекта тестов'
test_setup_setting = 'Инициализация теста'
test_teardown_setting = 'Завершение теста'
test_template_setting = 'Шаблон теста'
test_timeout_setting = 'Лимит выполнения теста'
test_tags_setting = 'Теги тестов'
task_setup_setting = 'Инициализация задания'
task_teardown_setting = 'Завершение задания'
task_template_setting = 'Шаблон задания'
task_timeout_setting = 'Лимит задания'
task_tags_setting = 'Метки заданий'
keyword_tags_setting = 'Метки ключевых слов'
tags_setting = 'Метки'
setup_setting = 'Инициализация'
teardown_setting = 'Завершение'
template_setting = 'Шаблон'
timeout_setting = 'Лимит'
arguments_setting = 'Аргументы'
given_prefixes = ['Дано']
when_prefixes = ['Когда']
then_prefixes = ['Тогда']
and_prefixes = ['И']
but_prefixes = ['Но']
bdd_prefixes
code = 'ru'
false_strings = []
classmethod from_name(name) → robot.conf.languages.Language

Return language class based on given name.

Name can either be a language name (e.g. ‘Finnish’ or ‘Brazilian Portuguese’) or a language code (e.g. ‘fi’ or ‘pt-BR’). Matching is case and space insensitive and the hyphen is ignored when matching language codes.

Raises ValueError if no matching language is found.

headers
name = 'Russian'
name_setting = None
settings
true_strings = []
class robot.conf.languages.ZhCn[source]

Bases: robot.conf.languages.Language

Chinese Simplified

settings_header = '设置'
variables_header = '变量'
test_cases_header = '用例'
tasks_header = '任务'
keywords_header = '关键字'
comments_header = '备注'
library_setting = '程序库'
resource_setting = '资源文件'
variables_setting = '变量文件'
documentation_setting = '说明'
metadata_setting = '元数据'
suite_setup_setting = '用例集启程'
suite_teardown_setting = '用例集终程'
test_setup_setting = '用例启程'
test_teardown_setting = '用例终程'
test_template_setting = '用例模板'
test_timeout_setting = '用例超时'
test_tags_setting = '用例标签'
task_setup_setting = '任务启程'
task_teardown_setting = '任务终程'
task_template_setting = '任务模板'
task_timeout_setting = '任务超时'
task_tags_setting = '任务标签'
keyword_tags_setting = '关键字标签'
tags_setting = '标签'
setup_setting = '启程'
teardown_setting = '终程'
template_setting = '模板'
timeout_setting = '超时'
arguments_setting = '参数'
given_prefixes = ['假定']
when_prefixes = ['当']
then_prefixes = ['那么']
and_prefixes = ['并且']
but_prefixes = ['但是']
true_strings = ['真', '是', '开']
false_strings = ['假', '否', '关', '空']
bdd_prefixes
code = 'zh-CN'
classmethod from_name(name) → robot.conf.languages.Language

Return language class based on given name.

Name can either be a language name (e.g. ‘Finnish’ or ‘Brazilian Portuguese’) or a language code (e.g. ‘fi’ or ‘pt-BR’). Matching is case and space insensitive and the hyphen is ignored when matching language codes.

Raises ValueError if no matching language is found.

headers
name = 'Chinese Simplified'
name_setting = None
settings
class robot.conf.languages.ZhTw[source]

Bases: robot.conf.languages.Language

Chinese Traditional

settings_header = '設置'
variables_header = '變量'
test_cases_header = '案例'
tasks_header = '任務'
keywords_header = '關鍵字'
comments_header = '備註'
library_setting = '函式庫'
resource_setting = '資源文件'
variables_setting = '變量文件'
documentation_setting = '說明'
metadata_setting = '元數據'
suite_setup_setting = '測試套啟程'
suite_teardown_setting = '測試套終程'
test_setup_setting = '測試啟程'
test_teardown_setting = '測試終程'
test_template_setting = '測試模板'
test_timeout_setting = '測試逾時'
test_tags_setting = '測試標籤'
task_setup_setting = '任務啟程'
task_teardown_setting = '任務終程'
task_template_setting = '任務模板'
task_timeout_setting = '任務逾時'
task_tags_setting = '任務標籤'
keyword_tags_setting = '關鍵字標籤'
tags_setting = '標籤'
setup_setting = '啟程'
teardown_setting = '終程'
template_setting = '模板'
timeout_setting = '逾時'
arguments_setting = '参数'
given_prefixes = ['假定']
when_prefixes = ['當']
then_prefixes = ['那麼']
and_prefixes = ['並且']
but_prefixes = ['但是']
true_strings = ['真', '是', '開']
false_strings = ['假', '否', '關', '空']
bdd_prefixes
code = 'zh-TW'
classmethod from_name(name) → robot.conf.languages.Language

Return language class based on given name.

Name can either be a language name (e.g. ‘Finnish’ or ‘Brazilian Portuguese’) or a language code (e.g. ‘fi’ or ‘pt-BR’). Matching is case and space insensitive and the hyphen is ignored when matching language codes.

Raises ValueError if no matching language is found.

headers
name = 'Chinese Traditional'
name_setting = None
settings
class robot.conf.languages.Tr[source]

Bases: robot.conf.languages.Language

Turkish

settings_header = 'Ayarlar'
variables_header = 'Değişkenler'
test_cases_header = 'Test Durumları'
tasks_header = 'Görevler'
keywords_header = 'Anahtar Kelimeler'
comments_header = 'Yorumlar'
library_setting = 'Kütüphane'
resource_setting = 'Kaynak'
variables_setting = 'Değişkenler'
documentation_setting = 'Dokümantasyon'
metadata_setting = 'Üstveri'
suite_setup_setting = 'Takım Kurulumu'
suite_teardown_setting = 'Takım Bitişi'
test_setup_setting = 'Test Kurulumu'
task_setup_setting = 'Görev Kurulumu'
test_teardown_setting = 'Test Bitişi'
task_teardown_setting = 'Görev Bitişi'
test_template_setting = 'Test Taslağı'
task_template_setting = 'Görev Taslağı'
test_timeout_setting = 'Test Zaman Aşımı'
task_timeout_setting = 'Görev Zaman Aşımı'
test_tags_setting = 'Test Etiketleri'
task_tags_setting = 'Görev Etiketleri'
keyword_tags_setting = 'Anahtar Kelime Etiketleri'
setup_setting = 'Kurulum'
teardown_setting = 'Bitiş'
template_setting = 'Taslak'
tags_setting = 'Etiketler'
timeout_setting = 'Zaman Aşımı'
arguments_setting = 'Argümanlar'
given_prefixes = ['Diyelim ki']
when_prefixes = ['Eğer ki']
then_prefixes = ['O zaman']
and_prefixes = ['Ve']
but_prefixes = ['Ancak']
true_strings = ['Doğru', 'Evet', 'Açik']
false_strings = ['Yanliş', 'Hayir', 'Kapali']
bdd_prefixes
code = 'tr'
classmethod from_name(name) → robot.conf.languages.Language

Return language class based on given name.

Name can either be a language name (e.g. ‘Finnish’ or ‘Brazilian Portuguese’) or a language code (e.g. ‘fi’ or ‘pt-BR’). Matching is case and space insensitive and the hyphen is ignored when matching language codes.

Raises ValueError if no matching language is found.

headers
name = 'Turkish'
name_setting = None
settings
class robot.conf.languages.Sv[source]

Bases: robot.conf.languages.Language

Swedish

settings_header = 'Inställningar'
variables_header = 'Variabler'
test_cases_header = 'Testfall'
tasks_header = 'Taskar'
keywords_header = 'Nyckelord'
comments_header = 'Kommentarer'
library_setting = 'Bibliotek'
resource_setting = 'Resurs'
variables_setting = 'Variabel'
name_setting = 'Namn'
documentation_setting = 'Dokumentation'
metadata_setting = 'Metadata'
suite_setup_setting = 'Svit konfigurering'
suite_teardown_setting = 'Svit nedrivning'
test_setup_setting = 'Test konfigurering'
test_teardown_setting = 'Test nedrivning'
test_template_setting = 'Test mall'
test_timeout_setting = 'Test timeout'
test_tags_setting = 'Test taggar'
task_setup_setting = 'Task konfigurering'
task_teardown_setting = 'Task nedrivning'
task_template_setting = 'Task mall'
task_timeout_setting = 'Task timeout'
task_tags_setting = 'Arbetsuppgift taggar'
keyword_tags_setting = 'Nyckelord taggar'
tags_setting = 'Taggar'
setup_setting = 'Konfigurering'
teardown_setting = 'Nedrivning'
template_setting = 'Mall'
timeout_setting = 'Timeout'
arguments_setting = 'Argument'
given_prefixes = ['Givet']
when_prefixes = ['När']
then_prefixes = ['Då']
and_prefixes = ['Och']
but_prefixes = ['Men']
true_strings = ['Sant', 'Ja', 'På']
false_strings = ['Falskt', 'Nej', 'Av', 'Ingen']
bdd_prefixes
code = 'sv'
classmethod from_name(name) → robot.conf.languages.Language

Return language class based on given name.

Name can either be a language name (e.g. ‘Finnish’ or ‘Brazilian Portuguese’) or a language code (e.g. ‘fi’ or ‘pt-BR’). Matching is case and space insensitive and the hyphen is ignored when matching language codes.

Raises ValueError if no matching language is found.

headers
name = 'Swedish'
settings
class robot.conf.languages.Bg[source]

Bases: robot.conf.languages.Language

Bulgarian

settings_header = 'Настройки'
variables_header = 'Променливи'
test_cases_header = 'Тестови случаи'
tasks_header = 'Задачи'
keywords_header = 'Ключови думи'
comments_header = 'Коментари'
library_setting = 'Библиотека'
resource_setting = 'Ресурс'
variables_setting = 'Променлива'
documentation_setting = 'Документация'
metadata_setting = 'Метаданни'
suite_setup_setting = 'Първоначални настройки на комплекта'
suite_teardown_setting = 'Приключване на комплекта'
test_setup_setting = 'Първоначални настройки на тестове'
test_teardown_setting = 'Приключване на тестове'
test_template_setting = 'Шаблон за тестове'
test_timeout_setting = 'Таймаут за тестове'
test_tags_setting = 'Етикети за тестове'
task_setup_setting = 'Първоначални настройки на задачи'
task_teardown_setting = 'Приключване на задачи'
task_template_setting = 'Шаблон за задачи'
task_timeout_setting = 'Таймаут за задачи'
task_tags_setting = 'Етикети за задачи'
keyword_tags_setting = 'Етикети за ключови думи'
tags_setting = 'Етикети'
setup_setting = 'Първоначални настройки'
teardown_setting = 'Приключване'
template_setting = 'Шаблон'
timeout_setting = 'Таймаут'
arguments_setting = 'Аргументи'
given_prefixes = ['В случай че']
when_prefixes = ['Когато']
then_prefixes = ['Тогава']
and_prefixes = ['И']
but_prefixes = ['Но']
true_strings = ['Вярно', 'Да', 'Включен']
false_strings = ['Невярно', 'Не', 'Изключен', 'Нищо']
bdd_prefixes
code = 'bg'
classmethod from_name(name) → robot.conf.languages.Language

Return language class based on given name.

Name can either be a language name (e.g. ‘Finnish’ or ‘Brazilian Portuguese’) or a language code (e.g. ‘fi’ or ‘pt-BR’). Matching is case and space insensitive and the hyphen is ignored when matching language codes.

Raises ValueError if no matching language is found.

headers
name = 'Bulgarian'
name_setting = None
settings
class robot.conf.languages.Ro[source]

Bases: robot.conf.languages.Language

Romanian

settings_header = 'Setari'
variables_header = 'Variabile'
test_cases_header = 'Cazuri De Test'
tasks_header = 'Sarcini'
keywords_header = 'Cuvinte Cheie'
comments_header = 'Comentarii'
library_setting = 'Librarie'
resource_setting = 'Resursa'
variables_setting = 'Variabila'
name_setting = 'Nume'
documentation_setting = 'Documentatie'
metadata_setting = 'Metadate'
suite_setup_setting = 'Configurare De Suita'
suite_teardown_setting = 'Configurare De Intrerupere'
test_setup_setting = 'Setare De Test'
test_teardown_setting = 'Inrerupere De Test'
test_template_setting = 'Sablon De Test'
test_timeout_setting = 'Timp Expirare Test'
test_tags_setting = 'Taguri De Test'
task_setup_setting = 'Configuarare activitate'
task_teardown_setting = 'Intrerupere activitate'
task_template_setting = 'Sablon de activitate'
task_timeout_setting = 'Timp de expirare activitate'
task_tags_setting = 'Etichete activitate'
keyword_tags_setting = 'Etichete metode'
tags_setting = 'Etichete'
setup_setting = 'Setare'
teardown_setting = 'Intrerupere'
template_setting = 'Sablon'
timeout_setting = 'Expirare'
arguments_setting = 'Argumente'
given_prefixes = ['Fie ca']
when_prefixes = ['Cand']
then_prefixes = ['Atunci']
and_prefixes = ['Si']
but_prefixes = ['Dar']
true_strings = ['Adevarat', 'Da', 'Cand']
false_strings = ['Fals', 'Nu', 'Oprit', 'Niciun']
bdd_prefixes
code = 'ro'
classmethod from_name(name) → robot.conf.languages.Language

Return language class based on given name.

Name can either be a language name (e.g. ‘Finnish’ or ‘Brazilian Portuguese’) or a language code (e.g. ‘fi’ or ‘pt-BR’). Matching is case and space insensitive and the hyphen is ignored when matching language codes.

Raises ValueError if no matching language is found.

headers
name = 'Romanian'
settings
class robot.conf.languages.It[source]

Bases: robot.conf.languages.Language

Italian

settings_header = 'Impostazioni'
variables_header = 'Variabili'
test_cases_header = 'Casi Di Test'
tasks_header = 'Attività'
keywords_header = 'Parole Chiave'
comments_header = 'Commenti'
library_setting = 'Libreria'
resource_setting = 'Risorsa'
variables_setting = 'Variabile'
name_setting = 'Nome'
documentation_setting = 'Documentazione'
metadata_setting = 'Metadati'
suite_setup_setting = 'Configurazione Suite'
suite_teardown_setting = 'Distruzione Suite'
test_setup_setting = 'Configurazione Test'
test_teardown_setting = 'Distruzione Test'
test_template_setting = 'Modello Test'
test_timeout_setting = 'Timeout Test'
test_tags_setting = 'Tag Del Test'
task_setup_setting = 'Configurazione Attività'
task_teardown_setting = 'Distruzione Attività'
task_template_setting = 'Modello Attività'
task_timeout_setting = 'Timeout Attività'
task_tags_setting = 'Tag Attività'
keyword_tags_setting = 'Tag Parola Chiave'
tags_setting = 'Tag'
setup_setting = 'Configurazione'
teardown_setting = 'Distruzione'
template_setting = 'Template'
timeout_setting = 'Timeout'
arguments_setting = 'Parametri'
given_prefixes = ['Dato']
when_prefixes = ['Quando']
then_prefixes = ['Allora']
and_prefixes = ['E']
but_prefixes = ['Ma']
true_strings = ['Vero', 'Sì', 'On']
false_strings = ['Falso', 'No', 'Off', 'Nessuno']
bdd_prefixes
code = 'it'
classmethod from_name(name) → robot.conf.languages.Language

Return language class based on given name.

Name can either be a language name (e.g. ‘Finnish’ or ‘Brazilian Portuguese’) or a language code (e.g. ‘fi’ or ‘pt-BR’). Matching is case and space insensitive and the hyphen is ignored when matching language codes.

Raises ValueError if no matching language is found.

headers
name = 'Italian'
settings
class robot.conf.languages.Hi[source]

Bases: robot.conf.languages.Language

Hindi

settings_header = 'स्थापना'
variables_header = 'चर'
test_cases_header = 'नियत कार्य प्रवेशिका'
tasks_header = 'कार्य प्रवेशिका'
keywords_header = 'कुंजीशब्द'
comments_header = 'टिप्पणी'
library_setting = 'कोड़ प्रतिबिंब संग्रह'
resource_setting = 'संसाधन'
variables_setting = 'चर'
documentation_setting = 'प्रलेखन'
metadata_setting = 'अधि-आंकड़ा'
suite_setup_setting = 'जांच की शुरुवात'
suite_teardown_setting = 'परीक्षण कार्य अंत'
test_setup_setting = 'परीक्षण कार्य प्रारंभ'
test_teardown_setting = 'परीक्षण कार्य अंत'
test_template_setting = 'परीक्षण ढांचा'
test_timeout_setting = 'परीक्षण कार्य समय समाप्त'
test_tags_setting = 'जाँचका उपनाम'
task_setup_setting = 'परीक्षण कार्य प्रारंभ'
task_teardown_setting = 'परीक्षण कार्य अंत'
task_template_setting = 'परीक्षण ढांचा'
task_timeout_setting = 'कार्य समयबाह्य'
task_tags_setting = 'कार्यका उपनाम'
keyword_tags_setting = 'कुंजीशब्द का उपनाम'
tags_setting = 'निशान'
setup_setting = 'व्यवस्थापना'
teardown_setting = 'विमोचन'
template_setting = 'साँचा'
timeout_setting = 'समय समाप्त'
arguments_setting = 'प्राचल'
given_prefixes = ['दिया हुआ']
when_prefixes = ['जब']
then_prefixes = ['तब']
and_prefixes = ['और']
but_prefixes = ['परंतु']
true_strings = ['यथार्थ', 'निश्चित', 'हां', 'पर']
false_strings = ['गलत', 'नहीं', 'हालाँकि', 'यद्यपि', 'नहीं', 'हैं']
bdd_prefixes
code = 'hi'
classmethod from_name(name) → robot.conf.languages.Language

Return language class based on given name.

Name can either be a language name (e.g. ‘Finnish’ or ‘Brazilian Portuguese’) or a language code (e.g. ‘fi’ or ‘pt-BR’). Matching is case and space insensitive and the hyphen is ignored when matching language codes.

Raises ValueError if no matching language is found.

headers
name = 'Hindi'
name_setting = None
settings

robot.conf.settings module

class robot.conf.settings.RobotSettings(options=None, **extra_options)[source]

Bases: robot.conf.settings._BaseSettings

get_rebot_settings()[source]
listeners
debug_file
languages
suite_config
suite_names
test_names
randomize_seed
randomize_suites
randomize_tests
dry_run
exit_on_failure
exit_on_error
skip
skipped_tags
skip_on_failure
skip_teardown_on_exit
console_output_config
console_type
console_width
console_markers
max_error_lines
max_assign_length
parsers
pre_run_modifiers
run_empty_suite
variables
variable_files
extension
console_colors
exclude
flatten_keywords
include
log
log_level
output
output_directory
parse_include
pre_rebot_modifiers
pythonpath
remove_keywords
report
rpa
split_log
statistics_config
status_rc
xunit
class robot.conf.settings.RebotSettings(options=None, **extra_options)[source]

Bases: robot.conf.settings._BaseSettings

suite_config
log_config
report_config
merge
console_output_config
console_colors
exclude
flatten_keywords
include
log
log_level
output
output_directory
parse_include
pre_rebot_modifiers
process_empty_suite
pythonpath
remove_keywords
report
rpa
split_log
statistics_config
status_rc
suite_names
test_names
xunit
expand_keywords