diff --git a/screenshot/resource/app_capture_screen_test_config.json b/screenshot/resource/app_capture_screen_test_config.json index 05418c639a8903392aa7834de0e4a58ee86f1563..c6076a915a2928ec90ecd41acecd65243f0a286f 100644 --- a/screenshot/resource/app_capture_screen_test_config.json +++ b/screenshot/resource/app_capture_screen_test_config.json @@ -49,23 +49,23 @@ "all_actions": [[2, "connect_wifi"], [2, "check_ping_baidu"], [2, "stop_hilog"], [2, "compress_log"], [2, "recv_log-file", "/data/log/hilog/wifi_connect_log.tar"]] }, { - "app_name": "vedio_test", + "app_name": "video_test", "entry": "", - "install_vedio_test":["hdc_std install D:\\DeviceTestTools\\screenshot\\vediotest\\ActsVideoPlayerJsTest.hap"], + "install_video_test":["hdc_std install D:\\DeviceTestTools\\screenshot\\vediotest\\ActsVideoPlayerJsTest.hap"], "mk_test_dir":["hdc_std shell mkdir -p /data/app/el1/bundle/public/ohos.acts.multimedia.video.videoplayer/ohos.acts.multimedia.video.videoplayer/assets/entry/resources/rawfile"], - "send_vedio":["hdc_std file send D:\\DeviceTestTools\\screenshot\\vediotest\\H264_AAC.mp4 /data/app/el1/bundle/public/ohos.acts.multimedia.video.videoplayer/ohos.acts.multimedia.video.videoplayer/assets/entry/resources/rawfile/"], + "send_video":["hdc_std file send D:\\DeviceTestTools\\screenshot\\vediotest\\H264_AAC.mp4 /data/app/el1/bundle/public/ohos.acts.multimedia.video.videoplayer/ohos.acts.multimedia.video.videoplayer/assets/entry/resources/rawfile/"], "close_auto_log":["hdc_std shell \"hilog -w stop;rm /data/log/hilog/*\""], - "start_vedio_log":["hdc_std shell \"hilog -b X;hilog -b D -T JSApp;hilog -r\""], + "start_video_log":["hdc_std shell \"hilog -b X;hilog -b D -T JSApp;hilog -r\""], "start_test":["hdc_std shell aa start -a ohos.acts.multimedia.video.videoplayer.MainAbility -b ohos.acts.multimedia.video.videoplayer"], - "recover_log":["hdc_std shell \"cd data/log/hilog/;hilog -x > vedio_log.txt;hilog -b D"], + "recover_log":["hdc_std shell \"cd data/log/hilog/;hilog -x > video_log.txt;hilog -b D"], "stop_hilog":["hdc_std shell hilog -w stop"], - "check_result":["hdc_std shell \"cd /data/log/hilog && grep -nr 'total cases'\"", ""], - "compress_log":["hdc_std shell \"cd /data/log/hilog && tar -cf vedio_log.tar vedio_*\""], + "check_result":["hdc_std shell \"cd /data/log/hilog && grep -nr 'total cases'\"", "failure 0,error 0,pass 1"], + "compress_log":["hdc_std shell \"cd /data/log/hilog && tar -cf video_log.tar video_*\""], "clear_log":["hdc_std shell rm /data/log/hilog/*"], "all_actions": [ - [2, "install_vedio_test"], [2, "mk_test_dir"], [2, "remount"], [2, "send_vedio"], [2, "close_auto_log"], - [0, "start_vedio_log"], [15, "start_test"],[2, "recover_log"], [2, "stop_hilog"], [2, "check_result"], [2, "compress_log"], - [2, "recv_log-file", "/data/log/hilog/vedio_log.tar"], [2, "clear_log"], [2, "recent-x-y"], [2, "recent_del-x-y"], [2, "recent-x-y"], [2, "recent_del-x-y"] + [2, "install_video_test"], [2, "mk_test_dir"], [2, "remount"], [2, "send_video"], [2, "close_auto_log"], + [0, "start_video_log"], [15, "start_test"],[2, "recover_log"], [2, "stop_hilog"], [2, "check_result"], [2, "compress_log"], + [2, "recv_log-file", "/data/log/hilog/video_log.tar"], [2, "clear_log"], [2, "recent-x-y"], [2, "recent_del-x-y"], [2, "recent-x-y"], [2, "recent_del-x-y"] ] }, {