All Downloads are FREE. Search and download functionalities are using the official Maven repository.

robotframework-2.7.7.atest.testdata.standard_libraries.builtin.UseBuiltIn.py Maven / Gradle / Ivy

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')




© 2015 - 2024 Weber Informatics LLC | Privacy Policy