autoease.core package¶
Submodules¶
- autoease.core.api module
init_autoease()
put_stage()
wait()
get_resource()
key_press()
keys_press()
key_down()
key_up()
input_console_command()
key_write()
gamepad_button_up()
gamepad_button_down()
gamepad_button_press()
gamepad_left_joystick_set()
gamepad_left_joystick_set_and_reset()
gamepad_right_joystick_set()
gamepad_right_joystick_set_and_reset()
gamepad_left_trigger_set()
gamepad_left_trigger_set_and_reset()
gamepad_right_trigger_set()
gamepad_right_trigger_set_and_reset()
mouse_move_and_click()
mouse_click()
mouse_double_click()
mouse_drag()
mouse_move()
mouse_wheel()
img_exist()
assert_img_exists()
assert_img_not_exists()
img_click()
img_double_click()
ocr_exist_sentence()
ocr_assert_exist_sentence()
ocr_exist_sentence_on_screen_rectangle()
ocr_click()
assert_is_not_false()
assert_is_false()
assert_is_true()
assert_is_not_true()
assert_equal()
assert_greater()
assert_greater_equal()
assert_less()
assert_less_equal()
wait_for_keyword()
assert_log_exist()
fail()
success()
get_performance_state()
AUTOEASE_PARAMS
get_params()
get_range_performance_data()
get_device_info()
- autoease.core.autoease_global module
Platform
RunMode
AutoEaseG
AutoEaseG.MODE
AutoEaseG.PLATFORM
AutoEaseG.CASE_NAME
AutoEaseG.RECORD_ID
AutoEaseG.REPORT_URL
AutoEaseG.IS_RECORD
AutoEaseG.IS_UPLOAD_VIDEO
AutoEaseG.LOGS_SAVED
AutoEaseG.CASE_START_TIME
AutoEaseG.LOG_FILE_PATH
AutoEaseG.LOGGING
AutoEaseG.DEVICE
AutoEaseG.STAGE_MANAGER
AutoEaseG.PERFORMANCE_TOOL
AutoEaseG.RECORDER
AutoEaseG.GAME_PATH
AutoEaseG.GAME_NAME
AutoEaseG.GAME_PROJECT_NAME
AutoEaseG.LOG_PATH
AutoEaseG.GAME_PID
AutoEaseG.FILE_MANAGER
AutoEaseG.CASE_RESOURCE_MANAGER
AutoEaseG.HAS_SEND_REPORT
AutoEaseG.CASE_LOG
AutoEaseG.CASE_ERROR_LOG
import_device_cls()
import_performance_tool_cls()
get_actual_mode()
init_autoease_global()
close_and_send_report()
- autoease.core.case_resource_manager module
- autoease.core.error module
- autoease.core.helper module
- autoease.core.reporter module
- autoease.core.run_case module
- autoease.core.stage module
Stage
StageManager
StageManager.STAGES_LIST
StageManager.CUR_STAGE
StageManager.CUR_STEP
StageManager.IS_AUTOEASE_API_ERROR
StageManager.IS_ERROR_IN_STAGE
StageManager.append_stage()
StageManager.append_step()
StageManager.get_stages_list()
StageManager.get_whole_result()
StageManager.get_dependency_file_dict_from_args()
auto_put_step()
put_step()
Module contents¶
@author: meili @contact: meili02@corp.netease.com @file: __init__.py.py @date: 2022/11/21 14:24 @desc: