diff --git a/screenshot32/DistributedTest/testcases/DistributedTest.py b/screenshot32/DistributedTest/testcases/DistributedTest.py index 41780ce980a864f7f74f091c0fdd3df9cde18226..24117f3e33ccdc5cae41be0eecbe67f6efe7ca70 100644 --- a/screenshot32/DistributedTest/testcases/DistributedTest.py +++ b/screenshot32/DistributedTest/testcases/DistributedTest.py @@ -37,8 +37,8 @@ class DistributedTest(TestCase): CommonOH.startAbility(self.Phone1, "ohos.samples.distributedcalc.MainAbility", "ohos.samples.distributedcalc") time.sleep(2) # 授权 - CommonOH.click(self.Phone1, 500, 706) - CommonOH.click(self.Phone1, 500, 706) + CommonOH.click(self.Phone1, 500, 1130) + CommonOH.click(self.Phone1, 500, 1130) CommonOH.hdc_std(self.Phone1, "shell snapshot_display -f /data/distributedcalc_step1.png") CommonOH.hdc_std(self.Phone1, "file recv /data/distributedcalc_step1.png testcases\\distributedcalc_step1.png") CommonOH.click(self.Phone1, 610, 110) @@ -93,8 +93,8 @@ class DistributedTest(TestCase): CommonOH.click(self.Phone1, 580, 1090) # 设备二授权 time.sleep(2) - CommonOH.click(self.Phone2, 500, 706) - CommonOH.click(self.Phone2, 500, 706) + CommonOH.click(self.Phone2, 500, 1130) + CommonOH.click(self.Phone2, 500, 1130) # 校验远端计算器是否被拉起 CommonOH.hdc_std(self.Phone2, "shell snapshot_display -f /data/distributedcalc_step6.png") CommonOH.hdc_std(self.Phone2, "file recv /data/distributedcalc_step6.png testcases\\distributedcalc_step6.png") diff --git a/screenshot32/resource/app_capture_screen_test_config.json b/screenshot32/resource/app_capture_screen_test_config.json index bfdf8b4117069c1a4f02f0d65c1c733bce6795fa..181f360af4cf7bfb37aa97f04aff75f87caa231f 100644 --- a/screenshot32/resource/app_capture_screen_test_config.json +++ b/screenshot32/resource/app_capture_screen_test_config.json @@ -6,7 +6,8 @@ "recent-x-y":[515, 1240], "home-x-y":[360, 1240], "recent_del-x-y":[360, 1170], - "permisson_ok-x-y":[575, 700], + "permisson_ok-x-y":[500, 1130], + "note_content-x-y":[500, 310], "take_photos-x-y":[360, 1095], "convert_to_video-x-y":[430, 980], "convert_to_photos-x-y":[200, 1095], @@ -113,7 +114,7 @@ "entry": "aa start -a MainAbility -b com.ohos.note", "kill_note": ["killall com.ohos.note"], "all_actions": [ - [2, "permisson_ok-x-y"], [2, "permisson_ok-x-y"], [5, "permisson_ok-x-y"], [2, "permisson_ok-x-y"], [2, "permisson_ok-x-y"], [2, "shot_cmd"], [1, "cmp_cmd-level"], [2, "recent-x-y"], [1, "recent_del-x-y"] + [2, "permisson_ok-x-y"], [2, "permisson_ok-x-y"], [5, "note_content-x-y"], [2, "note_content-x-y"], [2, "shot_cmd"], [1, "cmp_cmd-level"], [2, "recent-x-y"], [1, "recent_del-x-y"] ] }, { @@ -121,7 +122,7 @@ "entry": "aa start -a com.ohos.contacts.MainAbility -b com.ohos.contacts", "kill_contacts": ["killall com.ohos.contacts"], "all_actions": [ - [2, "permisson_ok-x-y"], [2, "permisson_ok-x-y"], [2, "permisson_ok-x-y"], [2, "permisson_ok-x-y"], [2, "phone-x-y"], [2, "phone-x-y"], [2, "shot_cmd"], [1, "cmp_cmd-level"], [1, "kill_contacts"] + [2, "phone-x-y"], [2, "phone-x-y"], [2, "shot_cmd"], [1, "cmp_cmd-level"], [1, "kill_contacts"] ] },