Api

class mtf.api.Api

This Class is the main interface of the MTF. it contain all raw method call

static __new__(_cls, *args, **kwargs)
__init__()
classmethod get() Api
get_mtf_bind() mtf_binder
start_application(log_folder_path: str, log_level: LogLevel, config_path: str, db_path: str = '', plugins_path: str = '', is_rotate_lifecycle: bool = False) bool

See: C API -> ApiSetup

stop_application() bool
start_test_serie(cycle_time_factor=1, min_debounce_time=0) bool
start_test_serie_with_struct(test_serie_config: mtf_test_serie_config) bool
stop_test_serie() bool
start_test_case(test_case_name: str, tc_log_directory: str, tracing_active: bool = True, signal_playback_active: bool = True) bool

See: C API -> StartTestcase

start_test_case_with_struct(test_config: mtf_test_config) bool
stop_test_case() bool
check_license_for_method(method_name: str) bool
get_configured_service_pack() ServicePack