mtf_binder
- class mtf.libs.mtf_pybinder.mtf_binder
- __init__(self: mtf.libs.mtf_pybinder.mtf_binder) None
- __new__(**kwargs)
- check_license_for_method(self: mtf.libs.mtf_pybinder.mtf_binder, method_name: str) bool
Check the license status for a method
- cleanup_connection_pool(self: mtf.libs.mtf_pybinder.mtf_binder) None
Clean up connection pool by closing and deleting all sockets instances
- exit_framework(self: mtf.libs.mtf_pybinder.mtf_binder) int
try to shutdown mtf core and all started modules , return 0 in case of success or an error code in case of failure
- get_configured_service_pack(self: mtf.libs.mtf_pybinder.mtf_binder) mtf.libs.mtf_pybinder.ServicePack
Get the configured service pack
- get_lifecycle_state(self: mtf.libs.mtf_pybinder.mtf_binder) mtf.libs.mtf_pybinder.LifeCycleState
Get LifeCycle State
- get_mtf_api(self: mtf.libs.mtf_pybinder.mtf_binder) int
Get the mtf api
- start_application(self: mtf.libs.mtf_pybinder.mtf_binder, log_path: str, console_log_level: int, config_path: str, db_path: str = '', plugin_path: str = '', log_level: int = 1, is_rotate_lifecycle: int = 0) bool
Init the MTF Core Load config files, Init HW, etc.
- start_framework(self: mtf.libs.mtf_pybinder.mtf_binder, api_config: mtf.libs.mtf_pybinder.MtfApiSetup) bool
Init the MTF Core and all modules with respect to the apiconfig Load config files, Init HW, etc.
- start_signal_playback(self: mtf.libs.mtf_pybinder.mtf_binder) None
Start signal playback from configured STI file
- start_test_case(*args, **kwargs)
Overloaded function.
start_test_case(self: mtf.libs.mtf_pybinder.mtf_binder, test_config: mtf.libs.mtf_pybinder.mtf_test_config) -> bool
Start a Test Serie execution with config struct
start_test_case(self: mtf.libs.mtf_pybinder.mtf_binder, test_case_name: str, log_directory: str, tracing_active: bool = True, signal_playback_active: bool = True) -> bool
Start a Test Serie execution
- start_test_serie(*args, **kwargs)
Overloaded function.
start_test_serie(self: mtf.libs.mtf_pybinder.mtf_binder, cycle_time_factor: int = 1, min_debounce_time: int = 0) -> bool
Start a Test Serie execution
start_test_serie(self: mtf.libs.mtf_pybinder.mtf_binder, serie_config: mtf.libs.mtf_pybinder.mtf_test_serie_config) -> bool
Start a Test Serie execution with config struct
- stop_application(self: mtf.libs.mtf_pybinder.mtf_binder) bool
De-Init the MTF Core
- stop_signal_playback(self: mtf.libs.mtf_pybinder.mtf_binder) None
Stop signal playback if active
- stop_test_case(self: mtf.libs.mtf_pybinder.mtf_binder) bool
Stop a Test case execution
- stop_test_serie(self: mtf.libs.mtf_pybinder.mtf_binder) bool
Stop a Test Serie execution