"D:\lssconda\envs\uitoolenv\python.exe" -u "D:\chromedownloadlss\AirtestIDE\sample\custom_launcher.py" "D:\gitfile\yuwan_autotest\AutotestScripts\UI自动化\2DUI\2D大厅\hall_beibao.air" --device android://127.0.0.1:5037/10AF1F0R0T001F5?cap_method=ADBCAP&touch_method=MAXTOUCH& --log "C:\Users\D0333\AppData\Local\Temp\AirtestIDE\scripts\5b4991b518cfaecbec27284fb99244d5"
============================================================
[Start running..]
save log in 'C:\Users\D0333\AppData\Local\Temp\AirtestIDE\scripts\5b4991b518cfaecbec27284fb99244d5'
[15:09:09][DEBUG]<airtest.core.android.adb> D:\lssconda\envs\uitoolenv\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -P 5037 -s 10AF1F0R0T001F5 wait-for-device
[15:09:09][DEBUG]<airtest.core.android.adb> D:\lssconda\envs\uitoolenv\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -P 5037 -s 10AF1F0R0T001F5 shell getprop ro.build.version.sdk
custom setup
D:\gitfile\yuwan_autotest\AutotestScripts\UI自动化\2DUI\2D大厅\hall_beibao.air
[15:09:09][INFO]<airtest.core.api> --当前为本地调试GOT Online==
[15:09:09][DEBUG]<airtest> [UWA] import UWA
[15:09:09][INFO]<airtest.core.api> Try finding: Template(D:\gitfile\yuwan_autotest\AutotestScripts\UI自动化\2DUI\2D大厅\hall_beibao.air\tpl1716455788504.png)
D:\lssconda\envs\uitoolenv\lib\site-packages\airtest\core\android\cap_methods\adbcap.py:10: UserWarning: Currently using ADB screenshots, the efficiency may be very low.
warnings.warn("Currently using ADB screenshots, the efficiency may be very low.")[15:09:15][DEBUG]<airtest.core.api> resize: (60, 38)->(60, 38), resolution: (2400, 1080)=>(2392, 1080)
[15:09:15][DEBUG]<airtest.core.api> try match with MultiScaleTemplateMatchingPre
[15:09:15][DEBUG]<airtest.aircv.multiscale_template_matching> [MSTemplatePre] threshold=0.9, result={'result': (260, 1052), 'rectangle': ((230.12, 1033.496), (230.12, 1071.496), (290.12, 1071.496), (290.12, 1033.496)), 'confidence': 0.997483491897583}
[15:09:15][DEBUG]<airtest.aircv.utils> find_best_result() run time is 0.06 s.
[15:09:15][DEBUG]<airtest.core.api> match result: {'result': (260, 1052), 'rectangle': ((230.12, 1033.496), (230.12, 1071.496), (290.12, 1071.496), (290.12, 1033.4[15:09:18][DEBUG]<airtest.core.api> resize: (60, 38)->(60, 38), resolution: (2400, 1080)=>(2392, 1080)
[15:09:18][DEBUG]<airtest.core.api> try match with MultiScaleTemplateMatchingPre
96)), 'confidence': 0.997483491897583, 'time': 0.06083798408508301}[15:09:18][DEBUG]<airtest.aircv.multiscale_template_matching> [MSTemplatePre] threshold=0.9, result={'result': (260, 1052), 'rectangle': ((230.12, 1033.496), (230.12, 1071.496), (290.12, 1071.496), (290.12, 1033.496)), 'confidence': 0.997483491897583}
[15:09:18][DEBUG]<airtest.aircv.utils> find_best_result() run time is 0.06 s.
[15:09:18][DEBUG]<airtest.core.api> match result: {'result': (260, 1052), 'rectangle': ((230.12, 1033.496), (230.12, 1071.496), (290.12, 1071.496), (290.12, 1033.496)), 'confidence': 0.997483491897583, 'time': 0.059664011001586914}
[15:09:18][DEBUG]<airtest.core.android.adb> D:\lssconda\envs\uitoolenv\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -P 5037 -s 10AF1F0R0T001F5 shell ls -l /data/local/tmp/rotationwatcher.jar
[15:09:18][DEBUG]<airtest.core.android.rotation> install_rotationwatcher skipped
[15:09:18][DEBUG]<airtest.core.android.adb> D:\lssconda\envs\uitoolenv\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -P 5037 -s 10AF1F0R0T001F5 shell app_process -Djava.class.path=/data/local/tmp/rotationwatcher.jar /data/local/tmp com.example.rotationwatcher.Main
[15:09:19][DEBUG]<airtest.utils.nbsp> [rotation_server]b'90'
[15:09:19][INFO]<airtest.core.android.rotation> update orientation None->1
[15:09:19][DEBUG]<airtest.core.android.adb> D:\lssconda\envs\uitoolenv\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -P 5037 -s 10AF1F0R0T001F5 shell wm size
[15:09:19][DEBUG]<airtest.core.android.adb> D:\lssconda\envs\uitoolenv\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -P 5037 -s 10AF1F0R0T001F5 shell getprop ro.sf.lcd_density
[15:09:20][DEBUG]<airtest.core.android.adb> D:\lssconda\envs\uitoolenv\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -P 5037 -s 10AF1F0R0T001F5 shell dumpsys SurfaceFlinger
[15:09:20][DEBUG]<airtest.core.android.adb> D:\lssconda\envs\uitoolenv\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -P 5037 -s 10AF1F0R0T001F5 shell dumpsys input
D:\lssconda\envs\uitoolenv\lib\site-packages\airtest\core\android\adb.py:1118: UserWarning: Could not obtain the orientation, return 0
warnings.warn("Could not obtain the orientation, return 0")
[15:09:20][DEBUG]<airtest.core.android.adb> D:\lssconda\envs\uitoolenv\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -P 5037 -s 10AF1F0R0T001F5 shell getevent -p
[15:09:20][DEBUG]<airtest.core.android.adb> D:\lssconda\envs\uitoolenv\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -P 5037 -s 10AF1F0R0T001F5 shell ls -l /data/local/tmp/maxpresent.jar
[15:09:20][DEBUG]<airtest.core.android.touch_methods.maxtouch> install_maxtouch skipped
[15:09:20][DEBUG]<airtest.core.android.adb> D:\lssconda\envs\uitoolenv\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -P 5037 -s 10AF1F0R0T001F5 forward --no-rebind tcp:15695 localabstract:maxpresent_15695
[15:09:20][DEBUG]<airtest.core.android.adb> D:\lssconda\envs\uitoolenv\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -P 5037 -s 10AF1F0R0T001F5 shell app_process -Djava.class.path=/data/local/tmp/maxpresent.jar /data/local/tmp com.netease.maxpresent.MaxPresent socket maxpresent_15695
[15:09:21][DEBUG]<airtest.utils.nbsp> [airtouch_server]b'Metrics Message : 2392.0=====1080.0'
[15:09:21][DEBUG]<airtest.utils.nbsp> [airtouch_server]b'Start local socket (maxpresent_15695) server...'
[15:09:21][INFO]<airtest.core.api> Try finding: Template(D:\gitfile\yuwan_autotest\AutotestScripts\UI自动化\2DUI\2D大厅\hall_beibao.air\tpl1669256938052.png)
[15:09:21][DEBUG]<airtest.core.android.adb> D:\lssconda\envs\uitoolenv\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -P 5037 -s 10AF1F0R0T001F5 shell screencap -p
[15:09:24][DEBUG]<airtest.core.api> resize: (332, 579)->(332, 579), resolution: (2400, 1080)=>(2392, 1080)
[15:09:24][DEBUG]<airtest.core.api> try match with MultiScaleTemplateMatchingPre
[15:09:24][DEBUG]<airtest.aircv.multiscale_template_matching> [MSTemplatePre] threshold=0.7, result={'result': (484, 364), 'rectangle': ((368.12, 161), (368.12, 567), (601.12, 567), (601.12, 161)), 'confidence': 0.34273234009742737}
[15:09:24][DEBUG]<airtest.aircv.utils> find_best_result() run time is 0.81 s.
[15:09:24][DEBUG]<airtest.core.api> try match with TemplateMatching
[15:09:24][DEBUG]<airtest.aircv.template_matching> [Template] threshold=0.7, result={'result': (237, 381), 'rectangle': ((71, 92), (71, 671), (403, 671), (403, 92)), 'confidence': 0.3817158639431}
[15:09:24][DEBUG]<airtest.aircv.utils> find_best_result() run time is 0.07 s.
[15:09:24][DEBUG]<airtest.core.api> try match with SIFTMatching
[15:09:26][DEBUG]<airtest.aircv.utils> find_best_result() run time is 1.02 s.
[15:09:26][DEBUG]<airtest.core.api> try match with BRISKMatching
[15:09:26][DEBUG]<airtest.aircv.utils> find_best_result() run time is 0.42 s.
[15:09:26][DEBUG]<airtest.core.api> match result: None
[15:09:26][DEBUG]<airtest.core.android.adb> D:\lssconda\envs\uitoolenv\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -P 5037 -s 10AF1F0R0T001F5 shell screencap -p
[15:09:29][DEBUG]<airtest.core.api> resize: (332, 579)->(332, 579), resolution: (2400, 1080)=>(2392, 1080)
[15:09:29][DEBUG]<airtest.core.api> try match with MultiScaleTemplateMatchingPre
[15:09:29][DEBUG]<airtest.aircv.multiscale_template_matching> [MSTemplatePre] threshold=0.7, result={'result': (447, 652), 'rectangle': ((330.12, 447), (330.12, 857), (565.12, 857), (565.12, 447)), 'confidence': 0.43233662843704224}
[15:09:29][DEBUG]<airtest.aircv.utils> find_best_result() run time is 0.79 s.
[15:09:29][DEBUG]<airtest.core.api> try match with TemplateMatching
[15:09:29][DEBUG]<airtest.aircv.template_matching> [Template] threshold=0.7, result={'result': (490, 370), 'rectangle': ((324, 81), (324, 660), (656, 660), (656, 81)), 'confidence': 0.36516353487968445}
[15:09:29][DEBUG]<airtest.aircv.utils> find_best_result() run time is 0.06 s.
[15:09:29][DEBUG]<airtest.core.api> try match with SIFTMatching
[15:09:30][DEBUG]<airtest.utils.nbsp> [rotation_server]b'0'
[15:09:30][DEBUG]<airtest.aircv.keypoint_base> [SIFT] threshold=0.7, result={'result': (383, 228), 'rectangle': [(211, 0), (211, 479), (556, 479), (556, 0)], 'confidence': 0.6019945293664932}
[15:09:30][DEBUG]<airtest.aircv.utils> find_best_result() run time is 0.65 s.
[15:09:30][DEBUG]<airtest.core.api> try match with BRISKMatching
[15:09:30][DEBUG]<airtest.core.api> 'Target area is 5 times bigger or 0.2 times smaller than sch_img.'
[15:09:30][DEBUG]<airtest.core.api> match result: None
[15:09:30][INFO]<airtest.core.android.rotation> update orientation 1->0
[15:09:31][DEBUG]<airtest.core.android.adb> D:\lssconda\envs\uitoolenv\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -P 5037 -s 10AF1F0R0T001F5 shell screencap -p
[15:09:34][DEBUG]<airtest.core.api> resize: (332, 579)->(221, 386), resolution: (2400, 1080)=>(1080, 2392)
[15:09:34][DEBUG]<airtest.core.api> try match with MultiScaleTemplateMatchingPre
[15:09:34][DEBUG]<airtest.core.api> 'error: in template match, found im_search bigger than im_source.'
[15:09:34][DEBUG]<airtest.core.api> try match with TemplateMatching
[15:09:34][DEBUG]<airtest.aircv.template_matching> [Template] threshold=0.7, result={'result': (182, 319), 'rectangle': ((72, 126), (72, 512), (293, 512), (293, 126)), 'confidence': 0.4159969687461853}
[15:09:34][DEBUG]<airtest.aircv.utils> find_best_result() run time is 0.08 s.
[15:09:34][DEBUG]<airtest.core.api> try match with SIFTMatching
[15:09:34][DEBUG]<airtest.aircv.utils> find_best_result() run time is 0.42 s.
[15:09:34][DEBUG]<airtest.core.api> try match with BRISKMatching
[15:09:34][DEBUG]<airtest.aircv.utils> find_best_result() run time is 0.15 s.
[15:09:34][DEBUG]<airtest.core.api> match result: None
[15:09:35][DEBUG]<airtest.core.android.adb> D:\lssconda\envs\uitoolenv\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -P 5037 -s 10AF1F0R0T001F5 shell screencap -p
[15:09:37][DEBUG]<airtest.core.api> resize: (332, 579)->(221, 386), resolution: (2400, 1080)=>(1080, 2392)
[15:09:37][DEBUG]<airtest.core.api> try match with MultiScaleTemplateMatchingPre
[15:09:37][DEBUG]<airtest.core.api> 'error: in template match, found im_search bigger than im_source.'
[15:09:37][DEBUG]<airtest.core.api> try match with TemplateMatching
[15:09:37][DEBUG]<airtest.aircv.template_matching> [Template] threshold=0.7, result={'result': (169, 318), 'rectangle': ((59, 125), (59, 511), (280, 511), (280, 125)), 'confidence': 0.4158484637737274}
[15:09:37][DEBUG]<airtest.aircv.utils> find_best_result() run time is 0.08 s.
[15:09:37][DEBUG]<airtest.core.api> try match with SIFTMatching
[15:09:38][DEBUG]<airtest.aircv.utils> find_best_result() run time is 0.41 s.
[15:09:38][DEBUG]<airtest.core.api> try match with BRISKMatching
[15:09:38][DEBUG]<airtest.aircv.utils> find_best_result() run time is 0.15 s.
[15:09:38][DEBUG]<airtest.core.api> match result: None
[15:09:38][DEBUG]<airtest.core.android.adb> D:\lssconda\envs\uitoolenv\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -P 5037 -s 10AF1F0R0T001F5 shell screencap -p
[15:09:41][DEBUG]<airtest.core.api> resize: (332, 579)->(221, 386), resolution: (2400, 1080)=>(1080, 2392)
[15:09:41][DEBUG]<airtest.core.api> try match with MultiScaleTemplateMatchingPre
[15:09:41][DEBUG]<airtest.core.api> 'error: in template match, found im_search bigger than im_source.'
[15:09:41][DEBUG]<airtest.core.api> try match with TemplateMatching
[15:09:41][DEBUG]<airtest.aircv.template_matching> [Template] threshold=0.7, result={'result': (183, 318), 'rectangle': ((73, 125), (73, 511), (294, 511), (294, 125)), 'confidence': 0.4152858853340149}
[15:09:41][DEBUG]<airtest.aircv.utils> find_best_result() run time is 0.08 s.
[15:09:41][DEBUG]<airtest.core.api> try match with SIFTMatching
[15:09:41][DEBUG]<airtest.aircv.utils> find_best_result() run time is 0.41 s.
[15:09:41][DEBUG]<airtest.core.api> try match with BRISKMatching
[15:09:42][DEBUG]<airtest.aircv.utils> find_best_result() run time is 0.15 s.
[15:09:42][DEBUG]<airtest.core.api> match result: None
[15:09:42][INFO]<airtest.core.api> ----------------执行过程中出现错误-------------------
custom tearDown
----------------------------------------------------------------------
Ran 1 test in 32.573s
OK
[15:09:42][DEBUG]<airtest.core.android.adb> D:\lssconda\envs\uitoolenv\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -P 5037 -s 10AF1F0R0T001F5 forward --remove tcp:15695
[15:09:42][DEBUG]<airtest.utils.nbsp> [rotation_server]b''
[15:09:42][DEBUG]<airtest.utils.nbsp> [airtouch_server]b''
[15:09:42][DEBUG]<airtest.core.android.adb> D:\lssconda\envs\uitoolenv\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -P 5037 -s 10AF1F0R0T001F5 forward --remove tcp:15695
[Finished]
============================================================
[15:09:15][INFO]<airtest.core.api> Try finding: Template(D:\gitfile\yuwan_autotest\AutotestScripts\UI自动化\2DUI\2D大厅\hall_beibao.air\tpl1716455788504.png)
[15:09:15][DEBUG]<airtest.core.android.adb> D:\lssconda\envs\uitoolenv\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -P 5037 -s 10AF1F0R0T001F5 shell screencap -p
[15:09:09][DEBUG]<airtest.core.android.adb> D:\lssconda\envs\uitoolenv\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -P 5037 -s 10AF1F0R0T001F5 shell screencap -p
[15:09:12][DEBUG]<airtest.core.android.adb> D:\lssconda\envs\uitoolenv\lib\site-packages\airtest\core\android\static\adb\windows\adb.exe -P 5037 -s 10AF1F0R0T001F5 shell screencap -p
解析一下
最新发布