diff --git a/cases/smoke/basic/screenshot32/new_script/testcases/test_camera.py b/cases/smoke/basic/screenshot32/new_script/testcases/test_camera.py index 3b03df7becadcd7bacc1f8aa158895fe8dfc556c..416dcd036cab326413630ae2c9852ae315041a7e 100644 --- a/cases/smoke/basic/screenshot32/new_script/testcases/test_camera.py +++ b/cases/smoke/basic/screenshot32/new_script/testcases/test_camera.py @@ -32,8 +32,12 @@ class Test: device.save_snapshot_to_local('{}_camera_step4.jpeg'.format(device.sn)) logging.info('stop recoding') - device.hdc_shell(f'uitest uiInput click 320 1095') - time.sleep(3) + device.click(320, 1095) + time.sleep(2) + device.click(320, 1095) + time.sleep(2) + device.click(320, 1095) + time.sleep(4) device.save_snapshot_to_local('{}_camera_step5.jpeg'.format(device.sn)) logging.info('click left behind button in order to switch to gallery app')