{"id":10008402,"date":"2024-02-25T23:53:01","date_gmt":"2024-02-25T15:53:01","guid":{"rendered":"https:\/\/blog.itmax.cn\/?p=10008402"},"modified":"2024-02-25T23:53:01","modified_gmt":"2024-02-25T15:53:01","slug":"%e7%88%ac%e8%99%ab%e8%87%aa%e5%8a%a8%e5%8c%96%e6%8e%a7%e5%88%b6%e6%89%8b%e6%9c%ba%e6%8a%80%e6%9c%af%e9%80%89%e5%9e%8b%ef%bc%9auiautomator2-%e3%80%81-appium-%e5%92%8c-airtest-%e4%b8%89%e8%80%85","status":"publish","type":"post","link":"https:\/\/itmax.cn\/?p=10008402","title":{"rendered":"\u722c\u866b\u81ea\u52a8\u5316\u63a7\u5236\u624b\u673a\u6280\u672f\u9009\u578b\uff1auiautomator2 \u3001 appium \u548c Airtest \u4e09\u8005\u5bf9\u6bd4"},"content":{"rendered":"<p>\u4e4b\u524d\u63a5\u624b\u4e86\u4e00\u4e2a\u79bb\u804c\u540c\u65f6\u7684\u4ee3\u7801\uff0c\u4f7f\u7528\u7684\u662f uiautomator2 \u6765\u63a7\u5236\u624b\u673a\u505a\u5fae\u4fe1\u76f8\u5173\u5185\u5bb9\u7684\u6293\u53d6<\/p>\n<p>\u4f46\u662f uiautomator2 \u7684\u540d\u6c14\u4e0d\u662f\u5f88\u5927\uff0c\u5f53\u65f6\u90a3\u4e2a\u540c\u65f6\u62cd\u62cd\u5c41\u80a1\u8d70\u65f6\uff0c\u5bf9 uiautomator2 \u7684\u4f7f\u7528\u8fd8\u5b58\u5728\u4e00\u4e9b\u95ee\u9898\uff0c\u6bd4\u5982\u8fc7\u6bb5\u65f6\u95f4\u4e0d\u64cd\u4f5c\u624b\u673a\uff0c\u7535\u8111\u548c\u624b\u673a\u4e4b\u95f4\u5c31\u4f1a\u6c38\u4e45\u65ad\u8054\uff0c\u53ea\u80fd\u901a\u8fc7\u91cd\u88c5 u2 \u89e3\u51b3\uff08\u4e0d\u8fc7\u8fd9\u4e2a\u95ee\u9898\uff0c\u5728\u6211\u63a5\u624b\u540e\u6ca1\u6709\u9047\u5230\u8fc7\uff09<\/p>\n<p>\u770b\u300c\u5d14\u5e86\u624d\u300d\u7684\u300aPython3 \u7f51\u7edc\u722c\u866b\u5f00\u53d1\u5b9e\u6218 \u7b2c\u4e8c\u7248\u300b\u91cc\u9762\u63d0\u5230\u7684\u5bf9\u624b\u673a\u7684\u81ea\u52a8\u5316\u6846\u67b6\u4e3b\u8981\u662f appium \u548c Airtest \uff0c\u5e76\u6ca1\u6709\u63d0\u53ca uiautomator2\uff0c\u6240\u4ee5\u591a\u534a\u8fd9\u4e2a uiautomator2 \u662f\u4e0d\u5982 appium \u548c Airtest \u7684<\/p>\n<p>\u5bf9 uiautomator2 \u3001 appium \u548c Airtest \u4e09\u8005\u7684\u4f7f\u7528\u7ecf\u9a8c\uff0c\u6211\u90fd\u662f\u4e0d\u8db3\u7684\uff0c\u6240\u4ee5\u6211\u5c31\u5148\u7b80\u5355\u7684\u5bf9\u6bd4\u4e00\u4e0b\u4e09\u8005\u7684 commit \u6765\u770b\u770b\u9879\u76ee\u7684\u6d3b\u8dc3\u7a0b\u5ea6\uff0c\u8fd9\u5728\u4e00\u5b9a\u7a0b\u5ea6\u4e0a\u53ef\u4ee5\u53cd\u5e94\u9879\u76ee\u7684\u53ef\u7528\u6027<\/p>\n<p>\u9996\u5148\u770b\u770b <a target=\"_blank\" href=\"https:\/\/link.segmentfault.com\/?enc=pmOlOHgNORJsIUgd0UmLNQ%3D%3D.wzSfH2xRGitcyqYdvGgfjkTHxg9rKuzXThjYNUSgiLDdxP5O6ZRvLlvdPQmYo1iLTGF7YsAl%2F5rVCiVh%2BLFHlA%3D%3D\" rel=\"noopener noreferrer\">appium<\/a> \u7684 commits \u8bb0\u5f55<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"723\" height=\"371\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVdbxry\" alt=\"\u56fe\u7247.png\" title=\"\u56fe\u7247.png\"><\/p>\n<p>\u518d\u770b\u770b <a target=\"_blank\" href=\"https:\/\/link.segmentfault.com\/?enc=LqqbtWI0z9cY8SknDggAYA%3D%3D.JjtGE6GGBnzpd5m62qV1Sl5%2FJ6hQW%2Fd%2F8nRQpTux5O%2FxQ%2BbnKWRJ35Yn1KVnAD4cZ0ZvTK5MFPQmVcW%2F1Sn7aOxXddnLVqn3CNjsQXr1k0c%3D\" rel=\"noopener noreferrer\">Airtest<\/a> \u7684 commits \u8bb0\u5f55<\/p>\n<p><img decoding=\"async\" width=\"723\" height=\"385\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVdbxrz\" alt=\"\u56fe\u7247.png\" title=\"\u56fe\u7247.png\" loading=\"lazy\"><\/p>\n<p>\u518d\u770b\u770b <a target=\"_blank\" href=\"https:\/\/link.segmentfault.com\/?enc=ZPjagNCcYTdZ7%2B%2F1TMG4Lw%3D%3D.EE61ryyt%2BHdhOplL1U%2FwSA77ZzjXWS63mQe6h7CK%2Bw7VeFtTZHQ8CWoLiRtvtI7FI6dR1kbBFxdGQzBB8M7DyQ%3D%3D\" rel=\"noopener noreferrer\">uiautomator2<\/a> \u7684 commits \u8bb0\u5f55<\/p>\n<p><img decoding=\"async\" width=\"723\" height=\"373\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/bVdbxrB\" alt=\"\u56fe\u7247.png\" title=\"\u56fe\u7247.png\" loading=\"lazy\"><\/p>\n<p>\u53ef\u4ee5\u770b\u5230\uff0c\u4ece\u9879\u76ee\u7684\u7ef4\u62a4\u70ed\u60c5\u6765\u770b\uff0c\u662f appium &gt;&gt; Airtest &gt;&gt; uiautomator2<\/p>\n<hr>\n<p>\u6240\u4ee5\uff0c\u5982\u679c\u8fd8\u6709\u65b0\u7684\u9879\u76ee\u542f\u52a8\uff0c\u5e94\u8be5\u4e0d\u4f1a\u9009\u62e9 uiautomator2 \u4e86\uff0c\u800c\u662f\u4f1a\u9009\u62e9 appium \u6216\u8005 Airtest<\/p>\n<p>\u81f3\u4e8e appium\u3001Airtest \u4e4b\u95f4\u7684\u5dee\u5f02\uff0c\u5efa\u8bae\u770b\u300c\u5d14\u5e86\u624d\u300d\u7684\u300aPython3 \u7f51\u7edc\u722c\u866b\u5f00\u53d1\u5b9e\u6218 \u7b2c\u4e8c\u7248\u300b\uff0c\u6709\u8fd1 40 \u9875\u7684\u5185\u5bb9\u5728\u8bb2\u8fd9\u4e24\u8005<\/p>\n<p><a href=\"https:\/\/segmentfault.com\/a\/1190000044656830\">https:\/\/segmentfault.com\/a\/1190000044656830<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e4b\u524d\u63a5\u624b\u4e86\u4e00\u4e2a\u79bb\u804c\u540c\u65f6\u7684\u4ee3\u7801\uff0c\u4f7f\u7528\u7684\u662f uiautomator2 \u6765\u63a7\u5236\u624b\u673a\u505a\u5fae\u4fe1\u76f8\u5173\u5185\u5bb9\u7684\u6293\u53d6 \u4f46\u662f uia [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-10008402","post","type-post","status-publish","format-standard","hentry","category-share"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts\/10008402","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10008402"}],"version-history":[{"count":0,"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts\/10008402\/revisions"}],"wp:attachment":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10008402"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10008402"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10008402"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}