robotframework-2.7.7.atest.testdata.standard_libraries.builtin.UseBuiltIn.py Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of robotframework Show documentation
Show all versions of robotframework Show documentation
High level test automation framework
The newest version!
from robot.libraries.BuiltIn import BuiltIn
def log_debug_message():
b = BuiltIn()
b.set_log_level('DEBUG')
b.log('Hello, debug world!', 'DEBUG')
def get_test_name():
return BuiltIn().get_variables()['${TEST NAME}']
def set_secret_variable():
BuiltIn().set_test_variable('${SECRET}', '*****')
def use_run_keyword_with_non_unicode_values():
BuiltIn().run_keyword('Log', 42)
BuiltIn().run_keyword('Log', '\xff')