{"id":111,"date":"2026-07-26T15:58:25","date_gmt":"2026-07-26T07:58:25","guid":{"rendered":"https:\/\/www.deartester.com\/index.php\/2026\/09\/01\/%e7%94%a8%e5%a4%a7%e6%a8%a1%e5%9e%8b%e5%ae%9e%e7%8e%b0app%e8%87%aa%e5%8a%a8%e5%8c%96%e6%b5%8b%e8%af%95%ef%bc%9aandroid%ef%bc%8cios%ef%bc%8charmonyos%e4%b8%80%e6%ac%a1%e6%90%9e%e5%ae%9a\/"},"modified":"2026-09-03T23:17:32","modified_gmt":"2026-09-03T15:17:32","slug":"%e7%94%a8%e5%a4%a7%e6%a8%a1%e5%9e%8b%e5%ae%9e%e7%8e%b0app%e8%87%aa%e5%8a%a8%e5%8c%96%e6%b5%8b%e8%af%95%ef%bc%9aandroid%ef%bc%8cios%ef%bc%8charmonyos%e4%b8%80%e6%ac%a1%e6%90%9e%e5%ae%9a","status":"publish","type":"post","link":"https:\/\/www.deartester.com\/index.php\/2026\/07\/26\/%e7%94%a8%e5%a4%a7%e6%a8%a1%e5%9e%8b%e5%ae%9e%e7%8e%b0app%e8%87%aa%e5%8a%a8%e5%8c%96%e6%b5%8b%e8%af%95%ef%bc%9aandroid%ef%bc%8cios%ef%bc%8charmonyos%e4%b8%80%e6%ac%a1%e6%90%9e%e5%ae%9a\/","title":{"rendered":"\u7528\u5927\u6a21\u578b\u5b9e\u73b0APP\u81ea\u52a8\u5316\u6d4b\u8bd5\uff1aAndroid\uff0ciOS\uff0cHarmonyOS\u4e00\u6b21\u641e\u5b9a"},"content":{"rendered":"<p data-pm-slice=\"0 0 []\"><span style=\"box-sizing: border-box;margin: 0px 0px 10px;padding: 3px 10px;display: inline-block;font-size: 12px;font-weight: 700;color: rgb(255, 255, 255);background: rgb(79, 70, 229);border-radius: 20px;letter-spacing: 0.5px;\"><span leaf=\"\">\u5bfc\u8bfb<\/span><\/span><span leaf=\"\">&nbsp;<\/span><\/p>\n<h2 style=\"box-sizing: border-box;margin: 0px;padding: 0px 0px 12px;font-size: 22px;font-weight: 800;color: rgb(26, 26, 46);border-bottom: 3px solid rgb(79, 70, 229);display: inline-block;line-height: 1.35;\"><span leaf=\"\">\u4e00\u4e2a\u6d4b\u8bd5\u65b0\u4eba\u7684\u5165\u804c\u7b2c\u4e00\u5929<\/span><\/h2>\n<p style=\"box-sizing: border-box;margin: 16px 0px;padding: 0px 0px 0px 14px;color: rgb(75, 85, 99);font-size: 16px;border-left: 3px solid rgb(209, 213, 219);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\"><span leaf=\"\">\u5c0f\u5f20\u4eca\u5e74\u521a\u6bd5\u4e1a\uff0c\u5165\u804c\u7b2c\u4e00\u5929\u88ab\u62c9\u5230\u9879\u76ee\u7fa4\u91cc\u3002Leader\u53d1\u6765\u4e00\u6761\u6d88\u606f\uff1a&#8221;\u6296\u97f3APP\u4e09\u7aef\u81ea\u52a8\u5316\u4f60\u8d1f\u8d23\u4e00\u4e0b\uff0c\u4e0b\u5468\u51fa\u7b2c\u4e00\u7248\u3002&#8221;<\/span><\/p>\n<p style=\"box-sizing: border-box;margin: 12px 0px;padding: 0px;color: rgb(55, 65, 81);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 2em;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\"><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 15px;\">\u5c0f\u5f20\u6253\u5f00\u7535\u8111\uff0c\u7ffb\u4e86\u4e09\u904d\u6587\u6863\uff0c\u53d1\u73b0\u4e00\u4e2a\u95ee\u9898\u2014\u2014\u767b\u5f55\u6d41\u7a0b\u5728Android\u4e0a\u662f\u7528UiAutomator2\u5199\u7684\uff0ciOS\u4e0a\u7528\u7684\u662fXCUITest\uff0cHarmonyOS\u90a3\u8fb9\u8fd8\u5728\u7528\u8001\u7684API\u3002\u540c\u4e00\u4e2a&#8221;\u6ed1\u5230\u7b2c\u4e8c\u5c4f&#8221;\u7684\u52a8\u4f5c\uff0cAndroid\u662f<\/span><\/span><code style=\"box-sizing: border-box;margin: 0px;padding: 2px 6px;background: rgb(240, 241, 244);border-radius: 4px;font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, monospace;font-size: 13px;color: rgb(190, 18, 60);\"><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 15px;\">TouchAction(scroll)<\/span><\/span><\/code><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 15px;\">\uff0ciOS\u662f<\/span><\/span><code style=\"box-sizing: border-box;margin: 0px;padding: 2px 6px;background: rgb(240, 241, 244);border-radius: 4px;font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, monospace;font-size: 13px;color: rgb(190, 18, 60);\"><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 15px;\">mobile: scroll<\/span><\/span><\/code><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 15px;\">\uff0cHarmonyOS\u53c8\u8981\u8c03\u53e6\u4e00\u4e2a\u5e93\u3002\u4e09\u5957\u4ee3\u7801\uff0c\u4e09\u4e2a\u6846\u67b6\uff0c\u4e09\u79cd\u5199\u6cd5\u3002<\/span><\/span><\/p>\n<p style=\"box-sizing: border-box;margin: 12px 0px;padding: 0px;color: rgb(55, 65, 81);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\"><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 15px;color: #407600;\">\u8fd9\u662f\u884c\u4e1a\u5e38\u6001\u3002\u4f46\u4eca\u5e74\u4e0d\u4e00\u6837\u4e86\u3002<\/span><\/span><\/p>\n<p style=\"box-sizing: border-box;margin: 12px 0px;padding: 0px;color: rgb(55, 65, 81);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 2em;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\"><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 15px;\">\u5927\u6a21\u578b\u65f6\u4ee3\u7684\u5230\u6765\uff0c\u8ba9\u6211\u4eec\u7ec8\u4e8e\u6709\u4e86\u4e00\u4e2a\u9009\u62e9\u2014\u2014\u4e0d\u518d\u4eba\u8089\u7ffb\u8bd1\u4e09\u7aef\u903b\u8f91\uff0c\u800c\u662f\u8ba9\u6a21\u578b\u7406\u89e3\u4f60\u7684<\/span><\/span><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 15px;\">\u64cd\u4f5c\u610f\u56fe<\/span><\/span><\/strong><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 15px;\">\uff0c\u81ea\u52a8\u751f\u6210\u5bf9\u5e94\u5e73\u53f0\u7684\u4ee3\u7801\u3002\u4f60\u8bf4&#8221;\u6ed1\u5230\u7b2c\u4e8c\u5c4f&#8221;\uff0c\u6a21\u578b\u77e5\u9053\u4f60\u8981\u627e\u4ec0\u4e48\u5143\u7d20\u3001\u7528\u4ec0\u4e48\u65b9\u5f0f\u6ed1\u3001\u6ed1\u591a\u8fdc\u3002<\/span><\/span><span style=\"box-sizing: border-box;margin: 0px;padding: 1px 5px;background: rgb(254, 249, 195);border-radius: 4px;font-weight: 600;color: rgb(133, 77, 14);\"><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 15px;\">\u4e00\u5957\u81ea\u7136\u8bed\u8a00\uff0c\u4e09\u7aef\u5404\u81ea\u5b9e\u73b0<\/span><\/span><\/span><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 15px;\">\u3002<\/span><\/span><\/p>\n<p><span style=\"box-sizing: border-box;margin: 1px 0px 0px;padding: 0px;font-size: 20px;flex-shrink: 0;\"><span leaf=\"\">\ud83d\udca1<span textstyle=\"\" style=\"font-size: 15px;\">\u8fd9\u7bc7\u6587\u7ae0\u4f1a\u7ed9\u4f60\u4e00\u5957\u5b8c\u6574\u53ef\u590d\u7528\u7684\u65b9\u6848\uff1a\u4ece\u4e09\u7aef\u6a21\u62df\u5668\u5b89\u88c5\uff0c\u5230Appium\u73af\u5883\u642d\u5efa\uff0c\u518d\u5230\u57fa\u4e8e\u901a\u4e49\u5343\u95eeQwen\u7684Skill\u4e09\u4ef6\u5957\u5c01\u88c5\uff0c\u6700\u540e\u7528\u6296\u97f3APP\u7684\u5b8c\u6574\u6d41\u7a0b\u505a\u6f14\u793a\u3002\u770b\u5b8c\u5c31\u80fd\u52a8\u624b\u3002<\/span><\/span><\/span><\/p>\n<p style=\"box-sizing: border-box;margin: 0px;padding: 0px;color: inherit;text-align: right;\"><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 15px;color: #ab1942;font-weight: bold;\">\u6587\u4e2d\u9644\u5b8c\u6574skill\u6a21\u7248<\/span><\/span><\/p>\n<hr style=\"border-style: solid;border-width: 1px 0 0;border-color: rgba(0,0,0,0.1);-webkit-transform-origin: 0 0;-webkit-transform: scale(1, 0.5);transform-origin: 0 0;transform: scale(1, 0.5);\"  \/>\n<section><span leaf=\"\"><br  \/><\/span><\/section>\n<section><span style=\"box-sizing: border-box;margin: 0px 0px 10px;padding: 3px 10px;display: inline-block;font-size: 12px;font-weight: 700;color: rgb(255, 255, 255);background: rgb(16, 185, 129);border-radius: 20px;letter-spacing: 0.5px;font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\" data-pm-slice=\"0 0 []\"><span leaf=\"\">\u7b2c\u4e00\u7ae0<\/span><\/span><span style=\"color: rgb(26, 26, 46);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(250, 251, 252);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;display: inline !important;float: none;\"><span leaf=\"\">&nbsp;<\/span><\/span><\/section>\n<h2 style=\"box-sizing: border-box;margin: 0px;padding: 0px 0px 12px;font-size: 22px;font-weight: 800;color: rgb(26, 26, 46);border-bottom: 3px solid rgb(79, 70, 229);display: inline-block;line-height: 1.35;font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(250, 251, 252);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\"><span leaf=\"\">\u75db\u70b9\u2014\u2014\u4e3a\u4ec0\u4e48\u4e09\u7aef\u81ea\u52a8\u5316\u662f\u884c\u4e1a\u96be\u9898<\/span><\/h2>\n<section><span leaf=\"\"><br  \/><\/span><\/section>\n<section style=\"text-align: center;\"><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 15px;color: #7b0c00;font-weight: bold;\">\u540c\u4e00\u767b\u5f55\u529f\u80fd\u2014\u2014\u4e09\u7aef\u5b8c\u5168\u4e0d\u540c\u4ee3\u7801<\/span><\/span><\/section>\n<section style=\"text-align: center;\" nodeleaf=\"\">\n<figure class=\"wx-qr-wrap\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-aistatus=\"1\" data-imgfileid=\"100000533\" data-s=\"300,640\" data-type=\"png\" type=\"block\" src=\"https:\/\/mmbiz.qpic.cn\/sz_mmbiz_png\/BWmfcibGhS1I77LBu2Pfj0ggyAOOZCicMQP4jrzyFwFlEcPLTMJ0jgibfrb8oIjbMIIBiauqxCSwjFlB2U5gzUOH3ErNDIoq0cpicRhrfPbx6mEs\/640?wx_fmt=png&#038;from=appmsg\" \/><figcaption class=\"wx-qr-tip\"><img decoding=\"async\" src=\"https:\/\/www.deartester.com\/wp-content\/uploads\/2026\/09\/wechat-qr.jpg\" alt=\"\u5fae\u4fe1\u516c\u4f17\u53f7\u4e8c\u7ef4\u7801\" loading=\"lazy\"><span>\u56fe\u7247\u5f15\u81ea\u5fae\u4fe1\u516c\u4f17\u53f7\uff0c\u626b\u7801\u5173\u6ce8\u9605\u8bfb\u539f\u6587<\/span><\/figcaption><\/figure>\n<\/section>\n<section style=\"text-align: center;\"><span style=\"color: rgb(156, 163, 175);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 13px;font-style: italic;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;\" data-pm-slice=\"0 0 []\"><span leaf=\"\">\u540c\u4e00\u767b\u5f55\u529f\u80fd\uff0cAndroid\/iOS\/HarmonyOS\u4e09\u5957\u5b8c\u5168\u4e0d\u540c\u4ee3\u7801<\/span><\/span><\/section>\n<p style=\"box-sizing: border-box;margin: 12px 0px;padding: 0px;color: rgb(55, 65, 81);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\" data-pm-slice=\"0 0 []\"><span leaf=\"\">\u5148\u8bf4\u7ed3\u8bba\uff1a<\/span><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\">\u4e0d\u662f\u6280\u672f\u96be\uff0c\u662f\u4e00\u4e2a\u4eba\u7ef4\u62a4\u4e09\u4e2a\u5e73\u53f0\u3001\u4e09\u5957\u4ee3\u7801\u4f53\u7cfb\uff0c\u8fd9\u662f\u53cd\u4eba\u6027\u7684\u3002<\/span><\/strong><\/p>\n<p style=\"box-sizing: border-box;margin: 12px 0px;padding: 0px;color: rgb(55, 65, 81);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\"><span leaf=\"\">\u6211\u4eec\u5148\u770b\u4e00\u4efd\u76f4\u89c2\u7684\u5bf9\u6bd4\uff1a<\/span><\/p>\n<table style=\"box-sizing: border-box;margin: 16px 0px;padding: 0px;width: 786.031px;border-collapse: collapse;font-size: 14px;border-radius: 10px;overflow: hidden;box-shadow: rgba(0, 0, 0, 0.06) 0px 1px 4px;color: rgb(26, 26, 46);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\">\n<thead>\n<tr style=\"box-sizing: border-box;margin: 0px;padding: 0px;\">\n<th style=\"box-sizing: border-box;margin: 0px;padding: 11px 14px;background: rgb(30, 41, 59);color: rgb(255, 255, 255);text-align: left;font-weight: 700;font-size: 13px;\">\n<section style=\"text-align: center;\"><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 12px;color: #d6a841;\">\u7ef4\u5ea6<\/span><\/span><\/section>\n<\/th>\n<th style=\"box-sizing: border-box;margin: 0px;padding: 11px 14px;background: rgb(30, 41, 59);color: rgb(255, 255, 255);text-align: left;font-weight: 700;font-size: 13px;\">\n<section style=\"text-align: center;\"><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 12px;color: #d6a841;\">\ud83e\udd16 Android<\/span><\/span><\/section>\n<\/th>\n<th style=\"box-sizing: border-box;margin: 0px;padding: 11px 14px;background: rgb(30, 41, 59);color: rgb(255, 255, 255);text-align: left;font-weight: 700;font-size: 13px;\">\n<section style=\"text-align: center;\"><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 12px;color: #d6a841;\">\ud83c\udf4e iOS<\/span><\/span><\/section>\n<\/th>\n<th style=\"box-sizing: border-box;margin: 0px;padding: 11px 14px;background: rgb(30, 41, 59);color: rgb(255, 255, 255);text-align: left;font-weight: 700;font-size: 13px;\">\n<section style=\"text-align: center;\"><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 12px;color: #d6a841;\">\ud83d\udcf1 HarmonyOS<\/span><\/span><\/section>\n<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr style=\"box-sizing: border-box;margin: 0px;padding: 0px;\">\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom: 1px solid rgb(241, 245, 249);color: rgb(55, 65, 81);vertical-align: top;\"><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\">\u6846\u67b6<\/span><\/strong><\/td>\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom: 1px solid rgb(241, 245, 249);color: rgb(55, 65, 81);vertical-align: top;\">\n<section><span leaf=\"\">UiAutomator2<\/span><\/section>\n<\/td>\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom: 1px solid rgb(241, 245, 249);color: rgb(55, 65, 81);vertical-align: top;\">\n<section><span leaf=\"\">XCUITest<\/span><\/section>\n<\/td>\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom: 1px solid rgb(241, 245, 249);color: rgb(55, 65, 81);vertical-align: top;\">\n<section><span leaf=\"\">DevEco Testing Toolkit<\/span><\/section>\n<\/td>\n<\/tr>\n<tr style=\"box-sizing: border-box;margin: 0px;padding: 0px;\">\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom: 1px solid rgb(241, 245, 249);color: rgb(55, 65, 81);vertical-align: top;background: rgb(248, 250, 252);\"><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\">\u8bed\u8a00<\/span><\/strong><\/td>\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom: 1px solid rgb(241, 245, 249);color: rgb(55, 65, 81);vertical-align: top;background: rgb(248, 250, 252);\">\n<section><span leaf=\"\">Java \/ Kotlin \/ Python<\/span><\/section>\n<\/td>\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom: 1px solid rgb(241, 245, 249);color: rgb(55, 65, 81);vertical-align: top;background: rgb(248, 250, 252);\">\n<section><span leaf=\"\">Swift \/ Objective-C \/ Python<\/span><\/section>\n<\/td>\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom: 1px solid rgb(241, 245, 249);color: rgb(55, 65, 81);vertical-align: top;background: rgb(248, 250, 252);\">\n<section><span leaf=\"\">ArkTS \/ Java \/ Python<\/span><\/section>\n<\/td>\n<\/tr>\n<tr style=\"box-sizing: border-box;margin: 0px;padding: 0px;\">\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom: 1px solid rgb(241, 245, 249);color: rgb(55, 65, 81);vertical-align: top;\"><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\">\u5b9a\u4f4d\u65b9\u5f0f<\/span><\/strong><\/td>\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom: 1px solid rgb(241, 245, 249);color: rgb(55, 65, 81);vertical-align: top;\"><code style=\"box-sizing: border-box;margin: 0px;padding: 2px 6px;background: rgb(240, 241, 244);border-radius: 4px;font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, monospace;font-size: 12px;color: rgb(190, 18, 60);\"><span leaf=\"\">resource-id<\/span><\/code><\/p>\n<section><span leaf=\"\">&nbsp;\/ xpath<\/span><\/section>\n<\/td>\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom: 1px solid rgb(241, 245, 249);color: rgb(55, 65, 81);vertical-align: top;\"><code style=\"box-sizing: border-box;margin: 0px;padding: 2px 6px;background: rgb(240, 241, 244);border-radius: 4px;font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, monospace;font-size: 12px;color: rgb(190, 18, 60);\"><span leaf=\"\">accessibility-id<\/span><\/code><\/p>\n<section><span leaf=\"\">&nbsp;\/ predicate<\/span><\/section>\n<\/td>\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom: 1px solid rgb(241, 245, 249);color: rgb(55, 65, 81);vertical-align: top;\"><code style=\"box-sizing: border-box;margin: 0px;padding: 2px 6px;background: rgb(240, 241, 244);border-radius: 4px;font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, monospace;font-size: 12px;color: rgb(190, 18, 60);\"><span leaf=\"\">ohos:id<\/span><\/code><\/p>\n<section><span leaf=\"\">&nbsp;\/ text<\/span><\/section>\n<\/td>\n<\/tr>\n<tr style=\"box-sizing: border-box;margin: 0px;padding: 0px;\">\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom: 1px solid rgb(241, 245, 249);color: rgb(55, 65, 81);vertical-align: top;background: rgb(248, 250, 252);\"><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\">\u6ed1\u52a8API<\/span><\/strong><\/td>\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom: 1px solid rgb(241, 245, 249);color: rgb(55, 65, 81);vertical-align: top;background: rgb(248, 250, 252);\"><code style=\"box-sizing: border-box;margin: 0px;padding: 2px 6px;background: rgb(240, 241, 244);border-radius: 4px;font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, monospace;font-size: 12px;color: rgb(190, 18, 60);\"><span leaf=\"\">UiScrollable \/ TouchAction<\/span><\/code><\/td>\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom: 1px solid rgb(241, 245, 249);color: rgb(55, 65, 81);vertical-align: top;background: rgb(248, 250, 252);\"><code style=\"box-sizing: border-box;margin: 0px;padding: 2px 6px;background: rgb(240, 241, 244);border-radius: 4px;font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, monospace;font-size: 12px;color: rgb(190, 18, 60);\"><span leaf=\"\">mobile: scroll \/ swipe<\/span><\/code><\/td>\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom: 1px solid rgb(241, 245, 249);color: rgb(55, 65, 81);vertical-align: top;background: rgb(248, 250, 252);\"><code style=\"box-sizing: border-box;margin: 0px;padding: 2px 6px;background: rgb(240, 241, 244);border-radius: 4px;font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, monospace;font-size: 12px;color: rgb(190, 18, 60);\"><span leaf=\"\">driver.swipe()<\/span><\/code><\/td>\n<\/tr>\n<tr style=\"box-sizing: border-box;margin: 0px;padding: 0px;\">\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom-width: medium;border-bottom-style: none;border-bottom-color: currentcolor;color: rgb(55, 65, 81);vertical-align: top;\"><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\">\u83b7\u53d6\u5143\u7d20<\/span><\/strong><\/td>\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom-width: medium;border-bottom-style: none;border-bottom-color: currentcolor;color: rgb(55, 65, 81);vertical-align: top;\"><code style=\"box-sizing: border-box;margin: 0px;padding: 2px 6px;background: rgb(240, 241, 244);border-radius: 4px;font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, monospace;font-size: 12px;color: rgb(190, 18, 60);\"><span leaf=\"\">driver.find_element(By.ID)<\/span><\/code><\/td>\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom-width: medium;border-bottom-style: none;border-bottom-color: currentcolor;color: rgb(55, 65, 81);vertical-align: top;\"><code style=\"box-sizing: border-box;margin: 0px;padding: 2px 6px;background: rgb(240, 241, 244);border-radius: 4px;font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, monospace;font-size: 12px;color: rgb(190, 18, 60);\"><span leaf=\"\">driver.find_element(By.ACCESSIBILITY_ID)<\/span><\/code><\/td>\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom-width: medium;border-bottom-style: none;border-bottom-color: currentcolor;color: rgb(55, 65, 81);vertical-align: top;\"><code style=\"box-sizing: border-box;margin: 0px;padding: 2px 6px;background: rgb(240, 241, 244);border-radius: 4px;font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, monospace;font-size: 12px;color: rgb(190, 18, 60);\"><span leaf=\"\">driver.findComponent(By.id)<\/span><\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"box-sizing: border-box;margin: 12px 0px;padding: 0px;color: rgb(55, 65, 81);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\"><span leaf=\"\">\u8fd9\u79cd\u5dee\u5f02\u5e26\u6765\u4e86\u4e09\u4e2a\u6838\u5fc3\u77db\u76fe\uff1a<\/span><\/p>\n<h3 style=\"box-sizing: border-box;margin: 32px 0px 12px;padding: 0px 0px 0px 14px;font-size: 17px;font-weight: 700;color: rgb(30, 64, 175);border-left: 4px solid rgb(59, 130, 246);line-height: 1.4;font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\"><span leaf=\"\">\u77db\u76fe\u4e00\uff1a\u547d\u540d\u6df7\u4e71<\/span><\/h3>\n<p style=\"box-sizing: border-box;margin: 12px 0px;padding: 0px;color: rgb(55, 65, 81);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\"><span leaf=\"\">\u540c\u4e00\u4e2a&#8221;\u767b\u5f55\u6309\u94ae&#8221;\uff0cAndroid\u4e0a\u662f<\/span><code style=\"box-sizing: border-box;margin: 0px;padding: 2px 6px;background: rgb(240, 241, 244);border-radius: 4px;font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, monospace;font-size: 13px;color: rgb(190, 18, 60);\"><span leaf=\"\">resource-id=\"com.ss...\/btn_login\"<\/span><\/code><span leaf=\"\">\uff0ciOS\u4e0a\u662f<\/span><code style=\"box-sizing: border-box;margin: 0px;padding: 2px 6px;background: rgb(240, 241, 244);border-radius: 4px;font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, monospace;font-size: 13px;color: rgb(190, 18, 60);\"><span leaf=\"\">accessibility-label=\"LoginButton\"<\/span><\/code><span leaf=\"\">\uff0cHarmonyOS\u4e0a\u53ef\u80fd\u53c8\u53d8\u6210<\/span><code style=\"box-sizing: border-box;margin: 0px;padding: 2px 6px;background: rgb(240, 241, 244);border-radius: 4px;font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, monospace;font-size: 13px;color: rgb(190, 18, 60);\"><span leaf=\"\">ohos:id=\"btn_login\"<\/span><\/code><span leaf=\"\">\u3002\u4f60\u5728\u4e09\u5957\u811a\u672c\u91cc\u627e\u540c\u4e00\u4e2a\u5143\u7d20\uff0c\u8981\u5199\u4e09\u5957\u5b9a\u4f4d\u5668\u3002<\/span><\/p>\n<h3 style=\"box-sizing: border-box;margin: 32px 0px 12px;padding: 0px 0px 0px 14px;font-size: 17px;font-weight: 700;color: rgb(30, 64, 175);border-left: 4px solid rgb(59, 130, 246);line-height: 1.4;font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\"><span leaf=\"\">\u77db\u76fe\u4e8c\uff1a\u5b9a\u4f4d\u903b\u8f91\u5dee\u5f02<\/span><\/h3>\n<p style=\"box-sizing: border-box;margin: 12px 0px;padding: 0px;color: rgb(55, 65, 81);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\"><span leaf=\"\">Android\u4e0a\u6700\u7a33\u7684\u662f<\/span><code style=\"box-sizing: border-box;margin: 0px;padding: 2px 6px;background: rgb(240, 241, 244);border-radius: 4px;font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, monospace;font-size: 13px;color: rgb(190, 18, 60);\"><span leaf=\"\">resource-id<\/span><\/code><span leaf=\"\">\uff1biOS\u4e0a\u6700\u63a8\u8350\u7684\u662f<\/span><code style=\"box-sizing: border-box;margin: 0px;padding: 2px 6px;background: rgb(240, 241, 244);border-radius: 4px;font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, monospace;font-size: 13px;color: rgb(190, 18, 60);\"><span leaf=\"\">accessibility-id<\/span><\/code><span leaf=\"\">\uff0cxpath\u6162\u5f97\u8ba9\u4eba\u5d29\u6e83\uff1bHarmonyOS API\u4e0d\u592a\u7a33\u5b9a\uff0c\u6709\u65f6\u5143\u7d20\u6839\u672c\u5b9a\u4f4d\u4e0d\u5230\u3002\u6bcf\u6b21\u6362\u5e73\u53f0\u5199\u811a\u672c\uff0c\u5927\u8111\u8981\u5207\u4e00\u6b21\u6a21\u5f0f\u3002<\/span><\/p>\n<h3 style=\"box-sizing: border-box;margin: 32px 0px 12px;padding: 0px 0px 0px 14px;font-size: 17px;font-weight: 700;color: rgb(30, 64, 175);border-left: 4px solid rgb(59, 130, 246);line-height: 1.4;font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\"><span leaf=\"\">\u77db\u76fe\u4e09\uff1a\u624b\u52bf\u64cd\u4f5c\u4e0d\u540c<\/span><\/h3>\n<p style=\"box-sizing: border-box;margin: 12px 0px;padding: 0px;color: rgb(55, 65, 81);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\"><span leaf=\"\">&#8220;\u6ed1\u52a8\u5230\u5e95\u90e8&#8221;\u5728Android\u4e0a\u53ef\u4ee5\u7528<\/span><code style=\"box-sizing: border-box;margin: 0px;padding: 2px 6px;background: rgb(240, 241, 244);border-radius: 4px;font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, monospace;font-size: 13px;color: rgb(190, 18, 60);\"><span leaf=\"\">UiScrollable<\/span><\/code><span leaf=\"\">\u4f18\u96c5\u6eda\u52a8\uff0ciOS\u9700\u8981<\/span><code style=\"box-sizing: border-box;margin: 0px;padding: 2px 6px;background: rgb(240, 241, 244);border-radius: 4px;font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, monospace;font-size: 13px;color: rgb(190, 18, 60);\"><span leaf=\"\">mobile: scroll<\/span><\/code><span leaf=\"\">\u914d\u5408\u65b9\u5411\u53c2\u6570\u5199\u4e00\u5927\u4e32\uff0cHarmonyOS\u8fd8\u5f97\u63a8\u7b97\u5750\u6807\u7b97\u767e\u5206\u6bd4\u3002\u540c\u4e00\u4e2a\u6d4b\u8bd5\u7528\u4f8b\uff0c\u4e09\u5957\u811a\u672c\u7684\u6ed1\u52a8\u903b\u8f91\u5404\u8d70\u5404\u8def\u3002<\/span><\/p>\n<p><span style=\"box-sizing: border-box;margin: 1px 0px 0px;padding: 0px;font-size: 20px;flex-shrink: 0;\"><span leaf=\"\">\u26a0\ufe0f<\/span><\/span><\/p>\n<p style=\"box-sizing: border-box;margin: 0px;padding: 0px;color: inherit;\"><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\">\u6839\u56e0\uff1a<\/span><\/strong><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 15px;\">\u4e0d\u662f\u6211\u4eec\u4e0d\u4f1a\u5199\u81ea\u52a8\u5316\uff0c\u800c\u662f\u4e09\u4e2a\u5e73\u53f0\u5404\u6709\u4e00\u5957\u72ec\u7acb\u7684UI\u4f53\u7cfb\uff0c\u5b83\u4eec\u7684\u81ea\u52a8\u5316\u6846\u67b6\u6765\u81ea\u4e0d\u540c\u7684\u5382\u5546\u3001\u4e0d\u540c\u7684\u5e74\u4ee3\u3001\u4e0d\u540c\u7684\u8bbe\u8ba1\u54f2\u5b66\u3002\u6d4b\u8bd5\u5de5\u7a0b\u5e08\u5728\u505a\u7684\uff0c\u672c\u8d28\u4e0a\u662f\u7528\u4e09\u4e2a\u4e0d\u540c\u7684\u952e\u76d8\u6253\u5b57\u3002<\/span><\/span><\/p>\n<section><span leaf=\"\"><br  \/><\/span><\/section>\n<hr style=\"border-style: solid;border-width: 1px 0 0;border-color: rgba(0,0,0,0.1);-webkit-transform-origin: 0 0;-webkit-transform: scale(1, 0.5);transform-origin: 0 0;transform: scale(1, 0.5);\"  \/>\n<section><span style=\"box-sizing: border-box;margin: 0px 0px 10px;padding: 3px 10px;display: inline-block;font-size: 12px;font-weight: 700;color: rgb(255, 255, 255);background: rgb(124, 58, 237);border-radius: 20px;letter-spacing: 0.5px;font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\" data-pm-slice=\"0 0 []\"><span leaf=\"\">\u7b2c\u4e8c\u7ae0<\/span><\/span><span style=\"color: rgb(26, 26, 46);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(250, 251, 252);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;display: inline !important;float: none;\"><span leaf=\"\">&nbsp;<\/span><\/span><\/section>\n<h2 style=\"box-sizing: border-box;margin: 0px;padding: 0px 0px 12px;font-size: 22px;font-weight: 800;color: rgb(26, 26, 46);border-bottom: 3px solid rgb(79, 70, 229);display: inline-block;line-height: 1.35;font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(250, 251, 252);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\"><span leaf=\"\">\u5927\u6a21\u578b\u8de8\u5e73\u53f0\u539f\u7406<\/span><\/h2>\n<section><span leaf=\"\"><br  \/><\/span><\/section>\n<section style=\"text-align: center;\"><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 15px;color: #7b0c00;font-weight: bold;\">\u4f20\u7edf\u65b9\u5f0f \u4e0e LLM\u65b9\u5f0f\u5bf9\u6bd4<\/span><\/span><\/section>\n<section style=\"text-align: center;\" nodeleaf=\"\">\n<figure class=\"wx-qr-wrap\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-aistatus=\"1\" data-imgfileid=\"100000534\" data-s=\"300,640\" data-type=\"png\" type=\"block\" src=\"https:\/\/mmbiz.qpic.cn\/mmbiz_png\/BWmfcibGhS1I0KlUapIE9D06U3k6jI2RicJudacHicFGnHiclINkJuykcAdDf992U9q7iakkKVIzIsQN5piaFkBfFmDqC1gO0uDCY2GcZibK8QNe9E\/640?wx_fmt=png&#038;from=appmsg\" \/><figcaption class=\"wx-qr-tip\"><img decoding=\"async\" src=\"https:\/\/www.deartester.com\/wp-content\/uploads\/2026\/09\/wechat-qr.jpg\" alt=\"\u5fae\u4fe1\u516c\u4f17\u53f7\u4e8c\u7ef4\u7801\" loading=\"lazy\"><span>\u56fe\u7247\u5f15\u81ea\u5fae\u4fe1\u516c\u4f17\u53f7\uff0c\u626b\u7801\u5173\u6ce8\u9605\u8bfb\u539f\u6587<\/span><\/figcaption><\/figure>\n<\/section>\n<section style=\"text-align: center;\"><span data-pm-slice=\"0 0 []\"><span leaf=\"\" style=\"color: rgb(156, 163, 175);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 13px;font-style: italic;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;\">\u4f20\u7edf\u4eba\u7ffb\u8bd1 vs LLM\u610f\u56fe\u7406\u89e3 \u2014 \u5de5\u4f5c\u65b9\u5f0f\u672c\u8d28\u5dee\u5f02<\/span><\/span><\/section>\n<p style=\"box-sizing: border-box;margin: 12px 0px;padding: 0px;color: rgb(55, 65, 81);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\" data-pm-slice=\"0 0 []\"><span leaf=\"\">\u4f20\u7edf\u505a\u6cd5\u662f\uff1a\u6d4b\u8bd5\u5de5\u7a0b\u5e08\u5199\u4e0b\u4e00\u6761\u81ea\u7136\u8bed\u8a00\u7528\u4f8b\uff0c\u7136\u540e\u4eba\u8089\u7ffb\u8bd1\u6210\u4e09\u7aef\u4ee3\u7801\u3002\u4eba\u5de5\u7ffb\u8bd1\u610f\u5473\u7740<\/span><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\">\u4e09\u500d\u5de5\u4f5c\u91cf\u3001\u4e09\u500d\u51fa\u9519\u6982\u7387\u3001\u4e09\u500d\u7ef4\u62a4\u6210\u672c<\/span><\/strong><span leaf=\"\">\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box;margin: 12px 0px;padding: 0px;color: rgb(55, 65, 81);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\"><span leaf=\"\">LLM\u7684\u505a\u6cd5\u5b8c\u5168\u4e0d\u540c\uff1a\u4f60\u5199\u4e00\u6761\u81ea\u7136\u8bed\u8a00\u6307\u4ee4\uff0c\u5927\u6a21\u578b\u7406\u89e3\u4f60\u7684<\/span><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\">\u64cd\u4f5c\u610f\u56fe<\/span><\/strong><span leaf=\"\">\uff0c\u7136\u540e\u5206\u522b\u751f\u6210\u4e09\u7aef\u4ee3\u7801\u3002\u5de5\u7a0b\u5e08\u53ea\u9700\u8981\u5b9a\u4e49&#8221;\u505a\u4ec0\u4e48&#8221;\uff0c\u6a21\u578b\u6765\u8d1f\u8d23&#8221;\u600e\u4e48\u505a&#8221;\u3002<\/span><\/p>\n<table style=\"box-sizing: border-box;margin: 16px 0px;padding: 0px;width: 688px;border-collapse: collapse;font-size: 14px;border-radius: 10px;overflow: hidden;box-shadow: rgba(0, 0, 0, 0.06) 0px 1px 4px;color: rgb(26, 26, 46);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\">\n<thead>\n<tr style=\"box-sizing: border-box;margin: 0px;padding: 0px;\">\n<th style=\"box-sizing: border-box;margin: 0px;padding: 11px 14px;background: rgb(30, 41, 59);color: rgb(255, 255, 255);text-align: left;font-weight: 700;font-size: 13px;\">\n<section style=\"text-align: center;\"><span leaf=\"\"><span textstyle=\"\" style=\"color: #d6a841;\">\u73af\u8282<\/span><\/span><\/section>\n<\/th>\n<th style=\"box-sizing: border-box;margin: 0px;padding: 11px 14px;background: rgb(30, 41, 59);color: rgb(255, 255, 255);text-align: left;font-weight: 700;font-size: 13px;\">\n<section style=\"text-align: center;\"><span leaf=\"\"><span textstyle=\"\" style=\"color: #d6a841;\">\u274c \u4f20\u7edf\u65b9\u5f0f\uff08\u4eba\u7ffb\u8bd1\uff09<\/span><\/span><\/section>\n<\/th>\n<th style=\"box-sizing: border-box;margin: 0px;padding: 11px 14px;background: rgb(30, 41, 59);color: rgb(255, 255, 255);text-align: left;font-weight: 700;font-size: 13px;\">\n<section style=\"text-align: center;\"><span leaf=\"\"><span textstyle=\"\" style=\"color: #d6a841;\">\u2705 LLM\u65b9\u5f0f\uff08\u610f\u56fe\u7406\u89e3\uff09<\/span><\/span><\/section>\n<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr style=\"box-sizing: border-box;margin: 0px;padding: 0px;\">\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom: 1px solid rgb(241, 245, 249);color: rgb(55, 65, 81);vertical-align: top;\"><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\">\u9700\u6c42\u8f93\u5165<\/span><\/strong><\/td>\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom: 1px solid rgb(241, 245, 249);color: rgb(55, 65, 81);vertical-align: top;\">\n<section><span leaf=\"\">\u81ea\u7136\u8bed\u8a00 \u2192 \u4eba\u8111\u5206\u6790 \u2192 \u5199\u4ee3\u7801<\/span><\/section>\n<\/td>\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom: 1px solid rgb(241, 245, 249);color: rgb(55, 65, 81);vertical-align: top;\">\n<section><span leaf=\"\">\u81ea\u7136\u8bed\u8a00\u76f4\u63a5\u8f93\u5165<\/span><\/section>\n<\/td>\n<\/tr>\n<tr style=\"box-sizing: border-box;margin: 0px;padding: 0px;\">\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom: 1px solid rgb(241, 245, 249);color: rgb(55, 65, 81);vertical-align: top;background: rgb(248, 250, 252);\"><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\">\u8de8\u5e73\u53f0<\/span><\/strong><\/td>\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom: 1px solid rgb(241, 245, 249);color: rgb(55, 65, 81);vertical-align: top;background: rgb(248, 250, 252);\">\n<section><span leaf=\"\">\u4e09\u5957\u72ec\u7acb\u811a\u672c\uff0c\u5404\u5199\u5404\u7684<\/span><\/section>\n<\/td>\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom: 1px solid rgb(241, 245, 249);color: rgb(55, 65, 81);vertical-align: top;background: rgb(248, 250, 252);\">\n<section><span leaf=\"\">\u4e00\u5957\u6307\u4ee4\uff0c\u81ea\u52a8\u751f\u6210\u4e09\u7aef\u4ee3\u7801<\/span><\/section>\n<\/td>\n<\/tr>\n<tr style=\"box-sizing: border-box;margin: 0px;padding: 0px;\">\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom: 1px solid rgb(241, 245, 249);color: rgb(55, 65, 81);vertical-align: top;\"><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\">\u7ef4\u62a4\u6210\u672c<\/span><\/strong><\/td>\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom: 1px solid rgb(241, 245, 249);color: rgb(55, 65, 81);vertical-align: top;\">\n<section><span leaf=\"\">\u4fee\u6539\u7528\u4f8b\u8981\u6539\u4e09\u4efd<\/span><\/section>\n<\/td>\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom: 1px solid rgb(241, 245, 249);color: rgb(55, 65, 81);vertical-align: top;\">\n<section><span leaf=\"\">\u6539\u81ea\u7136\u8bed\u8a00\u63cf\u8ff0\uff0c\u91cd\u65b0\u751f\u6210<\/span><\/section>\n<\/td>\n<\/tr>\n<tr style=\"box-sizing: border-box;margin: 0px;padding: 0px;\">\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom: 1px solid rgb(241, 245, 249);color: rgb(55, 65, 81);vertical-align: top;background: rgb(248, 250, 252);\"><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\">\u77e5\u8bc6\u95e8\u69db<\/span><\/strong><\/td>\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom: 1px solid rgb(241, 245, 249);color: rgb(55, 65, 81);vertical-align: top;background: rgb(248, 250, 252);\">\n<section><span leaf=\"\">\u9700\u8981\u7cbe\u901a\u4e09\u7aef\u6846\u67b6<\/span><\/section>\n<\/td>\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom: 1px solid rgb(241, 245, 249);color: rgb(55, 65, 81);vertical-align: top;background: rgb(248, 250, 252);\">\n<section><span leaf=\"\">\u4f1a\u5199\u81ea\u7136\u8bed\u8a00\u5c31\u884c<\/span><\/section>\n<\/td>\n<\/tr>\n<tr style=\"box-sizing: border-box;margin: 0px;padding: 0px;\">\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom-width: medium;border-bottom-style: none;border-bottom-color: currentcolor;color: rgb(55, 65, 81);vertical-align: top;\"><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\">\u4e00\u81f4\u6027<\/span><\/strong><\/td>\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom-width: medium;border-bottom-style: none;border-bottom-color: currentcolor;color: rgb(55, 65, 81);vertical-align: top;\">\n<section><span leaf=\"\">\u5404\u7aef\u7ec6\u8282\u9760\u4eba\u8111\u8bb0\u5fc6\u5bf9\u9f50<\/span><\/section>\n<\/td>\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom-width: medium;border-bottom-style: none;border-bottom-color: currentcolor;color: rgb(55, 65, 81);vertical-align: top;\">\n<section><span leaf=\"\">\u4ece\u540c\u4e00\u610f\u56fe\u63a8\u5bfc\uff0c\u5929\u7136\u5bf9\u9f50<\/span><\/section>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 style=\"box-sizing: border-box;margin: 32px 0px 12px;padding: 0px 0px 0px 14px;font-size: 17px;font-weight: 700;color: rgb(30, 64, 175);border-left: 4px solid rgb(59, 130, 246);line-height: 1.4;font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\"><span leaf=\"\">\u4e3a\u4ec0\u4e48\u9009\u901a\u4e49\u5343\u95eeQwen\uff1f<\/span><\/h3>\n<p style=\"box-sizing: border-box;margin: 12px 0px;padding: 0px;color: rgb(55, 65, 81);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\"><span leaf=\"\">\u5e02\u9762\u4e0a\u5927\u6a21\u578b\u5f88\u591a\uff0c\u9009Qwen\u7684\u539f\u56e0\u6709\u56db\u4e2a\uff1a<\/span><\/p>\n<ol style=\"box-sizing: border-box;margin: 10px 0px 14px 22px;padding: 0px;color: rgb(26, 26, 46);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\" class=\"list-paddingleft-1\">\n<li style=\"box-sizing: border-box;margin: 6px 0px;padding: 0px;color: rgb(55, 65, 81);\"><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\">\u4e2d\u6587\u7406\u89e3\u5f3a<\/span><\/strong><br \/>\n<section><span leaf=\"\">&nbsp;\u2014\u2014 \u81ea\u52a8\u5316\u6d4b\u8bd5\u7684\u6ce8\u91ca\u3001\u53d8\u91cf\u540d\u3001\u9875\u9762\u6587\u6848\u5168\u662f\u4e2d\u6587\uff0cQwen\u5bf9\u4e2d\u6587\u7684\u8bed\u4e49\u7406\u89e3\u5728\u56fd\u5185\u6a21\u578b\u91cc\u6392\u7b2c\u4e00\u68af\u961f\uff1b<\/span><\/section>\n<\/li>\n<li style=\"box-sizing: border-box;margin: 6px 0px;padding: 0px;color: rgb(55, 65, 81);\"><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\">\u514d\u8d39\u989d\u5ea6\u5145\u88d5<\/span><\/strong><br \/>\n<section><span leaf=\"\">&nbsp;\u2014\u2014 \u4e2a\u4eba\u5f00\u53d1\u8005\u8d77\u6b65\u5b8c\u5168\u591f\u7528\uff0c\u4e0d\u9700\u8981\u4e00\u5f00\u59cb\u5c31\u7ed1\u4fe1\u7528\u5361\uff1b<\/span><\/section>\n<\/li>\n<li style=\"box-sizing: border-box;margin: 6px 0px;padding: 0px;color: rgb(55, 65, 81);\"><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\">Function Calling\u6210\u719f<\/span><\/strong><br \/>\n<section><span leaf=\"\">&nbsp;\u2014\u2014 Qwen\u7684function call\u80fd\u529b\u7a33\u5b9a\uff0c\u8fd9\u662f\u5b9e\u73b0&#8221;\u81ea\u7136\u8bed\u8a00\u2192\u7ed3\u6784\u5316\u6307\u4ee4\u2192\u9a71\u52a8Appium&#8221;\u7684\u6838\u5fc3\u80fd\u529b\uff1b<\/span><\/section>\n<\/li>\n<li style=\"box-sizing: border-box;margin: 6px 0px;padding: 0px;color: rgb(55, 65, 81);\"><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\">\u56fd\u5185\u8bbf\u95ee\u7a33\u5b9a<\/span><\/strong><br \/>\n<section><span leaf=\"\">&nbsp;\u2014\u2014 \u4e0d\u9700\u8981\u6302\u4ee3\u7406\uff0c\u4e0d\u4f1a\u6709\u80fd\u529b\u964d\u7ea7\u6216\u9650\u6d41\u95ee\u9898\uff0c\u751f\u4ea7\u73af\u5883\u843d\u5730\u66f4\u6709\u4fdd\u969c\u3002<\/span><\/section>\n<\/li>\n<\/ol>\n<section style=\"text-align: center;\"><span data-pm-slice=\"0 0 []\"><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 15px;color: #7b0c00;font-weight: bold;\">Qwen + Appium + Python \u4e09\u4ef6\u5957\u67b6\u6784<\/span><\/span><\/span><\/section>\n<section style=\"text-align: center;\" nodeleaf=\"\">\n<figure class=\"wx-qr-wrap\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-aistatus=\"1\" data-imgfileid=\"100000535\" data-s=\"300,640\" data-type=\"png\" type=\"block\" src=\"https:\/\/mmbiz.qpic.cn\/mmbiz_png\/BWmfcibGhS1KLMFu2IcRsyZcH3QSzton6r0nicP12zonibFX43PkUItXNltZpoP8ia8lEtImZHkIal5FlnL1G3CqYSegzSDNkk7ibkAOEbpMdcFQ\/640?wx_fmt=png&#038;from=appmsg\" \/><figcaption class=\"wx-qr-tip\"><img decoding=\"async\" src=\"https:\/\/www.deartester.com\/wp-content\/uploads\/2026\/09\/wechat-qr.jpg\" alt=\"\u5fae\u4fe1\u516c\u4f17\u53f7\u4e8c\u7ef4\u7801\" loading=\"lazy\"><span>\u56fe\u7247\u5f15\u81ea\u5fae\u4fe1\u516c\u4f17\u53f7\uff0c\u626b\u7801\u5173\u6ce8\u9605\u8bfb\u539f\u6587<\/span><\/figcaption><\/figure>\n<\/section>\n<section style=\"text-align: center;\"><span data-pm-slice=\"0 0 []\"><span style=\"color: rgb(156, 163, 175);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 13px;font-style: italic;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: center;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;display: inline !important;float: none;\" data-pm-slice=\"0 0 []\"><span leaf=\"\">Qwen + Appium + Python \u4e09\u4ef6\u5957\u67b6\u6784\u56fe<\/span><\/span><\/span><\/section>\n<section><span style=\"box-sizing: border-box;margin: 1px 0px 0px;padding: 0px;font-size: 20px;flex-shrink: 0;color: rgb(20, 83, 45);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\" data-pm-slice=\"0 0 []\"><span leaf=\"\">\ud83c\udfd7\ufe0f<span textstyle=\"\" style=\"font-size: 16px;\">\u6574\u4f53\u67b6\u6784\u4e09\u677f\u65a7\uff1a<\/span><\/span><\/span><span style=\"box-sizing: border-box;margin: 0px;padding: 1px 5px;background: rgb(254, 249, 195);border-radius: 4px;font-weight: 600;color: rgb(133, 77, 14);\"><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 16px;\">Qwen<\/span><\/span><\/span><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 16px;\">\u8d1f\u8d23\u7406\u89e3\u610f\u56fe\u548c\u751f\u6210\u4ee3\u7801\uff0c<\/span><\/span><span style=\"box-sizing: border-box;margin: 0px;padding: 1px 5px;background: rgb(254, 249, 195);border-radius: 4px;font-weight: 600;color: rgb(133, 77, 14);\"><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 16px;\">Appium<\/span><\/span><\/span><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 16px;\">\u8d1f\u8d23\u6267\u884c\u81ea\u52a8\u5316\u64cd\u4f5c\uff0c<\/span><\/span><span style=\"box-sizing: border-box;margin: 0px;padding: 1px 5px;background: rgb(254, 249, 195);border-radius: 4px;font-weight: 600;color: rgb(133, 77, 14);\"><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 16px;\">Python<\/span><\/span><\/span><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 16px;\">\u8d1f\u8d23\u7c98\u5408\u903b\u8f91\u3002\u4e0b\u9762\u4e09\u6b65\uff0c\u642d\u5efa\u5b8c\u6574\u73af\u5883\u3002<\/span><\/span><\/section>\n<hr style=\"border-style: solid;border-width: 1px 0 0;border-color: rgba(0,0,0,0.1);-webkit-transform-origin: 0 0;-webkit-transform: scale(1, 0.5);transform-origin: 0 0;transform: scale(1, 0.5);\"  \/>\n<p data-pm-slice=\"0 0 []\"><span style=\"box-sizing: border-box;margin: 0px 0px 10px;padding: 3px 10px;display: inline-block;font-size: 12px;font-weight: 700;color: rgb(255, 255, 255);background: rgb(3, 105, 161);border-radius: 20px;letter-spacing: 0.5px;\"><span leaf=\"\">\u7b2c\u4e09\u7ae0<\/span><\/span><span leaf=\"\">&nbsp;<\/span><\/p>\n<h2 style=\"box-sizing: border-box;margin: 0px;padding: 0px 0px 12px;font-size: 22px;font-weight: 800;color: rgb(26, 26, 46);border-bottom: 3px solid rgb(79, 70, 229);display: inline-block;line-height: 1.35;\"><span leaf=\"\">\u4e09\u7aef\u5f00\u53d1\u73af\u5883\u4e0e\u6a21\u62df\u5668\u5b89\u88c5<\/span><\/h2>\n<h3 style=\"box-sizing: border-box;margin: 32px 0px 12px;padding: 0px 0px 0px 14px;font-size: 17px;font-weight: 700;color: rgb(30, 64, 175);border-left: 4px solid rgb(59, 130, 246);line-height: 1.4;font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\"><span leaf=\"\">3.1 Android \u6a21\u62df\u5668\u2014\u2014Windows<\/span><\/h3>\n<p style=\"box-sizing: border-box;margin: 12px 0px;padding: 0px;color: rgb(55, 65, 81);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 2em;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\"><span leaf=\"\">Android\u5b98\u65b9\u6a21\u62df\u5668\u96c6\u6210\u5728Android Studio\u4e2d\uff0c<\/span><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\">\u514d\u8d39\u3001\u7a33\u5b9a\u3001\u548c\u771f\u673a\u884c\u4e3a\u4e00\u81f4<\/span><\/strong><span leaf=\"\">\uff0c\u662f\u9996\u9009\u3002<\/span><\/p>\n<table>\n<tbody>\n<tr>\n<td data-colwidth=\"576\"><span style=\"color: rgb(55, 65, 81);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;display: inline !important;float: none;\" data-pm-slice=\"0 0 []\"><span leaf=\"\"><span textstyle=\"\" style=\"color: #ff2941;font-weight: bold;\">1.<\/span>\u8bbf\u95ee&nbsp;developer.android.com\/studio<\/span><span style=\"color: rgb(55, 65, 81);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;display: inline !important;float: none;\"><span leaf=\"\">&nbsp;\u4e0b\u8f7dAndroid Studio\uff08\u5efa\u8bae\u9009\u6700\u65b0\u7a33\u5b9a\u7248\uff09\uff1b<\/span><\/span><\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table>\n<tbody>\n<tr>\n<td data-colwidth=\"576\">\n<section><span style=\"color: rgb(55, 65, 81);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;display: inline !important;float: none;\" data-pm-slice=\"0 0 []\"><span leaf=\"\" style=\"color: rgb(55, 65, 81);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;\"><span textstyle=\"\" style=\"color: #ff2941;font-weight: bold;\">2.<\/span><\/span><span leaf=\"\">\u8fd0\u884c\u5b89\u88c5\u7a0b\u5e8f\uff0c\u5b89\u88c5\u65f6\u52fe\u9009&nbsp;<\/span><\/span><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\"><span leaf=\"\">Android SDK<\/span><\/strong><span style=\"color: rgb(55, 65, 81);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;display: inline !important;float: none;\"><span leaf=\"\">&nbsp;\u548c&nbsp;<\/span><\/span><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\"><span leaf=\"\">Android Virtual Device (AVD)<\/span><\/strong><span style=\"color: rgb(55, 65, 81);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;display: inline !important;float: none;\"><span leaf=\"\">&nbsp;\u7ec4\u4ef6\uff1b<\/span><\/span><\/section>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table>\n<tbody>\n<tr>\n<td data-colwidth=\"576\">\n<section><span leaf=\"\" style=\"color: rgb(55, 65, 81);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;\"><span textstyle=\"\" style=\"color: #ff2941;font-weight: bold;\">3.<\/span><\/span><span style=\"color: rgb(55, 65, 81);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;display: inline !important;float: none;\" data-pm-slice=\"0 0 []\"><span leaf=\"\">\u5b89\u88c5\u5b8c\u6210\u540e\u6253\u5f00Android Studio\uff0c\u70b9\u51fb\u53f3\u4fa7\u5de5\u5177\u680f\u7684&nbsp;<\/span><\/span><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\"><span leaf=\"\">Device Manager<\/span><\/strong><span style=\"color: rgb(55, 65, 81);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;display: inline !important;float: none;\"><span leaf=\"\">\uff1b<\/span><\/span><\/section>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table>\n<tbody>\n<tr>\n<td data-colwidth=\"576\">\n<section><span leaf=\"\" style=\"color: rgb(55, 65, 81);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;\"><span textstyle=\"\" style=\"color: #ff2941;font-weight: bold;\">4.<\/span><\/span><span style=\"color: rgb(55, 65, 81);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;display: inline !important;float: none;\" data-pm-slice=\"0 0 []\"><span leaf=\"\">\u70b9\u51fb&nbsp;<\/span><\/span><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\"><span leaf=\"\">Create device<\/span><\/strong><span style=\"color: rgb(55, 65, 81);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;display: inline !important;float: none;\"><span leaf=\"\">\uff0c\u9009\u62e9&nbsp;<\/span><\/span><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\"><span leaf=\"\">Pixel 7<\/span><\/strong><span style=\"color: rgb(55, 65, 81);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;display: inline !important;float: none;\"><span leaf=\"\">\uff08\u6027\u80fd\u9002\u4e2d\u3001\u663e\u793a\u53cb\u597d\uff09\uff1b<\/span><\/span><\/section>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table>\n<tbody>\n<tr>\n<td data-colwidth=\"576\">\n<section><span leaf=\"\" style=\"color: rgb(55, 65, 81);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;\"><span textstyle=\"\" style=\"color: #ff2941;font-weight: bold;\">5.<\/span><\/span><span style=\"color: rgb(55, 65, 81);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;display: inline !important;float: none;\" data-pm-slice=\"0 0 []\"><span leaf=\"\">\u9009\u62e9\u7cfb\u7edf\u955c\u50cf\uff1a\u63a8\u8350&nbsp;<\/span><\/span><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\"><span leaf=\"\">Android 14 (API 34)<\/span><\/strong><span style=\"color: rgb(55, 65, 81);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;display: inline !important;float: none;\"><span leaf=\"\">\uff0c\u9009\u4e0d\u5e26&#8221;Google Play&#8221;\u7684\u7248\u672c\uff1b<\/span><\/span><\/section>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table>\n<tbody>\n<tr>\n<td data-colwidth=\"576\">\n<section><span leaf=\"\" style=\"color: rgb(55, 65, 81);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;\"><span textstyle=\"\" style=\"color: #ff2941;font-weight: bold;\">6.<\/span><\/span><span style=\"color: rgb(55, 65, 81);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;display: inline !important;float: none;\" data-pm-slice=\"0 0 []\"><span leaf=\"\">\u70b9\u51fbFinish\uff0c\u6a21\u62df\u5668\u81ea\u52a8\u521b\u5efa\u3002\u5728Device Manager\u4e2d\u70b9\u7eff\u8272\u4e09\u89d2\u5f62\u542f\u52a8\u3002<\/span><\/span><\/section>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<section><span style=\"box-sizing: border-box;margin: 1px 0px 0px;padding: 0px;font-size: 20px;flex-shrink: 0;color: rgb(30, 58, 138);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\" data-pm-slice=\"0 0 []\"><span leaf=\"\">\ud83d\udca1<span textstyle=\"\" style=\"font-size: 15px;font-weight: bold;\">\u5907\u9009\u65b9\u6848\uff1a<\/span><\/span><\/span><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 15px;color: #0080ff;\">\u5982\u679c\u65b0\u624b\u5accAndroid Studio\u592a\u91cd\uff0c\u53ef\u4ee5\u7528<\/span><span textstyle=\"\" style=\"font-size: 15px;\">&nbsp;<\/span><\/span><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 15px;\">\u591c\u795e\u6a21\u62df\u5668<\/span><\/span><\/strong><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 15px;\">\uff08<\/span><span textstyle=\"\" style=\"font-size: 15px;\">yeshen.com<\/span><span textstyle=\"\" style=\"font-size: 15px;\">\uff09\u3002<\/span><span textstyle=\"\" style=\"font-size: 15px;color: #0080ff;\">\u56fe\u5f62\u5316\u754c\u9762\uff0c\u4e00\u952e\u5b89\u88c5\uff0c\u6027\u80fd\u4e5f\u4e0d\u9519\u3002\u7f3a\u70b9\u662f\u5bf9Android\u65b0\u7248\u672c\u652f\u6301\u7a0d\u6162\uff0cAPI\u517c\u5bb9\u6027\u4e0d\u5982\u5b98\u65b9\u6a21\u62df\u5668\u3002\u4f46\u5982\u679c\u4e0b\u4e00\u6b65\u53ea\u8dd1Appium\u81ea\u52a8\u5316\uff0c\u591c\u795e\u5b8c\u5168\u591f\u7528\u3002<\/span><\/span><\/section>\n<h3 style=\"box-sizing: border-box;margin: 32px 0px 12px;padding: 0px 0px 0px 14px;font-size: 17px;font-weight: 700;color: rgb(30, 64, 175);border-left: 4px solid rgb(59, 130, 246);line-height: 1.4;font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\" data-pm-slice=\"0 0 []\"><span leaf=\"\">3.2 iOS \u6a21\u62df\u5668\u2014\u2014macOS<\/span><\/h3>\n<p><span style=\"box-sizing: border-box;margin: 1px 0px 0px;padding: 0px;font-size: 20px;flex-shrink: 0;\"><span leaf=\"\">\u26a0\ufe0f<span textstyle=\"\" style=\"font-size: 15px;color: #ff2941;\">\u91cd\u8981\u63d0\u9192\uff1a<\/span><\/span><\/span><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 15px;\">iOS\u6a21\u62df\u5668\u5fc5\u987b\u8fd0\u884c\u5728macOS\u4e0a\uff0cWindows\u4e0d\u652f\u6301Xcode\u3002\u5982\u679c\u4f60\u7684\u4e3b\u529b\u673a\u662fWindows\uff0c\u6709\u4e24\u4e2a\u9009\u62e9\u2014\u2014\u4e00\u662f\u8df3\u8fc7\u672c\u7ae0\u8282\u53ea\u770bAndroid\u548cHarmonyOS\u90e8\u5206\uff0c\u4e8c\u662f\u4f7f\u7528Mac\u4e91\u4e3b\u673a\uff08\u5982MacStadium\u6216\u817e\u8baf\u4e91Mac\u5b9e\u4f8b\uff09\u3002<\/span><\/span><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 15px;\">\u505aiOS\u81ea\u52a8\u5316\u5f00\u53d1\uff0c\u6709\u4e00\u53f0Mac\u662f\u786c\u95e8\u69db\u3002<\/span><\/span><\/strong><\/p>\n<ol style=\"box-sizing: border-box;margin: 10px 0px 14px;padding: 0px;counter-reset: step-counter 0;list-style: none;color: rgb(26, 26, 46);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\" class=\"list-paddingleft-1\">\n<li style=\"box-sizing: border-box;margin: 12px 0px;padding: 14px 16px;color: rgb(55, 65, 81);counter-increment: step-counter 1;display: flex;align-items: flex-start;gap: 14px;background: rgb(255, 255, 255);border: 1px solid rgb(229, 231, 235);border-radius: 10px;\">\n<p style=\"box-sizing: border-box;margin: 0px;padding: 0px;color: rgb(55, 65, 81);\"><span leaf=\"\"><span textstyle=\"\" style=\"color: #ff2941;font-weight: bold;\">1.&nbsp;<\/span>\u6253\u5f00&nbsp;<\/span><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\">App Store<\/span><\/strong><span leaf=\"\">\uff0c\u641c\u7d22 &#8220;Xcode&#8221; \u5e76\u4e0b\u8f7d\uff08\u5b89\u88c5\u5305\u8f83\u5927\uff0c\u7ea610GB\uff0c\u9884\u7559\u7a7a\u95f4\uff09\uff1b<\/span><\/p>\n<\/li>\n<li style=\"box-sizing: border-box;margin: 12px 0px;padding: 14px 16px;color: rgb(55, 65, 81);counter-increment: step-counter 1;display: flex;align-items: flex-start;gap: 14px;background: rgb(255, 255, 255);border: 1px solid rgb(229, 231, 235);border-radius: 10px;\">\n<p style=\"box-sizing: border-box;margin: 0px;padding: 0px;color: rgb(55, 65, 81);\"><span leaf=\"\" style=\"box-sizing: border-box;color: rgb(55, 65, 81);\"><span textstyle=\"\" style=\"color: #ff2941;font-weight: bold;\">2.&nbsp;<\/span><\/span><span leaf=\"\">\u5b89\u88c5\u5b8c\u6210\u540e\u6253\u5f00Xcode\uff0c\u8fdb\u5165&nbsp;<\/span><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\">Settings \u2192 Platforms<\/span><\/strong><span leaf=\"\">\uff08\u65e7\u7248\u672c\u5728 Preferences \u2192 Components\uff09\uff1b<\/span><\/p>\n<\/li>\n<li style=\"box-sizing: border-box;margin: 12px 0px;padding: 14px 16px;color: rgb(55, 65, 81);counter-increment: step-counter 1;display: flex;align-items: flex-start;gap: 14px;background: rgb(255, 255, 255);border: 1px solid rgb(229, 231, 235);border-radius: 10px;\">\n<p style=\"box-sizing: border-box;margin: 0px;padding: 0px;color: rgb(55, 65, 81);\"><span leaf=\"\" style=\"box-sizing: border-box;color: rgb(55, 65, 81);\"><span textstyle=\"\" style=\"color: #ff2941;font-weight: bold;\">3.&nbsp;<\/span><\/span><span leaf=\"\">\u5728 Simulators \u5217\u8868\u4e2d\uff0c\u70b9\u51fb &#8220;+&#8221; \u53f7\u6dfb\u52a0\u6a21\u62df\u5668\uff1b<\/span><\/p>\n<\/li>\n<li style=\"box-sizing: border-box;margin: 12px 0px;padding: 14px 16px;color: rgb(55, 65, 81);counter-increment: step-counter 1;display: flex;align-items: flex-start;gap: 14px;background: rgb(255, 255, 255);border: 1px solid rgb(229, 231, 235);border-radius: 10px;\">\n<p style=\"box-sizing: border-box;margin: 0px;padding: 0px;color: rgb(55, 65, 81);\"><span leaf=\"\" style=\"box-sizing: border-box;color: rgb(55, 65, 81);\"><span textstyle=\"\" style=\"color: #ff2941;font-weight: bold;\">4.&nbsp;<\/span><\/span><span leaf=\"\">\u9009\u62e9&nbsp;<\/span><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\">iPhone 15<\/span><\/strong><span leaf=\"\">\uff0ciOS\u7248\u672c\u9009\u6700\u65b0\u7684\u7a33\u5b9a\u7248\uff08\u76ee\u524diOS 17\/18\uff09\uff1b<\/span><\/p>\n<\/li>\n<li style=\"box-sizing: border-box;margin: 12px 0px;padding: 14px 16px;color: rgb(55, 65, 81);counter-increment: step-counter 1;display: flex;align-items: flex-start;gap: 14px;background: rgb(255, 255, 255);border: 1px solid rgb(229, 231, 235);border-radius: 10px;\">\n<p style=\"box-sizing: border-box;margin: 0px;padding: 0px;color: rgb(55, 65, 81);\"><span leaf=\"\" style=\"box-sizing: border-box;color: rgb(55, 65, 81);\"><span textstyle=\"\" style=\"color: #ff2941;font-weight: bold;\">5.&nbsp;<\/span><\/span><span leaf=\"\">\u4eceXcode\u83dc\u5355\u680f\u9009\u62e9&nbsp;<\/span><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\">Xcode \u2192 Open Developer Tool \u2192 Simulator<\/span><\/strong><span leaf=\"\">&nbsp;\u542f\u52a8\u6a21\u62df\u5668\u3002<\/span><\/p>\n<\/li>\n<\/ol>\n<p style=\"box-sizing: border-box;margin: 12px 0px;padding: 0px;color: rgb(55, 65, 81);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 2em;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\"><span leaf=\"\">\u542f\u52a8\u540e\u53ef\u4ee5\u7528&nbsp;<\/span><code style=\"box-sizing: border-box;margin: 0px;padding: 2px 6px;background: rgb(240, 241, 244);border-radius: 4px;font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, monospace;font-size: 13px;color: rgb(190, 18, 60);\"><span leaf=\"\">xcrun simctl list devices<\/span><\/code><span leaf=\"\">&nbsp;\u786e\u8ba4\u6a21\u62df\u5668\u5217\u8868\uff0c\u540e\u7eed\u6240\u6709iOS\u81ea\u52a8\u5316\u64cd\u4f5c\u90fd\u4f1a\u901a\u8fc7\u8fd9\u4e2a\u6a21\u62df\u5668\u5b8c\u6210\u3002<\/span><\/p>\n<h3 style=\"box-sizing: border-box;margin: 32px 0px 12px;padding: 0px 0px 0px 14px;font-size: 17px;font-weight: 700;color: rgb(30, 64, 175);border-left: 4px solid rgb(59, 130, 246);line-height: 1.4;font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\" data-pm-slice=\"0 0 []\"><span leaf=\"\">3.3 HarmonyOS Next \u6a21\u62df\u5668\u2014\u2014Windows\/macOS<\/span><\/h3>\n<p style=\"box-sizing: border-box;margin: 12px 0px;padding: 0px;color: rgb(55, 65, 81);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\"><span leaf=\"\">\u8fd9\u91cc\u9700\u8981\u5148\u8bf4\u660e\u4e00\u4e2a\u5173\u952e\u80cc\u666f\uff1aHarmonyOS\u76ee\u524d\u5206\u4e24\u5957\u7cfb\u7edf\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box;margin: 12px 0px;padding: 0px;color: rgb(55, 65, 81);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\"><span leaf=\"\"><span textstyle=\"\" style=\"color: #0052ff;\">\u4e00\u5957\u662f<\/span>&nbsp;<\/span><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\">HarmonyOS 4.x<\/span><\/strong><span leaf=\"\">\uff08\u517c\u5bb9APK\uff0c\u53ef\u4ee5\u8dd1Android\u5e94\u7528\uff09<\/span><\/p>\n<p style=\"box-sizing: border-box;margin: 12px 0px;padding: 0px;color: rgb(55, 65, 81);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\"><span leaf=\"\"><span textstyle=\"\" style=\"color: #0052ff;\">\u53e6\u4e00\u5957\u662f<\/span>&nbsp;<\/span><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\">HarmonyOS Next<\/span><\/strong><span leaf=\"\">\uff08\u7eaf\u9e3f\u8499\uff0c\u4e0d\u517c\u5bb9APK\uff09<\/span><\/p>\n<p style=\"box-sizing: border-box;margin: 12px 0px;padding: 0px;color: rgb(55, 65, 81);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: center;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\"><span leaf=\"\">\u672c\u6587\u9488\u5bf9&nbsp;<\/span><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\"><span textstyle=\"\" style=\"color: #ff2941;\">HarmonyOS Next<\/span><\/span><\/strong><\/p>\n<p><span style=\"box-sizing: border-box;margin: 1px 0px 0px;padding: 0px;font-size: 20px;flex-shrink: 0;\"><span leaf=\"\">\ud83d\udd27<span textstyle=\"\" style=\"font-size: 16px;font-weight: bold;\">\u5de5\u5177\uff1a<\/span><\/span><\/span><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 15px;\">DevEco Studio\uff08\u534e\u4e3a\u5b98\u65b9IDE\uff0c\u514d\u8d39\uff09<\/span><\/span><\/p>\n<ol style=\"box-sizing: border-box;margin: 10px 0px 14px;padding: 0px;counter-reset: step-counter 0;list-style: none;color: rgb(26, 26, 46);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\" class=\"list-paddingleft-1\">\n<li style=\"box-sizing: border-box;margin: 12px 0px;padding: 14px 16px;color: rgb(55, 65, 81);counter-increment: step-counter 1;display: flex;align-items: flex-start;gap: 14px;background: rgb(255, 255, 255);border: 1px solid rgb(229, 231, 235);border-radius: 10px;\">\n<p style=\"box-sizing: border-box;margin: 0px;padding: 0px;color: rgb(55, 65, 81);\"><span leaf=\"\"><span textstyle=\"\" style=\"color: #ff2941;font-weight: bold;\">1.&nbsp;<\/span>\u8bbf\u95ee&nbsp;\u534e\u4e3a\u5f00\u53d1\u8005\u5b98\u7f51&nbsp;\u4e0b\u8f7dDevEco Studio\uff08\u5efa\u8bae\u6700\u65b0\u7248\uff09\uff1b<\/span><\/p>\n<\/li>\n<li style=\"box-sizing: border-box;margin: 12px 0px;padding: 14px 16px;color: rgb(55, 65, 81);counter-increment: step-counter 1;display: flex;align-items: flex-start;gap: 14px;background: rgb(255, 255, 255);border: 1px solid rgb(229, 231, 235);border-radius: 10px;\">\n<p style=\"box-sizing: border-box;margin: 0px;padding: 0px;color: rgb(55, 65, 81);\"><span leaf=\"\" style=\"box-sizing: border-box;color: rgb(55, 65, 81);\"><span textstyle=\"\" style=\"color: #ff2941;font-weight: bold;\">2.<\/span><\/span><span leaf=\"\">&nbsp;\u8fd0\u884c\u5b89\u88c5\u7a0b\u5e8f\uff0c\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u4f1a\u81ea\u52a8\u63d0\u793a\u5b89\u88c5&nbsp;<\/span><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\">HarmonyOS SDK<\/span><\/strong><span leaf=\"\">\uff0c\u5168\u90e8\u52fe\u9009\uff1b<\/span><\/p>\n<\/li>\n<li style=\"box-sizing: border-box;margin: 12px 0px;padding: 14px 16px;color: rgb(55, 65, 81);counter-increment: step-counter 1;display: flex;align-items: flex-start;gap: 14px;background: rgb(255, 255, 255);border: 1px solid rgb(229, 231, 235);border-radius: 10px;\">\n<p style=\"box-sizing: border-box;margin: 0px;padding: 0px;color: rgb(55, 65, 81);\"><span leaf=\"\" style=\"box-sizing: border-box;color: rgb(55, 65, 81);\"><span textstyle=\"\" style=\"color: #ff2941;font-weight: bold;\">3.&nbsp;<\/span><\/span><span leaf=\"\">\u5b89\u88c5\u5b8c\u6210\u540e\u6253\u5f00DevEco Studio\uff0c\u8fdb\u5165&nbsp;<\/span><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\">Tools \u2192 SDK Manager<\/span><\/strong><span leaf=\"\">\uff1b<\/span><\/p>\n<\/li>\n<li style=\"box-sizing: border-box;margin: 12px 0px;padding: 14px 16px;color: rgb(55, 65, 81);counter-increment: step-counter 1;display: flex;align-items: flex-start;gap: 14px;background: rgb(255, 255, 255);border: 1px solid rgb(229, 231, 235);border-radius: 10px;\">\n<p style=\"box-sizing: border-box;margin: 0px;padding: 0px;color: rgb(55, 65, 81);\"><span leaf=\"\" style=\"box-sizing: border-box;color: rgb(55, 65, 81);\"><span textstyle=\"\" style=\"color: #ff2941;font-weight: bold;\">4.&nbsp;<\/span><\/span><span leaf=\"\">\u5728 SDK Platforms \u9875\u7b7e\u4e2d\u4e0b\u8f7d&nbsp;<\/span><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\">HarmonyOS 4.0<\/span><\/strong><span leaf=\"\">&nbsp;\u7cfb\u7edf\u955c\u50cf\uff08\u8fd9\u662f\u76ee\u524dNext\u6700\u7a33\u5b9a\u7684\u7248\u672c\uff09\uff1b<\/span><\/p>\n<\/li>\n<li style=\"box-sizing: border-box;margin: 12px 0px;padding: 14px 16px;color: rgb(55, 65, 81);counter-increment: step-counter 1;display: flex;align-items: flex-start;gap: 14px;background: rgb(255, 255, 255);border: 1px solid rgb(229, 231, 235);border-radius: 10px;\">\n<p style=\"box-sizing: border-box;margin: 0px;padding: 0px;color: rgb(55, 65, 81);\"><span leaf=\"\" style=\"box-sizing: border-box;color: rgb(55, 65, 81);\"><span textstyle=\"\" style=\"color: #ff2941;font-weight: bold;\">5.&nbsp;<\/span><\/span><span leaf=\"\">\u8fdb\u5165&nbsp;<\/span><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\">Tools \u2192 Device Manager<\/span><\/strong><span leaf=\"\">\uff0c\u70b9\u51fb&nbsp;<\/span><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\">Create emulator<\/span><\/strong><span leaf=\"\">\uff1b<\/span><\/p>\n<\/li>\n<li style=\"box-sizing: border-box;margin: 12px 0px;padding: 14px 16px;color: rgb(55, 65, 81);counter-increment: step-counter 1;display: flex;align-items: flex-start;gap: 14px;background: rgb(255, 255, 255);border: 1px solid rgb(229, 231, 235);border-radius: 10px;\">\n<p style=\"box-sizing: border-box;margin: 0px;padding: 0px;color: rgb(55, 65, 81);\"><span leaf=\"\" style=\"box-sizing: border-box;color: rgb(55, 65, 81);\"><span textstyle=\"\" style=\"color: #ff2941;font-weight: bold;\">6.&nbsp;<\/span><\/span><span leaf=\"\">\u8bbe\u5907\u7c7b\u578b\u9009\u62e9&nbsp;<\/span><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\">Phone<\/span><\/strong><span leaf=\"\">\uff0c\u9009\u4e00\u4e2a\u5206\u8fa8\u7387\u9002\u4e2d\u7684\u578b\u53f7\uff0c\u7cfb\u7edf\u7248\u672c\u9009\u521a\u4e0b\u8f7d\u7684HarmonyOS 4.0\u955c\u50cf\uff1b<\/span><\/p>\n<\/li>\n<li style=\"box-sizing: border-box;margin: 12px 0px;padding: 14px 16px;color: rgb(55, 65, 81);counter-increment: step-counter 1;display: flex;align-items: flex-start;gap: 14px;background: rgb(255, 255, 255);border: 1px solid rgb(229, 231, 235);border-radius: 10px;\">\n<p style=\"box-sizing: border-box;margin: 0px;padding: 0px;color: rgb(55, 65, 81);\"><span leaf=\"\" style=\"box-sizing: border-box;color: rgb(55, 65, 81);\"><span textstyle=\"\" style=\"color: #ff2941;font-weight: bold;\">7.&nbsp;<\/span><\/span><span leaf=\"\">\u70b9\u51fbFinish\uff0c\u542f\u52a8\u6a21\u62df\u5668\u3002<\/span><\/p>\n<\/li>\n<\/ol>\n<p><span style=\"box-sizing: border-box;margin: 1px 0px 0px;padding: 0px;font-size: 20px;flex-shrink: 0;\"><span leaf=\"\">\ud83d\udca1<span textstyle=\"\" style=\"font-size: 15px;color: #ff2941;font-weight: bold;\">\u6ce8\u610f\uff1a<\/span><\/span><\/span><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 15px;\">HarmonyOS\u6a21\u62df\u5668\u542f\u52a8\u540e\uff0c\u901a\u8fc7&nbsp;<\/span><\/span><code style=\"box-sizing: border-box;margin: 0px;padding: 2px 6px;background: rgb(240, 241, 244);border-radius: 4px;font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, monospace;font-size: 13px;color: rgb(190, 18, 60);\"><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 15px;\">adb devices<\/span><\/span><\/code><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 15px;\">&nbsp;\u540c\u6837\u80fd\u8bc6\u522b\u5230\u8bbe\u5907\uff08\u9e3f\u8499\u4fdd\u7559\u4e86ADB\u6865\u63a5\u534f\u8bae\uff09\uff0c\u8fd9\u6837\u53ef\u4ee5\u548cAndroid\u5171\u7528\u4e00\u4e2a Appium \u5b9e\u4f8b\uff0c\u51cf\u5c11\u73af\u5883\u7ef4\u62a4\u91cf\u3002<\/span><\/span><\/p>\n<hr style=\"border-style: solid;border-width: 1px 0 0;border-color: rgba(0,0,0,0.1);-webkit-transform-origin: 0 0;-webkit-transform: scale(1, 0.5);transform-origin: 0 0;transform: scale(1, 0.5);\"  \/>\n<section style=\"text-align: left;\"><span data-pm-slice=\"0 0 []\"><span style=\"color: rgb(156, 163, 175);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 13px;font-style: italic;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;\" data-pm-slice=\"0 0 []\"><span leaf=\"\"><br  \/><\/span><\/span><\/span><\/section>\n<section><span style=\"box-sizing: border-box;margin: 0px 0px 10px;padding: 3px 10px;display: inline-block;font-size: 12px;font-weight: 700;color: rgb(255, 255, 255);background: rgb(15, 118, 110);border-radius: 20px;letter-spacing: 0.5px;font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\" data-pm-slice=\"0 0 []\"><span leaf=\"\">\u7b2c\u56db\u7ae0<\/span><\/span><span style=\"color: rgb(26, 26, 46);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(250, 251, 252);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;display: inline !important;float: none;\"><span leaf=\"\">&nbsp;<\/span><\/span><\/section>\n<h2 style=\"box-sizing: border-box;margin: 0px;padding: 0px 0px 12px;font-size: 22px;font-weight: 800;color: rgb(26, 26, 46);border-bottom: 3px solid rgb(79, 70, 229);display: inline-block;line-height: 1.35;font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(250, 251, 252);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\"><span leaf=\"\">Appium\u73af\u5883\u914d\u7f6e<\/span><\/h2>\n<section style=\"text-align: center;\"><span data-pm-slice=\"0 0 []\"><span data-pm-slice=\"0 0 []\"><span leaf=\"\"><br  \/><\/span><\/span><\/span><\/section>\n<section style=\"text-align: center;\"><span data-pm-slice=\"0 0 []\"><span data-pm-slice=\"0 0 []\"><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 15px;color: #7b0c00;font-weight: bold;\">Appium \u670d\u52a1\u5668\u8fde\u63a5\u4e09\u7aef\u6a21\u62df\u5668<\/span><\/span><\/span><\/span><\/section>\n<section style=\"text-align: center;\" nodeleaf=\"\">\n<figure class=\"wx-qr-wrap\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-aistatus=\"1\" data-imgfileid=\"100000536\" data-s=\"300,640\" data-type=\"png\" type=\"block\" src=\"https:\/\/mmbiz.qpic.cn\/sz_mmbiz_png\/BWmfcibGhS1LgOdYzFnfZyN5g1mWH7JTuwRSwAz4GYvvWsiat1CxOb6dlFFC5IUa8Jq5CvYb1thq0bn7M7CvaQhibLMpMYZmDmhq2UaasLx3Kk\/640?wx_fmt=png&#038;from=appmsg\" \/><figcaption class=\"wx-qr-tip\"><img decoding=\"async\" src=\"https:\/\/www.deartester.com\/wp-content\/uploads\/2026\/09\/wechat-qr.jpg\" alt=\"\u5fae\u4fe1\u516c\u4f17\u53f7\u4e8c\u7ef4\u7801\" loading=\"lazy\"><span>\u56fe\u7247\u5f15\u81ea\u5fae\u4fe1\u516c\u4f17\u53f7\uff0c\u626b\u7801\u5173\u6ce8\u9605\u8bfb\u539f\u6587<\/span><\/figcaption><\/figure>\n<\/section>\n<section style=\"text-align: center;\"><span data-pm-slice=\"0 0 []\"><span style=\"color: rgb(156, 163, 175);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 13px;font-style: italic;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;\" data-pm-slice=\"0 0 []\"><span style=\"color: rgb(156, 163, 175);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 13px;font-style: italic;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;\" data-pm-slice=\"0 0 []\"><span leaf=\"\">Appium\u670d\u52a1\u4f5c\u4e3a\u7edf\u4e00\u5165\u53e3\uff0c\u540c\u65f6\u8fde\u63a5\u4e09\u7aef\u6a21\u62df\u5668<\/span><\/span><\/span><\/span><\/section>\n<p style=\"box-sizing: border-box;margin: 12px 0px;padding: 0px;color: rgb(55, 65, 81);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\" data-pm-slice=\"0 0 []\"><span leaf=\"\">Appium\u662f\u8fde\u63a5\u4e09\u7aef\u7684\u7edf\u4e00\u6865\u6881\u3002\u914d\u7f6e\u597d\u4e4b\u540e\uff0c<\/span><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\">\u4e00\u6b21\u542f\u52a8\uff0c\u4e09\u7aef\u901a\u8054<\/span><\/strong><span leaf=\"\">\u3002<\/span><\/p>\n<h3 style=\"box-sizing: border-box;margin: 32px 0px 12px;padding: 0px 0px 0px 14px;font-size: 17px;font-weight: 700;color: rgb(30, 64, 175);border-left: 4px solid rgb(59, 130, 246);line-height: 1.4;font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\"><span leaf=\"\">Windows\u5e73\u53f0\uff08\u9002\u914d Android + HarmonyOS\uff09<\/span><\/h3>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"apache\"><code><span leaf=\"\"><span class=\"code-snippet__comment\"># ========== 1. \u5b89\u88c5Node.js ==========<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__comment\"># \u8bbf\u95ee https:\/\/nodejs.org\/ \u4e0b\u8f7dLTS\u7248\u672c<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__comment\"># ========== 2. \u5b89\u88c5Appium\u4e3b\u7a0b\u5e8f ==========<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__attribute\">npm<\/span>&nbsp;install -g appium<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__comment\"># ========== 3. \u5b89\u88c5Appium Python\u5ba2\u6237\u7aef ==========<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__attribute\">pip<\/span>&nbsp;install Appium-Python-Client<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__comment\"># ========== 4. \u5b89\u88c5Android UiAutomator2\u9a71\u52a8 ==========<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__attribute\">appium<\/span>&nbsp;driver install uiautomator2<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__comment\"># ========== 5. \u5b89\u88c5HarmonyOS\u9a71\u52a8 ==========<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__attribute\">appium<\/span>&nbsp;driver install gestural<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__comment\"># ========== 6. \u542f\u52a8Appium\u670d\u52a1\uff08\u9ed8\u8ba4\u76d1\u542c4723\u7aef\u53e3\uff09 ==========<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__attribute\">appium<\/span>&nbsp;--<span class=\"code-snippet__literal\">allow<\/span>-cors<\/span><\/code><\/pre>\n<\/section>\n<h3 style=\"box-sizing: border-box;margin: 32px 0px 12px;padding: 0px 0px 0px 14px;font-size: 17px;font-weight: 700;color: rgb(30, 64, 175);border-left: 4px solid rgb(59, 130, 246);line-height: 1.4;font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\" data-pm-slice=\"0 0 []\"><span leaf=\"\">macOS\u989d\u5916\u6b65\u9aa4\uff08\u589e\u52a0iOS\u652f\u6301\uff09<\/span><\/h3>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"nginx\"><code><span leaf=\"\"><span class=\"code-snippet__comment\"># \u5b89\u88c5XCUITest\u9a71\u52a8\uff08\u8986\u76d6iOS\u8bbe\u5907\uff09<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__attribute\">appium<\/span>&nbsp;driver install xcuitest<\/span><\/code><\/pre>\n<\/section>\n<h3 style=\"box-sizing: border-box;margin: 32px 0px 12px;padding: 0px 0px 0px 14px;font-size: 17px;font-weight: 700;color: rgb(30, 64, 175);border-left: 4px solid rgb(59, 130, 246);line-height: 1.4;font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\" data-pm-slice=\"0 0 []\"><span leaf=\"\">\u9a8c\u8bc1\u8fde\u63a5<\/span><\/h3>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"nginx\"><code><span leaf=\"\"><span class=\"code-snippet__comment\"># \u67e5\u770bAndroid \/ HarmonyOS\u8bbe\u5907<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__attribute\">adb<\/span>&nbsp;devices<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__comment\"># \u67e5\u770biOS\u6a21\u62df\u5668\u5217\u8868<\/span><\/span><\/code><code><span leaf=\"\">xcrun simctl list devices<\/span><\/code><\/pre>\n<\/section>\n<section><span style=\"box-sizing: border-box;margin: 1px 0px 0px;padding: 0px;font-size: 20px;flex-shrink: 0;color: rgb(20, 83, 45);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\" data-pm-slice=\"0 0 []\"><span leaf=\"\">\u2705<span textstyle=\"\" style=\"font-size: 15px;\">\u9a8c\u8bc1\u901a\u8fc7\u540e\uff0cAppium\u65e5\u5fd7\u91cc\u5e94\u8be5\u80fd\u770b\u5230\u5bf9\u5e94\u8bbe\u5907\u7684\u72b6\u6001\u3002\u81f3\u6b64\uff0c\u73af\u5883\u642d\u5efa\u5b8c\u6210\u3002\u4e0b\u4e00\u7ae0\u6211\u4eec\u4f1a\u5f00\u59cb\u5199\u771f\u6b63\u80fd\u7528\u8d77\u6765\u7684\u4ee3\u7801\u2014\u2014\u57fa\u4e8eQwen\u7684Skill\u4e09\u4ef6\u5957\uff0c\u8ba9\u6296\u97f3APP\u4e09\u7aef\u81ea\u52a8\u5316\u8dd1\u8d77\u6765\u3002<\/span><\/span><\/span><\/section>\n<hr style=\"border-style: solid;border-width: 1px 0 0;border-color: rgba(0,0,0,0.1);-webkit-transform-origin: 0 0;-webkit-transform: scale(1, 0.5);transform-origin: 0 0;transform: scale(1, 0.5);\"  \/>\n<p data-pm-slice=\"0 0 []\"><span style=\"box-sizing: border-box;margin: 0px 0px 10px;padding: 3px 10px;display: inline-block;font-size: 12px;font-weight: 700;color: rgb(255, 255, 255);background: rgb(220, 38, 38);border-radius: 20px;letter-spacing: 0.5px;\"><span leaf=\"\">\u7b2c\u4e94\u7ae0<\/span><\/span><span leaf=\"\">&nbsp;<\/span><\/p>\n<h2 style=\"box-sizing: border-box;margin: 0px;padding: 0px 0px 12px;font-size: 22px;font-weight: 800;color: rgb(26, 26, 46);border-bottom: 3px solid rgb(79, 70, 229);display: inline-block;line-height: 1.35;\"><span leaf=\"\">Skill\u4e09\u4ef6\u5957\u2014\u2014\u7ea6\u675fLLM\u751f\u6210\u8d28\u91cf\u7684\u6838\u5fc3<\/span><\/h2>\n<p style=\"box-sizing: border-box;margin: 16px 0px;padding: 0px 0px 0px 14px;color: rgb(75, 85, 99);font-size: 16px;border-left: 3px solid rgb(209, 213, 219);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\"><span leaf=\"\">\u5927\u6a21\u578b\u76f4\u63a5\u751f\u6210\u4ee3\u7801\uff0c\u8868\u9762\u4e0a&#8221;\u53c8\u5feb\u53c8\u5168&#8221;\uff0c\u4f46\u771f\u6b63\u62ff\u53bb\u8dd1\uff0c\u5f80\u5f80\u95ee\u9898\u4e00\u5806\uff1a\u53d8\u91cf\u547d\u540d\u968f\u5fc3\u6240\u6b32\u3001\u65ad\u8a00\u4e00\u4e2a\u6ca1\u6709\u3001\u5b9a\u4f4d\u5668\u5168\u662fXPath\u9010\u5c42\u5d4c\u5957\u2014\u2014\u8fd9\u4e9b\u4e0d\u662f\u6a21\u578b\u4e0d\u591f\u806a\u660e\uff0c\u800c\u662f\u6ca1\u6709\u7ed9\u5b83\u5212\u5b9a\u8fb9\u754c\u3002Skill\u4e09\u4ef6\u5957\uff08SKILL.md + spec.yaml + template\uff09\u5c31\u662f\u8fd9\u5957\u7ea6\u675f\u673a\u5236\u7684\u6838\u5fc3\u3002<\/span><\/p>\n<h3 style=\"box-sizing: border-box;margin: 32px 0px 12px;padding: 0px 0px 0px 14px;font-size: 17px;font-weight: 700;color: rgb(30, 64, 175);border-left: 4px solid rgb(59, 130, 246);line-height: 1.4;font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\"><span leaf=\"\">5.1 \u4e3a\u4ec0\u4e48\u9700\u8981 Skill<\/span><\/h3>\n<p style=\"box-sizing: border-box;margin: 12px 0px;padding: 0px;color: rgb(55, 65, 81);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\"><span leaf=\"\">\u6211\u4eec\u5728\u5b9e\u9645\u9879\u76ee\u4e2d\u89c2\u5bdf\u5230\u5927\u6a21\u578b\u751f\u6210Appium\u4ee3\u7801\u65f6\u7684\u9ad8\u9891\u95ee\u9898\uff1a<\/span><\/p>\n<ul style=\"box-sizing: border-box;margin: 10px 0px 14px 22px;padding: 0px;color: rgb(26, 26, 46);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\" class=\"list-paddingleft-1\">\n<li style=\"box-sizing: border-box;margin: 6px 0px;padding: 0px;color: rgb(55, 65, 81);\"><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\">\u547d\u540d\u968f\u610f\u3002<\/span><\/strong><br \/>\n<section><span leaf=\"\">&nbsp;\u6a21\u578b\u968f\u624b\u751f\u6210&nbsp;<\/span><code style=\"box-sizing: border-box;margin: 0px;padding: 2px 6px;background: rgb(240, 241, 244);border-radius: 4px;font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, monospace;font-size: 13px;color: rgb(190, 18, 60);\"><span leaf=\"\">click_login_button<\/span><\/code><span leaf=\"\">\u3001<\/span><code style=\"box-sizing: border-box;margin: 0px;padding: 2px 6px;background: rgb(240, 241, 244);border-radius: 4px;font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, monospace;font-size: 13px;color: rgb(190, 18, 60);\"><span leaf=\"\">handlePopup<\/span><\/code><span leaf=\"\">\u3001<\/span><code style=\"box-sizing: border-box;margin: 0px;padding: 2px 6px;background: rgb(240, 241, 244);border-radius: 4px;font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, monospace;font-size: 13px;color: rgb(190, 18, 60);\"><span leaf=\"\">swipe_up_2<\/span><\/code><span leaf=\"\">&nbsp;\u8fd9\u6837\u7684\u53d8\u91cf\u540d\uff0c\u7b2c\u4e00\u6b21\u770b\u80fd\u61c2\uff0c\u4e09\u4e2a\u6708\u540e\u7ef4\u62a4\u65f6\u5168\u662f\u5751\u3002\u66f4\u8981\u547d\u7684\u662f\u4e09\u7aef\u547d\u540d\u98ce\u683c\u5b8c\u5168\u4e0d\u4e00\u81f4\u3002<\/span><\/section>\n<\/li>\n<li style=\"box-sizing: border-box;margin: 6px 0px;padding: 0px;color: rgb(55, 65, 81);\"><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\">\u65ad\u8a00\u7f3a\u5931\u3002<\/span><\/strong><br \/>\n<section><span leaf=\"\">&nbsp;\u51e0\u4e4e\u6240\u6709\u6a21\u578b\u9ed8\u8ba4\u4e0d\u5199\u65ad\u8a00\u2014\u2014\u64cd\u4f5c\u5b8c\u5c31\u7ed3\u675f\u4e86\uff0c\u6839\u672c\u4e0d\u9a8c\u8bc1&#8221;\u64cd\u4f5c\u662f\u5426\u6210\u529f&#8221;\u3002\u8fd9\u662f\u4e00\u4e2a\u81f4\u547d\u4e60\u60ef\uff0c\u5c24\u5176\u5728CI\u6d41\u6c34\u7ebf\u91cc\uff0c<\/span><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\">\u6ca1\u6709\u65ad\u8a00\u7684\u6d4b\u8bd5\u7b49\u4e8e\u6ca1\u6709\u6d4b\u8bd5<\/span><\/strong><span leaf=\"\">\u3002<\/span><\/section>\n<\/li>\n<li style=\"box-sizing: border-box;margin: 6px 0px;padding: 0px;color: rgb(55, 65, 81);\"><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\">\u5b9a\u4f4d\u5668\u4e0d\u7a33\u5b9a\u3002<\/span><\/strong><br \/>\n<section><span leaf=\"\">&nbsp;\u6a21\u578b\u504f\u7231XPath\uff0c\u51e0\u4e4e\u4e0d\u7528resource-id\u6216accessibility_id\u3002\u4e00\u65e6UI\u6539\u7248\uff0cXPath\u65ad\u94fe\uff0c\u811a\u672c\u76f4\u63a5\u5d29\u6e83\u3002<\/span><\/section>\n<\/li>\n<li style=\"box-sizing: border-box;margin: 6px 0px;padding: 0px;color: rgb(55, 65, 81);\"><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\">\u9690\u5f0f\u7b49\u5f85\u7f3a\u5931\u3002<\/span><\/strong><br \/>\n<section><span leaf=\"\">&nbsp;\u6a21\u578b\u4e60\u60ef\u7528\u56fa\u5b9asleep\uff0c\u4e0d\u4e86\u89e3Appium\u7684\u663e\u5f0f\u7b49\u5f85\u673a\u5236\uff0c\u5bfc\u81f4\u95f4\u6b47\u6027\u5931\u8d25\u3002<\/span><\/section>\n<\/li>\n<\/ul>\n<p><span style=\"box-sizing: border-box;margin: 1px 0px 0px;padding: 0px;font-size: 20px;flex-shrink: 0;\"><span leaf=\"\">\ud83e\udde0<span textstyle=\"\" style=\"font-size: 15px;font-weight: bold;\">\u89e3\u51b3\u601d\u8def\uff1a<\/span><\/span><\/span><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 15px;\">SKILL.md\u8d1f\u8d23\u544a\u8bc9\u6a21\u578b&#8221;\u4f60\u662f\u8c01&#8221;\uff0cspec.yaml\u8d1f\u8d23\u544a\u8bc9\u6a21\u578b&#8221;\u4f60\u53ea\u80fd\u8fd9\u6837\u8f93\u51fa&#8221;\uff0ctemplate\u8d1f\u8d23\u544a\u8bc9\u6a21\u578b&#8221;\u4ee3\u7801\u9aa8\u67b6\u5df2\u7ecf\u5b9a\u597d\uff0c\u4f60\u53ea\u586b\u53c2\u6570&#8221;\u3002\u4e09\u5c42\u7ea6\u675f\u53e0\u52a0\uff0c\u751f\u6210\u8d28\u91cf\u624d\u53ef\u63a7\u3002<\/span><\/span><\/p>\n<h3 style=\"box-sizing: border-box;margin: 32px 0px 12px;padding: 0px 0px 0px 14px;font-size: 17px;font-weight: 700;color: rgb(30, 64, 175);border-left: 4px solid rgb(59, 130, 246);line-height: 1.4;font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\"><span leaf=\"\">5.2 SKILL.md \u5b8c\u6574\u5185\u5bb9<\/span><\/h3>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"markdown\"><code><span leaf=\"\"><span class=\"code-snippet__section\"># SKILL.md \u2014 \u8de8\u5e73\u53f0\u79fb\u52a8\u7aef\u81ea\u52a8\u5316\u4ee3\u7801\u751f\u6210\u4e13\u5bb6<\/span><\/span><\/code><code><span leaf=\"\">name: app-automation-expert<\/span><\/code><code><span leaf=\"\">version: \"1.0\"<\/span><\/code><code><span leaf=\"\">description: \u8de8\u5e73\u53f0\u79fb\u52a8\u7aef\u81ea\u52a8\u5316\u6d4b\u8bd5\u4ee3\u7801\u751f\u6210\u4e13\u5bb6\uff0c\u4e13\u6ce8\u4e8e Android\uff08Appium Python\uff09\u3001iOS\uff08Appium XCUITest Python\uff09\u3001HarmonyOS\uff08DevEco Testing ArkTS\uff09\u4e09\u7aef\u81ea\u52a8\u5316\u811a\u672c\u751f\u6210\u4e0e\u4f18\u5316\u3002<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__section\">## \u89d2\u8272\u5b9a\u4e49<\/span><\/span><\/code><code><span leaf=\"\">\u4f60\u662f\u4e00\u540d\u8d44\u6df1\u79fb\u52a8\u7aef\u81ea\u52a8\u5316\u6d4b\u8bd5\u5de5\u7a0b\u5e08\uff0c\u7cbe\u901a Android\u3001iOS\u3001HarmonyOS \u4e09\u5927\u5e73\u53f0\u7684 UI \u81ea\u52a8\u5316\u6846\u67b6\uff0c\u5177\u5907\u4ee5\u4e0b\u80fd\u529b\uff1a<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__bullet\">-<\/span>&nbsp;\u719f\u7ec3\u4f7f\u7528 Appium\uff08Android\/iOS\uff09\u8fdb\u884c\u8de8\u5e73\u53f0\u81ea\u52a8\u5316\u6d4b\u8bd5<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__bullet\">-<\/span>&nbsp;\u719f\u7ec3\u4f7f\u7528 DevEco Testing\uff08HarmonyOS\uff09\u8fdb\u884c ArkTS \u81ea\u52a8\u5316\u6d4b\u8bd5<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__bullet\">-<\/span>&nbsp;\u6df1\u5ea6\u7406\u89e3 PageObject \u8bbe\u8ba1\u6a21\u5f0f\u4e0e\u5173\u952e\u5b57\u9a71\u52a8\u6d4b\u8bd5\u6846\u67b6<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__bullet\">-<\/span>&nbsp;\u80fd\u591f\u6839\u636e UI \u63cf\u8ff0\u6216\u622a\u56fe\u751f\u6210\u7a33\u5b9a\u53ef\u9760\u7684\u5143\u7d20\u5b9a\u4f4d\u5668<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__bullet\">-<\/span>&nbsp;\u80fd\u591f\u5904\u7406\u590d\u6742\u573a\u666f\uff1a\u591a\u5e73\u53f0\u5dee\u5f02\u3001\u5f39\u7a97\u3001\u7b49\u5f85\u3001\u5f02\u5e38\u6062\u590d<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__section\">## \u6838\u5fc3\u804c\u8d23<\/span><\/span><\/code><code><span leaf=\"\">\u751f\u6210\u7b26\u5408 spec.yaml \u89c4\u8303\u7684 Android\/iOS\u3001HarmonyOS \u81ea\u52a8\u5316\u4ee3\u7801\uff0c\u786e\u4fdd\uff1a<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__bullet\">1.<\/span>&nbsp;\u4ee3\u7801\u53ef\u76f4\u63a5\u8fd0\u884c\uff0c\u65e0\u9700\u989d\u5916\u4fee\u6539<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__bullet\">2.<\/span>&nbsp;\u5143\u7d20\u5b9a\u4f4d\u5668\u4f18\u5148\u4f7f\u7528\u7a33\u5b9a\u7b56\u7565\uff08id \u2192 accessibility<span class=\"code-snippet__emphasis\">_id \u2192 text \u2192 class\uff09<\/span><\/span><\/code><code><span leaf=\"\">3. \u6bcf\u4e2a\u64cd\u4f5c\u6b65\u9aa4\u540e\u5fc5\u987b\u6709\u65ad\u8a00\u9a8c\u8bc1<\/span><\/code><code><span leaf=\"\">4. \u4e09\u7aef\u4ee3\u7801\u98ce\u683c\u7edf\u4e00\uff0c\u547d\u540d\u89c4\u8303\u4e00\u81f4<\/span><\/code><code><span leaf=\"\">5. \u5305\u542b\u5b8c\u6574\u7684\u9519\u8bef\u5904\u7406\u548c\u65e5\u5fd7\u8f93\u51fa<\/span><\/code><code><span leaf=\"\">## \u4e09\u7aef\u7edf\u4e00\u89c4\u8303\u8981\u70b9<\/span><\/code><code><span leaf=\"\">### \u547d\u540d\u683c\u5f0f<\/span><\/code><code><span leaf=\"\">| \u7c7b\u578b | Android\/iOS | HarmonyOS |<\/span><\/code><code><span leaf=\"\">|------|-------------|-----------|<\/span><\/code><code><span leaf=\"\">| \u6d4b\u8bd5\u7528\u4f8b | test_\u4e1a\u52a1\u52a8\u4f5c<span class=\"code-snippet__emphasis\">_\u9884\u671f\u7ed3\u679c | async test\u4e1a\u52a1\u52a8\u4f5c_<\/span>\u9884\u671f\u7ed3\u679c() |<\/span><\/code><code><span leaf=\"\">| \u6d4b\u8bd5\u7c7b | Test{\u4e1a\u52a1}Page | @Component struct {\u4e1a\u52a1}Page |<\/span><\/code><code><span leaf=\"\">| \u5143\u7d20\u5b9a\u4f4d\u5668\u53d8\u91cf | loc<span class=\"code-snippet__emphasis\">_{\u9875\u9762}_<\/span>{\u5143\u7d20} | loc<span class=\"code-snippet__emphasis\">_{\u9875\u9762}_<\/span>{\u5143\u7d20} |<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__section\">### \u65ad\u8a00\u8981\u6c42<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__bullet\">-<\/span>&nbsp;\u6280\u672f\u5c42\u65ad\u8a00\uff1a\u6bcf\u4e2a UI \u64cd\u4f5c\u540e\u5fc5\u987b\u9a8c\u8bc1\u5143\u7d20\u5b58\u5728\u6216\u6d88\u5931<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__bullet\">-<\/span>&nbsp;\u4e1a\u52a1\u5c42\u65ad\u8a00\uff1a\u5173\u952e\u4e1a\u52a1\u8282\u70b9\u5fc5\u987b\u9a8c\u8bc1\u9875\u9762\u72b6\u6001\uff08\u5982\u5217\u8868\u975e\u7a7a\u3001\u641c\u7d22\u7ed3\u679c &gt; 0\uff09<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__bullet\">-<\/span>&nbsp;\u683c\u5f0f\u7edf\u4e00\uff1aAndroid\/iOS \u4f7f\u7528 assertEqual \/ assertTrue\uff0cHarmonyOS \u4f7f\u7528 expect()<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__section\">### \u7981\u6b62\u4e8b\u9879<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__bullet\">-<\/span>&nbsp;\u274c \u7981\u6b62\u4f7f\u7528\u786c\u7f16\u7801 sleep\uff0c\u5fc5\u987b\u4f7f\u7528\u663e\u5f0f\u7b49\u5f85\uff08WebDriverWait \/ until\uff09<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__bullet\">-<\/span>&nbsp;\u274c \u7981\u6b62\u4f7f\u7528\u7edd\u5bf9\u5750\u6807\u70b9\u51fb\uff0c\u5fc5\u987b\u4f7f\u7528\u5143\u7d20\u5b9a\u4f4d<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__bullet\">-<\/span>&nbsp;\u274c \u7981\u6b62\u5728\u5f39\u7a97\u5904\u7406\u524d\u4e0d\u68c0\u67e5\u5f39\u7a97\u662f\u5426\u5b58\u5728<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__bullet\">-<\/span>&nbsp;\u274c \u7981\u6b62\u751f\u6210\u6ca1\u6709\u65ad\u8a00\u7684\u6d4b\u8bd5\u7528\u4f8b<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__bullet\">-<\/span>&nbsp;\u274c \u7981\u6b62\u4f7f\u7528 XPath \u7edd\u5bf9\u8def\u5f84\uff0c\u5fc5\u987b\u4f7f\u7528\u76f8\u5bf9\u5b9a\u4f4d\uff08id\u3001text\u3001class \u7ec4\u5408\uff09<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__section\">## \u9ed8\u8ba4\u7b49\u5f85\u65f6\u95f4\u914d\u7f6e<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__bullet\">-<\/span>&nbsp;\u5143\u7d20\u67e5\u627e\u663e\u5f0f\u7b49\u5f85\uff1a10 \u79d2<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__bullet\">-<\/span>&nbsp;\u9875\u9762\u52a0\u8f7d\u7b49\u5f85\uff1a5 \u79d2<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__bullet\">-<\/span>&nbsp;\u6ed1\u52a8\u64cd\u4f5c\u540e\u7b49\u5f85\uff1a1 \u79d2<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__section\">- \u5f39\u7a97\u68c0\u6d4b\u6700\u5927\u91cd\u8bd5\uff1a3 \u6b21\uff08\u6bcf\u6b21\u95f4\u9694 1 \u79d2\uff09<\/span><\/span><\/code><code><span leaf=\"\">---<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__section\"># \u3010\u5173\u952e\u63d0\u793a\u3011\u6bcf\u6b21\u751f\u6210\u524d\u5fc5\u987b\u5b8c\u6210\u4ee5\u4e0b\u68c0\u67e5\u6e05\u5355<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__bullet\">1.<\/span>&nbsp;[ ] \u786e\u8ba4\u88ab\u6d4b\u5e73\u53f0\uff08Android \/ iOS \/ HarmonyOS\uff09<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__bullet\">2.<\/span>&nbsp;[ ] \u786e\u8ba4\u64cd\u4f5c\u5e8f\u5217\u5b8c\u6574\uff08\u542f\u52a8 \u2192 \u64cd\u4f5c \u2192 \u65ad\u8a00 \u2192 \u9000\u51fa\uff09<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__bullet\">3.<\/span>&nbsp;[ ] \u68c0\u67e5\u6bcf\u4e2a\u64cd\u4f5c\u6b65\u9aa4\u662f\u5426\u6709\u5bf9\u5e94\u65ad\u8a00<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__bullet\">4.<\/span>&nbsp;[ ] \u68c0\u67e5\u5b9a\u4f4d\u5668\u662f\u5426\u9075\u5faa\u4f18\u5148\u7ea7\u89c4\u8303<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__bullet\">5.<\/span>&nbsp;[ ] \u786e\u8ba4\u4ee3\u7801\u53ef\u4ee5\u76f4\u63a5\u590d\u5236\u8fd0\u884c<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__bullet\">6.<\/span>&nbsp;[ ] \u786e\u8ba4\u622a\u56fe\u4fdd\u5b58\u8def\u5f84\u89c4\u8303\u4e14\u76ee\u5f55\u5b58\u5728<\/span><\/code><\/pre>\n<\/section>\n<h3 style=\"box-sizing: border-box;margin: 32px 0px 12px;padding: 0px 0px 0px 14px;font-size: 17px;font-weight: 700;color: rgb(30, 64, 175);border-left: 4px solid rgb(59, 130, 246);line-height: 1.4;font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\" data-pm-slice=\"0 0 []\"><span leaf=\"\">5.3 spec.yaml \u5b8c\u6574\u5185\u5bb9<\/span><\/h3>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"makefile\"><code><span leaf=\"\"><span class=\"code-snippet__comment\"># spec.yaml \u2014 \u8de8\u5e73\u53f0\u79fb\u52a8\u7aef\u81ea\u52a8\u5316\u4ee3\u7801\u751f\u6210\u89c4\u8303<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__comment\"># \u7248\u672c\uff1a1.0 | \u9002\u7528\u5e73\u53f0\uff1aAndroid \/ iOS \/ HarmonyOS<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__section\">metadata:<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; last_updated:&nbsp;<span class=\"code-snippet__string\">\"2025-01-15\"<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; maintainer: QA Team<\/span><\/code><code><span leaf=\"\">&nbsp; version:&nbsp;<span class=\"code-snippet__string\">\"1.0\"<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__comment\"># ==================== \u547d\u540d\u89c4\u8303 ====================<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__section\">naming_conventions:<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; android:<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; test_case:&nbsp;<span class=\"code-snippet__string\">\"test_{module}_{action}_{expected}\"<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; test_class:&nbsp;<span class=\"code-snippet__string\">\"Test{Module}Page\"<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; locator_variable:&nbsp;<span class=\"code-snippet__string\">\"loc_{page}_{element}\"<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; ios:<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; test_case:&nbsp;<span class=\"code-snippet__string\">\"test_{module}_{action}_{expected}\"<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; test_class:&nbsp;<span class=\"code-snippet__string\">\"Test{Module}Page\"<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; locator_variable:&nbsp;<span class=\"code-snippet__string\">\"loc_{page}_{element}\"<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; harmonyos:<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; test_function:&nbsp;<span class=\"code-snippet__string\">\"async test{Module}{Action}{Expected}()\"<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; component_struct:&nbsp;<span class=\"code-snippet__string\">\"{Module}Page\"<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; locator_variable:&nbsp;<span class=\"code-snippet__string\">\"loc{Page}{Element}\"<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__comment\"># ==================== \u5143\u7d20\u5b9a\u4f4d\u5668\u4f18\u5148\u7ea7 ====================<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__section\">locator_priority:<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; levels:<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; - name:&nbsp;<span class=\"code-snippet__string\">\"\u4f18\u5148\u7ea71\uff1aID \/ Resource-ID\uff08\u6700\u7a33\u5b9a\uff09\"<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; android:&nbsp;<span class=\"code-snippet__string\">\"By.id, driver.find_element_by_id\"<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; ios:&nbsp;<span class=\"code-snippet__string\">\"By.ACCESSIBILITY_ID\uff08\u63a8\u8350\uff09\"<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; harmonyos:&nbsp;<span class=\"code-snippet__string\">\"driver.findComponent(By.id)\"<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; - name:&nbsp;<span class=\"code-snippet__string\">\"\u4f18\u5148\u7ea72\uff1aAccessibility ID\"<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; android:&nbsp;<span class=\"code-snippet__string\">\"By.accessibility_id\"<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; harmonyos:&nbsp;<span class=\"code-snippet__string\">\"By.accessibility\"<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; - name:&nbsp;<span class=\"code-snippet__string\">\"\u4f18\u5148\u7ea73\uff1aText \/ Label \u6587\u672c\u5339\u914d\"<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; android:&nbsp;<span class=\"code-snippet__string\">\"By.xpath with contains(@text, '...')\"<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; ios:&nbsp;<span class=\"code-snippet__string\">\"By.name\"<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; harmonyos:&nbsp;<span class=\"code-snippet__string\">\"By.text\"<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; - name:&nbsp;<span class=\"code-snippet__string\">\"\u4f18\u5148\u7ea74\uff1aClass + Index \u7ec4\u5408\"<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; android:&nbsp;<span class=\"code-snippet__string\">\"By.xpath with class + index\"<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; ios:&nbsp;<span class=\"code-snippet__string\">\"By.class_name + index\"<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; harmonyos:&nbsp;<span class=\"code-snippet__string\">\"By.type + index\"<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; - name:&nbsp;<span class=\"code-snippet__string\">\"\u4f18\u5148\u7ea75\uff1a\u5750\u6807\uff08\u6700\u540e\u624b\u6bb5\uff09\"<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; android:&nbsp;<span class=\"code-snippet__string\">\"TouchAction + tap(x, y)\"<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; ios:&nbsp;<span class=\"code-snippet__string\">\"XCUIElement.coordinate(x: y:)\"<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; harmonyos:&nbsp;<span class=\"code-snippet__string\">\"driver.tap([x, y])\"<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__comment\"># ==================== \u65ad\u8a00\u89c4\u8303 ====================<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__section\">assertion_rules:<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; technical:<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; -&nbsp;<span class=\"code-snippet__string\">\"\u5143\u7d20\u51fa\u73b0\uff1aassertTrue(element.is_displayed())\"<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; -&nbsp;<span class=\"code-snippet__string\">\"\u5143\u7d20\u6d88\u5931\uff1aassertFalse(exists)\"<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; -&nbsp;<span class=\"code-snippet__string\">\"\u5143\u7d20\u53ef\u70b9\u51fb\uff1aassertTrue(element.is_enabled())\"<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; business:<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; -&nbsp;<span class=\"code-snippet__string\">\"\u641c\u7d22\u7ed3\u679c\u6570 &gt; 0\uff1aassertTrue(len(results) &gt; 0)\"<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; -&nbsp;<span class=\"code-snippet__string\">\"\u9875\u9762\u6807\u9898\u6b63\u786e\uff1aassertEqual(driver.title, '\u671f\u671b\u6807\u9898')\"<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; -&nbsp;<span class=\"code-snippet__string\">\"\u5217\u8868\u975e\u7a7a\uff1aassertTrue(len(list_items) &gt; 0)\"<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__comment\"># ==================== \u7981\u6b62\u4e8b\u9879 ====================<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__section\">forbidden_patterns:<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; - rule:&nbsp;<span class=\"code-snippet__string\">\"\u7981\u6b62\u786c\u7f16\u7801 sleep\"<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; correct:&nbsp;<span class=\"code-snippet__string\">\"WebDriverWait(driver, 10).until(EC.presence_of_element_located(...))\"<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; wrong:&nbsp;<span class=\"code-snippet__string\">\"time.sleep(3) &nbsp;# \u274c \u7981\u6b62\"<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; - rule:&nbsp;<span class=\"code-snippet__string\">\"\u7981\u6b62 XPath \u7edd\u5bf9\u8def\u5f84\"<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; correct:&nbsp;<span class=\"code-snippet__string\">\"By.id('com.example:id\/btn_confirm')\"<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; wrong:&nbsp;<span class=\"code-snippet__string\">\"\/\/android.widget.Button[3]\/android.view.View[1] &nbsp;# \u274c \u7981\u6b62\"<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__comment\"># ==================== \u7b49\u5f85\u914d\u7f6e ====================<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__section\">wait_config:<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; explicit_wait: 10 &nbsp; &nbsp; &nbsp;&nbsp;<span class=\"code-snippet__comment\"># \u5143\u7d20\u67e5\u627e\u663e\u5f0f\u7b49\u5f85\uff08\u79d2\uff09<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; page_load_wait: 5 &nbsp; &nbsp; &nbsp;&nbsp;<span class=\"code-snippet__comment\"># \u9875\u9762\u52a0\u8f7d\u7b49\u5f85\uff08\u79d2\uff09<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; swipe_wait: 1 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class=\"code-snippet__comment\"># \u6ed1\u52a8\u540e\u7a33\u5b9a\u7b49\u5f85\uff08\u79d2\uff09<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; popup_retry: 3 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class=\"code-snippet__comment\"># \u5f39\u7a97\u68c0\u6d4b\u91cd\u8bd5\u6b21\u6570<\/span><\/span><\/code><\/pre>\n<\/section>\n<h3 style=\"box-sizing: border-box;margin: 32px 0px 12px;padding: 0px 0px 0px 14px;font-size: 17px;font-weight: 700;color: rgb(30, 64, 175);border-left: 4px solid rgb(59, 130, 246);line-height: 1.4;font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\" data-pm-slice=\"0 0 []\"><span leaf=\"\">5.4 template \u4ee3\u7801\u6a21\u677f\u6982\u8ff0<\/span><\/h3>\n<p style=\"box-sizing: border-box;margin: 12px 0px;padding: 0px;color: rgb(55, 65, 81);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\"><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\">template\u662fSKILL.md + spec.yaml\u7ea6\u675f\u4f53\u7cfb\u7684\u6700\u540e\u4e00\u9053\u9632\u7ebf\uff1a<\/span><\/strong><span leaf=\"\">\u544a\u8bc9LLM&#8221;\u4ee3\u7801\u9aa8\u67b6\u5df2\u7ecf\u5199\u597d\uff0c\u4f60\u53ea\u8d1f\u8d23\u586b\u53c2\u6570&#8221;\u3002<\/span><\/p>\n<ul style=\"box-sizing: border-box;margin: 10px 0px 14px 22px;padding: 0px;color: rgb(26, 26, 46);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\" class=\"list-paddingleft-1\">\n<li style=\"box-sizing: border-box;margin: 6px 0px;padding: 0px;color: rgb(55, 65, 81);\"><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\">template_android.py.j2<\/span><\/strong><br \/>\n<section><span leaf=\"\">&nbsp;\u2014 Appium Android Python\u6a21\u677f\u3002\u57fa\u4e8ePageObject\u6a21\u5f0f\u6784\u5efa\uff0c\u5305\u542b\u6d4b\u8bd5\u7c7b\u9aa8\u67b6\u3001Desired Capabilities\u914d\u7f6e\u533a\u3001\u57fa\u7840\u5de5\u5177\u65b9\u6cd5\uff08\u663e\u5f0f\u7b49\u5f85\u3001\u622a\u56fe\u3001\u5f39\u7a97\u68c0\u6d4b\uff09\uff0cLLM\u53ea\u9700\u5728\u5360\u4f4d\u533a\u57df\u586b\u5145\u4e1a\u52a1\u903b\u8f91\u3002<\/span><\/section>\n<\/li>\n<li style=\"box-sizing: border-box;margin: 6px 0px;padding: 0px;color: rgb(55, 65, 81);\"><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\">template_ios.py.j2<\/span><\/strong><br \/>\n<section><span leaf=\"\">&nbsp;\u2014 Appium XCUITest Python\u6a21\u677f\u3002\u4e0eAndroid\u6a21\u677f\u7ed3\u6784\u4e00\u81f4\uff0c\u4f46\u5b9a\u4f4d\u5668\u7b56\u7565\u548c\u90e8\u5206API\uff08\u5982swipe_up\u3001alert\u5904\u7406\uff09\u66ff\u6362\u4e3aiOS\u539f\u751f\u5b9e\u73b0\u3002<\/span><\/section>\n<\/li>\n<li style=\"box-sizing: border-box;margin: 6px 0px;padding: 0px;color: rgb(55, 65, 81);\"><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\">template_harmony.py.j2<\/span><\/strong><br \/>\n<section><span leaf=\"\">&nbsp;\u2014 DevEco Testing ArkTS\u6a21\u677f\u3002\u4ee5@Component struct\u4e3a\u9875\u9762\u7ec4\u4ef6\u5355\u4f4d\uff0c\u5185\u7f6edriver\u64cd\u4f5c\u5c01\u88c5\u548cexpect\u65ad\u8a00\u98ce\u683c\uff0c\u6574\u4f53\u601d\u8def\u4e0eAppium\u6a21\u677f\u4e00\u81f4\u3002<\/span><\/section>\n<\/li>\n<\/ul>\n<p style=\"box-sizing: border-box;margin: 12px 0px;padding: 0px;color: rgb(55, 65, 81);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\"><span leaf=\"\">\u4e09\u7aef\u6a21\u677f\u7edf\u4e00\u7684\u7ed3\u6784\uff1a<\/span><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\">\u6d4b\u8bd5\u5165\u53e3\u5c42\uff08Setup\/Teardown\uff09\u2192 \u4e1a\u52a1\u9875\u9762\u5bf9\u8c61\u5c42\uff08PageObject\uff09\u2192 \u5143\u7d20\u5b9a\u4f4d\u5668\u5c42\uff08locator\u5b57\u5178\uff09\u2192 \u64cd\u4f5c\u65ad\u8a00\u5c42\uff08step + assert\uff09<\/span><\/strong><span leaf=\"\">\u3002LLM\u5728\u8fd9\u4e2a\u9aa8\u67b6\u5185\u586b\u5145\u5177\u4f53\u53c2\u6570\uff0c\u59cb\u7ec8\u4e0d\u4f1a\u8df3\u51fa\u6846\u67b6\u3002<\/span><\/p>\n<h3 style=\"box-sizing: border-box;margin: 32px 0px 12px;padding: 0px 0px 0px 14px;font-size: 17px;font-weight: 700;color: rgb(30, 64, 175);border-left: 4px solid rgb(59, 130, 246);line-height: 1.4;font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\"><span leaf=\"\">5.5 \u4e09\u4ef6\u5957\u914d\u5408\u5de5\u4f5c\u6d41\u7a0b<\/span><\/h3>\n<section style=\"text-align: center;\"><span style=\"box-sizing: border-box;margin: 1px 0px 0px;padding: 0px;font-size: 20px;flex-shrink: 0;color: rgb(20, 83, 45);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\" data-pm-slice=\"0 0 []\"><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 16px;color: #7b0c00;font-weight: bold;\">Skill \u4e09\u4ef6\u5957\u914d\u5408\u6d41\u7a0b\u56fe<\/span><\/span><\/span><\/section>\n<section style=\"text-align: center;\" nodeleaf=\"\">\n<figure class=\"wx-qr-wrap\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-aistatus=\"1\" data-imgfileid=\"100000537\" data-s=\"300,640\" data-type=\"png\" type=\"block\" src=\"https:\/\/mmbiz.qpic.cn\/mmbiz_png\/BWmfcibGhS1LOI0UIKvbZh6W5HXN0tpWqIKxM4tOCBzPcCKJHE1kH91SgqP0uv2cBYWPARicjuhVG0MOQHmDJxqAV6qTttl6T8iaQiaGfy3Ijib4\/640?wx_fmt=png&#038;from=appmsg\" \/><figcaption class=\"wx-qr-tip\"><img decoding=\"async\" src=\"https:\/\/www.deartester.com\/wp-content\/uploads\/2026\/09\/wechat-qr.jpg\" alt=\"\u5fae\u4fe1\u516c\u4f17\u53f7\u4e8c\u7ef4\u7801\" loading=\"lazy\"><span>\u56fe\u7247\u5f15\u81ea\u5fae\u4fe1\u516c\u4f17\u53f7\uff0c\u626b\u7801\u5173\u6ce8\u9605\u8bfb\u539f\u6587<\/span><\/figcaption><\/figure>\n<\/section>\n<section style=\"text-align: center;\"><span data-pm-slice=\"0 0 []\"><span style=\"color: rgb(156, 163, 175);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 13px;font-style: italic;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;\" data-pm-slice=\"0 0 []\"><span style=\"color: rgb(156, 163, 175);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 13px;font-style: italic;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;\" data-pm-slice=\"0 0 []\"><span leaf=\"\">Skill\u4e09\u4ef6\u5957\u914d\u5408\u6d41\u7a0b \u2014 SKILL.md\u5b9a\u8eab\u4efd\u3001spec.yaml\u5212\u8fb9\u754c\u3001template\u7ed9\u9aa8\u67b6<\/span><\/span><\/span><\/span><\/section>\n<p style=\"box-sizing: border-box;margin: 12px 0px;padding: 0px;color: rgb(55, 65, 81);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\" data-pm-slice=\"0 0 []\"><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\"><span textstyle=\"\" style=\"color: #407600;\">\u7b2c\u4e00\u6b65\uff1aSKILL.md \u2192 \u89d2\u8272\u5b9a\u4e49\u3002<\/span><\/span><\/strong><span leaf=\"\">&nbsp;\u52a0\u8f7dSKILL.md\uff0cLLM\u660e\u786e\u81ea\u5df1\u7684\u8eab\u4efd\u662f&#8221;\u8de8\u5e73\u53f0\u79fb\u52a8\u7aef\u81ea\u52a8\u5316\u4e13\u5bb6&#8221;\uff0c\u77e5\u9053\u9700\u8981\u751f\u6210\u5b8c\u6574\u53ef\u8fd0\u884c\u7684\u4e09\u7aef\u4ee3\u7801\uff0c\u77e5\u9053PageObject\u6a21\u5f0f\u548c\u65ad\u8a00\u8981\u6c42\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box;margin: 12px 0px;padding: 0px;color: rgb(55, 65, 81);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\"><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\"><span textstyle=\"\" style=\"color: #407600;\">\u7b2c\u4e8c\u6b65\uff1aspec.yaml \u2192 \u8f93\u51fa\u8fb9\u754c\u7ea6\u675f\u3002<\/span><\/span><\/strong><span leaf=\"\">&nbsp;spec.yaml\u4f5c\u4e3a\u4e0a\u4e0b\u6587\u6ce8\u5165\uff0cLLM\u7684\u8f93\u51fa\u8fb9\u754c\u88ab\u4e25\u683c\u7ea6\u675f\uff1a\u547d\u540d\u683c\u5f0f\u3001\u5b9a\u4f4d\u5668\u4f18\u5148\u7ea7\u3001\u7981\u6b62\u4e8b\u9879\u5168\u90e8\u5185\u7f6e\uff0c\u751f\u6210\u65f6\u81ea\u52a8\u9075\u5b88\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box;margin: 12px 0px;padding: 0px;color: rgb(55, 65, 81);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\"><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\"><span textstyle=\"\" style=\"color: #407600;\">\u7b2c\u4e09\u6b65\uff1atemplate\u6a21\u677f \u2192 \u4ee3\u7801\u9aa8\u67b6\u3002<\/span><\/span><\/strong><span leaf=\"\">&nbsp;template\u63d0\u4f9b\u5177\u4f53\u8bed\u8a00\u7684\u4ee3\u7801\u6846\u67b6\uff0cLLM\u53ea\u9700\u8981\u5728\u5360\u4f4d\u7b26\u91cc\u586b\u5165\u5177\u4f53\u53c2\u6570\uff08\u5143\u7d20\u5b9a\u4f4d\u7b26\u3001\u6587\u672c\u5185\u5bb9\u3001\u8d85\u65f6\u65f6\u95f4\u7b49\uff09\uff0c\u800c\u4e0d\u662f\u4ece\u5934\u6784\u5efa\u6574\u4e2a\u6587\u4ef6\u3002<\/span><\/p>\n<hr style=\"border-style: solid;border-width: 1px 0 0;border-color: rgba(0,0,0,0.1);-webkit-transform-origin: 0 0;-webkit-transform: scale(1, 0.5);transform-origin: 0 0;transform: scale(1, 0.5);\"  \/>\n<p data-pm-slice=\"0 0 []\"><span style=\"box-sizing: border-box;margin: 0px 0px 10px;padding: 3px 10px;display: inline-block;font-size: 12px;font-weight: 700;color: rgb(255, 255, 255);background: rgb(190, 18, 60);border-radius: 20px;letter-spacing: 0.5px;\"><span leaf=\"\">\u7b2c\u516d\u7ae0<\/span><\/span><span leaf=\"\">&nbsp;<\/span><\/p>\n<h2 style=\"box-sizing: border-box;margin: 0px;padding: 0px 0px 12px;font-size: 22px;font-weight: 800;color: rgb(26, 26, 46);border-bottom: 3px solid rgb(79, 70, 229);display: inline-block;line-height: 1.35;\"><span leaf=\"\">Douyin\u5168\u6d41\u7a0b\u5b9e\u6218\u6f14\u793a<\/span><\/h2>\n<section style=\"text-align: left;\"><span data-pm-slice=\"0 0 []\"><span style=\"color: rgb(156, 163, 175);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 13px;font-style: italic;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;\" data-pm-slice=\"0 0 []\"><span style=\"color: rgb(156, 163, 175);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 13px;font-style: italic;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: center;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;display: inline !important;float: none;\" data-pm-slice=\"0 0 []\"><span leaf=\"\"><br  \/><\/span><\/span><\/span><\/span><\/section>\n<section style=\"text-align: center;\"><span data-pm-slice=\"0 0 []\"><span style=\"color: rgb(156, 163, 175);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 13px;font-style: italic;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;\" data-pm-slice=\"0 0 []\"><span style=\"color: rgb(156, 163, 175);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 13px;font-style: italic;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;\" data-pm-slice=\"0 0 []\"><span leaf=\"\" style=\"background-color: rgb(255, 255, 255);float: none;box-sizing: border-box;margin: 1px 0px 0px;padding: 0px;font-size: 20px;flex-shrink: 0;color: rgb(20, 83, 45);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;display: inline !important;\"><span textstyle=\"\" style=\"font-size: 16px;color: #7b0c00;font-weight: bold;\">D<\/span><\/span><span leaf=\"\" style=\"box-sizing: border-box;margin: 1px 0px 0px;padding: 0px;font-size: 20px;flex-shrink: 0;color: rgb(20, 83, 45);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\"><span textstyle=\"\" style=\"font-size: 16px;color: #7b0c00;font-weight: bold;\">ouyin \u81ea\u52a8\u5316\u6d4b\u8bd5\u5b8c\u6574\u6d41\u7a0b<\/span><\/span><\/span><\/span><\/span><\/section>\n<section style=\"text-align: center;\" nodeleaf=\"\">\n<figure class=\"wx-qr-wrap\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-aistatus=\"1\" data-imgfileid=\"100000538\" data-s=\"300,640\" data-type=\"png\" type=\"block\" src=\"https:\/\/mmbiz.qpic.cn\/mmbiz_png\/BWmfcibGhS1IbkByspV7mjqFqXOzlR22jW3RHicCZvTNBnDNGb7KeIOYCubtQ90GgtmQl0XfA8uXmibFNiawdSOEKEsZRKFnVcqDm7QssBAzlGk\/640?wx_fmt=png&#038;from=appmsg\" \/><figcaption class=\"wx-qr-tip\"><img decoding=\"async\" src=\"https:\/\/www.deartester.com\/wp-content\/uploads\/2026\/09\/wechat-qr.jpg\" alt=\"\u5fae\u4fe1\u516c\u4f17\u53f7\u4e8c\u7ef4\u7801\" loading=\"lazy\"><span>\u56fe\u7247\u5f15\u81ea\u5fae\u4fe1\u516c\u4f17\u53f7\uff0c\u626b\u7801\u5173\u6ce8\u9605\u8bfb\u539f\u6587<\/span><\/figcaption><\/figure>\n<\/section>\n<section style=\"text-align: center;\"><span data-pm-slice=\"0 0 []\"><span style=\"color: rgb(156, 163, 175);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 13px;font-style: italic;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;\" data-pm-slice=\"0 0 []\"><span style=\"color: rgb(156, 163, 175);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 13px;font-style: italic;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;\" data-pm-slice=\"0 0 []\"><span style=\"color: rgb(156, 163, 175);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 13px;font-style: italic;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;\" data-pm-slice=\"0 0 []\"><span leaf=\"\">Douyin\u81ea\u52a8\u5316\u6d4b\u8bd5\u5b8c\u6574\u6d41\u7a0b \u2014 \u4ece\u542f\u52a8\u5230\u9000\u51fa\u76848\u4e2a\u6b65\u9aa4<\/span><\/span><\/span><\/span><\/span><\/section>\n<table>\n<tbody>\n<tr>\n<td data-colwidth=\"576\">\n<section style=\"text-align: center;\"><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(79, 70, 229);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 15px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;background-color: rgb(250, 251, 252);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\" data-pm-slice=\"0 0 []\"><span leaf=\"\">\u6d4b\u8bd5\u573a\u666f\uff1a<\/span><\/strong><span style=\"color: rgb(49, 46, 129);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 15px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(250, 251, 252);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;\"><span leaf=\"\"><br  \/><\/span><\/span><\/section>\n<section style=\"text-align: center;\"><span style=\"color: rgb(49, 46, 129);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 15px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(250, 251, 252);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;\"><span leaf=\"\">APP\u62c9\u8d77 \u2192 \u5173\u95ed\u9690\u79c1\u5f39\u7a97 \u2192 \u5411\u4e0a\u6ed1\u52a8\u5207\u6362\u89c6\u9891 \u2192 \u70b9\u51fb\u641c\u7d22\u680f \u2192 \u8f93\u5165&#8221;APP\u81ea\u52a8\u5316\u6d4b\u8bd5&#8221; \u2192 \u6267\u884c\u641c\u7d22 \u2192 \u622a\u56fe\u4fdd\u5b58\u7ed3\u679c \u2192 \u9000\u51faAPP<\/span><\/span><\/section>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 style=\"box-sizing: border-box;margin: 32px 0px 12px;padding: 0px 0px 0px 14px;font-size: 17px;font-weight: 700;color: rgb(30, 64, 175);border-left: 4px solid rgb(59, 130, 246);line-height: 1.4;font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\" data-pm-slice=\"0 0 []\"><span leaf=\"\">6.1 Android\u7aef\u5b8c\u6574\u4ee3\u7801<\/span><\/h3>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"python\"><code><span leaf=\"\"><span class=\"code-snippet__string\">\"\"\"<\/span><\/span><\/code><code><span leaf=\"\">douyin_android.py \u2014 \u6296\u97f3APP\u81ea\u52a8\u5316\u6d4b\u8bd5\uff08Android\uff09<\/span><\/code><code><span leaf=\"\">\u4f9d\u8d56\uff1apip install Appium-Python-Client<\/span><\/code><code><span leaf=\"\">\u8fd0\u884c\uff1apython douyin_android.py<\/span><\/code><code><span leaf=\"\">\"\"\"<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__keyword\">import<\/span>&nbsp;os, time<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__keyword\">from<\/span>&nbsp;appium&nbsp;<span class=\"code-snippet__keyword\">import<\/span>&nbsp;webdriver<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__keyword\">from<\/span>&nbsp;appium.options.android&nbsp;<span class=\"code-snippet__keyword\">import<\/span>&nbsp;UiAutomator2Options<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__keyword\">from<\/span>&nbsp;appium.webdriver.common.appiumby&nbsp;<span class=\"code-snippet__keyword\">import<\/span>&nbsp;AppiumBy<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__keyword\">from<\/span>&nbsp;selenium.webdriver.support.ui&nbsp;<span class=\"code-snippet__keyword\">import<\/span>&nbsp;WebDriverWait<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__keyword\">from<\/span>&nbsp;selenium.webdriver.support&nbsp;<span class=\"code-snippet__keyword\">import<\/span>&nbsp;expected_conditions&nbsp;<span class=\"code-snippet__keyword\">as<\/span>&nbsp;EC<\/span><\/code><code><span leaf=\"\">DOUYIN_PACKAGE =&nbsp;<span class=\"code-snippet__string\">\"com.ss.android.ugc.aweme\"<\/span><\/span><\/code><code><span leaf=\"\">DOUYIN_ACTIVITY =&nbsp;<span class=\"code-snippet__string\">\".main.MainActivity\"<\/span><\/span><\/code><code><span leaf=\"\">SCREENSHOT_DIR =&nbsp;<span class=\"code-snippet__string\">\".\/screenshots\/android\"<\/span><\/span><\/code><code><span leaf=\"\">os.makedirs(SCREENSHOT_DIR, exist_ok=<span class=\"code-snippet__literal\">True<\/span>)<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__keyword\">def<\/span>&nbsp;<span class=\"code-snippet__title\">get_driver<\/span>():<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; caps = UiAutomator2Options()<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; caps.platform_name =&nbsp;<span class=\"code-snippet__string\">\"Android\"<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; caps.device_name =&nbsp;<span class=\"code-snippet__string\">\"Android_Emulator\"<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; caps.app_package = DOUYIN_PACKAGE<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; caps.app_activity = DOUYIN_ACTIVITY<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; caps.no_reset =&nbsp;<span class=\"code-snippet__literal\">False<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; caps.auto_grant_permissions =&nbsp;<span class=\"code-snippet__literal\">True<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp;&nbsp;<span class=\"code-snippet__keyword\">return<\/span>&nbsp;webdriver.Remote(<span class=\"code-snippet__string\">\"http:\/\/localhost:4723\"<\/span>, options=caps)<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__keyword\">def<\/span>&nbsp;<span class=\"code-snippet__title\">dismiss_privacy_popup<\/span>(<span class=\"code-snippet__params\">driver<\/span>):<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp;&nbsp;<span class=\"code-snippet__string\">\"\"\"\u5173\u95ed\u9690\u79c1\u534f\u8bae\u5f39\u7a97\uff08\u9996\u6b21\u542f\u52a8\u5fc5\u987b\u5904\u7406\uff09\"\"\"<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp;&nbsp;<span class=\"code-snippet__keyword\">try<\/span>:<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<span class=\"code-snippet__keyword\">for<\/span>&nbsp;text&nbsp;<span class=\"code-snippet__keyword\">in<\/span>&nbsp;[<span class=\"code-snippet__string\">\"\u540c\u610f\"<\/span>,&nbsp;<span class=\"code-snippet__string\">\"\u786e\u8ba4\"<\/span>,&nbsp;<span class=\"code-snippet__string\">\"\u597d\u7684\"<\/span>,&nbsp;<span class=\"code-snippet__string\">\"\u5141\u8bb8\"<\/span>]:<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; btn = WebDriverWait(driver,&nbsp;<span class=\"code-snippet__number\">3<\/span>).until(<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; EC.element_to_be_clickable(<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (AppiumBy.ANDROID_UIAUTOMATOR,&nbsp;<span class=\"code-snippet__string\">f'textContains(\"<\/span><span class=\"code-snippet__string\"><span class=\"code-snippet__subst\">{text}<\/span><\/span><span class=\"code-snippet__string\">\")'<\/span>)<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; )<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; )<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; btn.click()<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; time.sleep(<span class=\"code-snippet__number\">1<\/span>)<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<span class=\"code-snippet__keyword\">break<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp;&nbsp;<span class=\"code-snippet__keyword\">except<\/span>&nbsp;Exception:<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<span class=\"code-snippet__keyword\">pass<\/span>&nbsp;&nbsp;<span class=\"code-snippet__comment\"># \u65e0\u5f39\u7a97\u6216\u5df2\u5904\u7406<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__keyword\">def<\/span>&nbsp;<span class=\"code-snippet__title\">swipe_up<\/span>(<span class=\"code-snippet__params\">driver, duration=<\/span><span class=\"code-snippet__params\"><span class=\"code-snippet__number\">800<\/span><\/span>):<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp;&nbsp;<span class=\"code-snippet__string\">\"\"\"\u5411\u4e0a\u6ed1\u52a8\u4e00\u9875\u89c6\u9891\"\"\"<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; size = driver.get_window_size()<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; x = size[<span class=\"code-snippet__string\">\"width\"<\/span>] \/\/&nbsp;<span class=\"code-snippet__number\">2<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; start_y =&nbsp;<span class=\"code-snippet__built_in\">int<\/span>(size[<span class=\"code-snippet__string\">\"height\"<\/span>] *&nbsp;<span class=\"code-snippet__number\">0.75<\/span>)<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; end_y =&nbsp;<span class=\"code-snippet__built_in\">int<\/span>(size[<span class=\"code-snippet__string\">\"height\"<\/span>] *&nbsp;<span class=\"code-snippet__number\">0.25<\/span>)<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; driver.swipe(start_x=x, start_y=start_y, end_x=x, end_y=end_y, duration=duration)<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; time.sleep(<span class=\"code-snippet__number\">1.5<\/span>)<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__keyword\">def<\/span>&nbsp;<span class=\"code-snippet__title\">click_search_icon<\/span>(<span class=\"code-snippet__params\">driver<\/span>):<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp;&nbsp;<span class=\"code-snippet__string\">\"\"\"\u70b9\u51fb\u641c\u7d22\u5165\u53e3\"\"\"<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp;&nbsp;<span class=\"code-snippet__keyword\">try<\/span>:<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; search_icon = WebDriverWait(driver,&nbsp;<span class=\"code-snippet__number\">10<\/span>).until(<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; EC.element_to_be_clickable(<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (AppiumBy.ID,&nbsp;<span class=\"code-snippet__string\">f\"<\/span><span class=\"code-snippet__string\"><span class=\"code-snippet__subst\">{DOUYIN_PACKAGE}<\/span><\/span><span class=\"code-snippet__string\">:id\/search_icon\"<\/span>)<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; )<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; )<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp;&nbsp;<span class=\"code-snippet__keyword\">except<\/span>&nbsp;Exception:<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; search_icon = WebDriverWait(driver,&nbsp;<span class=\"code-snippet__number\">5<\/span>).until(<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; EC.element_to_be_clickable(<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (AppiumBy.ANDROID_UIAUTOMATOR,&nbsp;<span class=\"code-snippet__string\">'textContains(\"\u641c\u7d22\")'<\/span>)<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; )<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; )<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; search_icon.click()<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; time.sleep(<span class=\"code-snippet__number\">1<\/span>)<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__keyword\">def<\/span>&nbsp;<span class=\"code-snippet__title\">search_and_capture<\/span>(<span class=\"code-snippet__params\">driver, keyword<\/span>):<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp;&nbsp;<span class=\"code-snippet__string\">\"\"\"\u8f93\u5165\u5173\u952e\u8bcd\u641c\u7d22\u5e76\u622a\u56fe\"\"\"<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; search_input = WebDriverWait(driver,&nbsp;<span class=\"code-snippet__number\">10<\/span>).until(<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; EC.presence_of_element_located(<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (AppiumBy.ID,&nbsp;<span class=\"code-snippet__string\">f\"<\/span><span class=\"code-snippet__string\"><span class=\"code-snippet__subst\">{DOUYIN_PACKAGE}<\/span><\/span><span class=\"code-snippet__string\">:id\/search_edit\"<\/span>)<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; )<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; )<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; search_input.clear()<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; search_input.send_keys(keyword)<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; search_btn = WebDriverWait(driver,&nbsp;<span class=\"code-snippet__number\">5<\/span>).until(<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; EC.element_to_be_clickable(<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (AppiumBy.ANDROID_UIAUTOMATOR,&nbsp;<span class=\"code-snippet__string\">'text(\"\u641c\u7d22\")'<\/span>)<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; )<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; )<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; search_btn.click()<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; time.sleep(<span class=\"code-snippet__number\">3<\/span>)<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; timestamp = time.strftime(<span class=\"code-snippet__string\">\"%Y%m%d_%H%M%S\"<\/span>)<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; screenshot_path = os.path.join(SCREENSHOT_DIR,&nbsp;<span class=\"code-snippet__string\">f\"search_result_<\/span><span class=\"code-snippet__string\"><span class=\"code-snippet__subst\">{timestamp}<\/span><\/span><span class=\"code-snippet__string\">.png\"<\/span>)<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; driver.get_screenshot_as_file(screenshot_path)<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp;&nbsp;<span class=\"code-snippet__built_in\">print<\/span>(<span class=\"code-snippet__string\">f\"\u622a\u56fe\u5df2\u4fdd\u5b58:&nbsp;<\/span><span class=\"code-snippet__string\"><span class=\"code-snippet__subst\">{screenshot_path}<\/span><\/span><span class=\"code-snippet__string\">\"<\/span>)<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp;&nbsp;<span class=\"code-snippet__keyword\">return<\/span>&nbsp;screenshot_path<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__keyword\">def<\/span>&nbsp;<span class=\"code-snippet__title\">test_douyin_full_flow<\/span>():<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; driver = get_driver()<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp;&nbsp;<span class=\"code-snippet__keyword\">try<\/span>:<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; dismiss_privacy_popup(driver) &nbsp;&nbsp;<span class=\"code-snippet__comment\"># Step1: \u5173\u95ed\u9690\u79c1\u5f39\u7a97<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; time.sleep(<span class=\"code-snippet__number\">2<\/span>)<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; swipe_up(driver) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<span class=\"code-snippet__comment\"># Step2: \u5411\u4e0a\u6ed1\u52a8<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; click_search_icon(driver) &nbsp; &nbsp; &nbsp;&nbsp;<span class=\"code-snippet__comment\"># Step3: \u70b9\u51fb\u641c\u7d22\u5165\u53e3<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; time.sleep(<span class=\"code-snippet__number\">2<\/span>)<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; search_and_capture(driver,&nbsp;<span class=\"code-snippet__string\">\"APP\u81ea\u52a8\u5316\u6d4b\u8bd5\"<\/span>) &nbsp;<span class=\"code-snippet__comment\"># Step4: \u641c\u7d22<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<span class=\"code-snippet__built_in\">print<\/span>(<span class=\"code-snippet__string\">\"\u2705 Android\u7aefDouyin\u81ea\u52a8\u5316\u6d41\u7a0b\u6267\u884c\u5b8c\u6210\"<\/span>)<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp;&nbsp;<span class=\"code-snippet__keyword\">finally<\/span>:<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; driver.terminate_app(DOUYIN_PACKAGE) &nbsp;<span class=\"code-snippet__comment\"># Step5: \u9000\u51faAPP<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; driver.quit()<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__keyword\">if<\/span>&nbsp;__name__ ==&nbsp;<span class=\"code-snippet__string\">\"__main__\"<\/span>:<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; test_douyin_full_flow()<\/span><\/code><\/pre>\n<\/section>\n<h4 style=\"box-sizing: border-box;margin: 20px 0px 8px;padding: 0px 0px 0px 12px;font-size: 15px;font-weight: 700;color: rgb(15, 118, 110);border-left: 3px solid rgb(20, 184, 166);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\" data-pm-slice=\"0 0 []\"><span leaf=\"\">\u8fd0\u884c\u8bf4\u660e<\/span><\/h4>\n<p style=\"box-sizing: border-box;margin: 12px 0px;padding: 0px;color: rgb(55, 65, 81);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\"><span leaf=\"\">\u4f9d\u8d56\u5305\uff1a<\/span><code style=\"box-sizing: border-box;margin: 0px;padding: 2px 6px;background: rgb(240, 241, 244);border-radius: 4px;font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, monospace;font-size: 13px;color: rgb(190, 18, 60);\"><span leaf=\"\">pip install Appium-Python-Client selenium<\/span><\/code><br style=\"box-sizing: border-box;margin: 0px;padding: 0px;\"  \/><span leaf=\"\">\u8fd0\u884c\u547d\u4ee4\uff1a<\/span><code style=\"box-sizing: border-box;margin: 0px;padding: 2px 6px;background: rgb(240, 241, 244);border-radius: 4px;font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, monospace;font-size: 13px;color: rgb(190, 18, 60);\"><span leaf=\"\">python douyin_android.py<\/span><\/code><br style=\"box-sizing: border-box;margin: 0px;padding: 0px;\"  \/><span leaf=\"\">\u524d\u63d0\uff1a\u786e\u4fddAppium\u670d\u52a1\u5df2\u542f\u52a8\uff08<\/span><code style=\"box-sizing: border-box;margin: 0px;padding: 2px 6px;background: rgb(240, 241, 244);border-radius: 4px;font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, monospace;font-size: 13px;color: rgb(190, 18, 60);\"><span leaf=\"\">appium<\/span><\/code><span leaf=\"\">\uff09\uff0c\u6a21\u62df\u5668\/\u8bbe\u5907\u5df2\u901a\u8fc7<\/span><code style=\"box-sizing: border-box;margin: 0px;padding: 2px 6px;background: rgb(240, 241, 244);border-radius: 4px;font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, monospace;font-size: 13px;color: rgb(190, 18, 60);\"><span leaf=\"\">adb devices<\/span><\/code><span leaf=\"\">\u8fde\u63a5\u3002<\/span><\/p>\n<h3 style=\"box-sizing: border-box;margin: 32px 0px 12px;padding: 0px 0px 0px 14px;font-size: 17px;font-weight: 700;color: rgb(30, 64, 175);border-left: 4px solid rgb(59, 130, 246);line-height: 1.4;font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\"><span leaf=\"\">6.2 iOS\u7aef\u5b8c\u6574\u4ee3\u7801<\/span><\/h3>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"python\"><code><span leaf=\"\"><span class=\"code-snippet__string\">\"\"\"<\/span><\/span><\/code><code><span leaf=\"\">douyin_ios.py \u2014 \u6296\u97f3APP\u81ea\u52a8\u5316\u6d4b\u8bd5\uff08iOS\uff09<\/span><\/code><code><span leaf=\"\">\u4f9d\u8d56\uff1apip install Appium-Python-Client<\/span><\/code><code><span leaf=\"\">\u8fd0\u884c\uff1apython douyin_ios.py<\/span><\/code><code><span leaf=\"\">\"\"\"<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__keyword\">import<\/span>&nbsp;os, time<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__keyword\">from<\/span>&nbsp;appium&nbsp;<span class=\"code-snippet__keyword\">import<\/span>&nbsp;webdriver<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__keyword\">from<\/span>&nbsp;appium.options.ios&nbsp;<span class=\"code-snippet__keyword\">import<\/span>&nbsp;XCUITestOptions<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__keyword\">from<\/span>&nbsp;appium.webdriver.common.appiumby&nbsp;<span class=\"code-snippet__keyword\">import<\/span>&nbsp;AppiumBy<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__keyword\">from<\/span>&nbsp;selenium.webdriver.support.ui&nbsp;<span class=\"code-snippet__keyword\">import<\/span>&nbsp;WebDriverWait<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__keyword\">from<\/span>&nbsp;selenium.webdriver.support&nbsp;<span class=\"code-snippet__keyword\">import<\/span>&nbsp;expected_conditions&nbsp;<span class=\"code-snippet__keyword\">as<\/span>&nbsp;EC<\/span><\/code><code><span leaf=\"\">DOUYIN_BUNDLE_ID =&nbsp;<span class=\"code-snippet__string\">\"com.ss.android.ugc.aweme\"<\/span><\/span><\/code><code><span leaf=\"\">SCREENSHOT_DIR =&nbsp;<span class=\"code-snippet__string\">\".\/screenshots\/ios\"<\/span><\/span><\/code><code><span leaf=\"\">os.makedirs(SCREENSHOT_DIR, exist_ok=<span class=\"code-snippet__literal\">True<\/span>)<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__keyword\">def<\/span>&nbsp;<span class=\"code-snippet__title\">get_driver<\/span>():<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; caps = XCUITestOptions()<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; caps.platform_name =&nbsp;<span class=\"code-snippet__string\">\"iOS\"<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; caps.device_name =&nbsp;<span class=\"code-snippet__string\">\"iPhone 15\"<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; caps.bundle_id = DOUYIN_BUNDLE_ID<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; caps.no_reset =&nbsp;<span class=\"code-snippet__literal\">False<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; caps.automation_name =&nbsp;<span class=\"code-snippet__string\">\"XCUITest\"<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp;&nbsp;<span class=\"code-snippet__keyword\">return<\/span>&nbsp;webdriver.Remote(<span class=\"code-snippet__string\">\"http:\/\/localhost:4723\"<\/span>, options=caps)<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__keyword\">def<\/span>&nbsp;<span class=\"code-snippet__title\">dismiss_att_popup<\/span>(<span class=\"code-snippet__params\">driver<\/span>):<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp;&nbsp;<span class=\"code-snippet__string\">\"\"\"\u5173\u95ediOS ATT\u9690\u79c1\u5f39\u7a97\"\"\"<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp;&nbsp;<span class=\"code-snippet__keyword\">try<\/span>:<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; alert = WebDriverWait(driver,&nbsp;<span class=\"code-snippet__number\">3<\/span>).until(EC.alert_is_present())<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; alert.accept()<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; time.sleep(<span class=\"code-snippet__number\">1<\/span>)<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp;&nbsp;<span class=\"code-snippet__keyword\">except<\/span>&nbsp;Exception:<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<span class=\"code-snippet__keyword\">try<\/span>:<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; allow_btn = driver.find_element(<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AppiumBy.IOS_PREDICATE,&nbsp;<span class=\"code-snippet__string\">'name CONTAINS \"\u5141\u8bb8\"'<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; )<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; allow_btn.click()<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<span class=\"code-snippet__keyword\">except<\/span>&nbsp;Exception:<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<span class=\"code-snippet__keyword\">pass<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__keyword\">def<\/span>&nbsp;<span class=\"code-snippet__title\">swipe_up_ios<\/span>(<span class=\"code-snippet__params\">driver<\/span>):<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp;&nbsp;<span class=\"code-snippet__string\">\"\"\"\u5411\u4e0a\u6ed1\u52a8\uff08iOS\u4e13\u7528\uff09\"\"\"<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; size = driver.get_window_size()<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; x = size[<span class=\"code-snippet__string\">\"width\"<\/span>] \/\/&nbsp;<span class=\"code-snippet__number\">2<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; start_y =&nbsp;<span class=\"code-snippet__built_in\">int<\/span>(size[<span class=\"code-snippet__string\">\"height\"<\/span>] *&nbsp;<span class=\"code-snippet__number\">0.75<\/span>)<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; end_y =&nbsp;<span class=\"code-snippet__built_in\">int<\/span>(size[<span class=\"code-snippet__string\">\"height\"<\/span>] *&nbsp;<span class=\"code-snippet__number\">0.25<\/span>)<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; driver.execute_script(<span class=\"code-snippet__string\">\"mobile: swipe\"<\/span>, {<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<span class=\"code-snippet__string\">\"startX\"<\/span>: x,&nbsp;<span class=\"code-snippet__string\">\"startY\"<\/span>: start_y,<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<span class=\"code-snippet__string\">\"endX\"<\/span>: x,&nbsp;<span class=\"code-snippet__string\">\"endY\"<\/span>: end_y,&nbsp;<span class=\"code-snippet__string\">\"duration\"<\/span>:&nbsp;<span class=\"code-snippet__number\">0.8<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; })<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; time.sleep(<span class=\"code-snippet__number\">1.5<\/span>)<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__keyword\">def<\/span>&nbsp;<span class=\"code-snippet__title\">click_search_ios<\/span>(<span class=\"code-snippet__params\">driver<\/span>):<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp;&nbsp;<span class=\"code-snippet__string\">\"\"\"\u70b9\u51fb\u641c\u7d22\u5165\u53e3\uff08iOS\u7248\uff09\"\"\"<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp;&nbsp;<span class=\"code-snippet__keyword\">try<\/span>:<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; search_icon = WebDriverWait(driver,&nbsp;<span class=\"code-snippet__number\">10<\/span>).until(<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; EC.element_to_be_clickable(<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (AppiumBy.IOS_PREDICATE,<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class=\"code-snippet__string\">'label CONTAINS \"\u641c\u7d22\" OR name CONTAINS \"search\"'<\/span>)<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; )<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; )<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp;&nbsp;<span class=\"code-snippet__keyword\">except<\/span>&nbsp;Exception:<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; search_icon = WebDriverWait(driver,&nbsp;<span class=\"code-snippet__number\">5<\/span>).until(<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; EC.element_to_be_clickable(<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (AppiumBy.CLASS_NAME,&nbsp;<span class=\"code-snippet__string\">\"XCUIElementTypeTextField\"<\/span>)<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; )<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; )<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; search_icon.click()<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; time.sleep(<span class=\"code-snippet__number\">1<\/span>)<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__keyword\">def<\/span>&nbsp;<span class=\"code-snippet__title\">search_and_capture_ios<\/span>(<span class=\"code-snippet__params\">driver, keyword<\/span>):<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp;&nbsp;<span class=\"code-snippet__string\">\"\"\"\u8f93\u5165\u5173\u952e\u8bcd\u641c\u7d22\u5e76\u622a\u56fe\"\"\"<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; search_input = WebDriverWait(driver,&nbsp;<span class=\"code-snippet__number\">10<\/span>).until(<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; EC.presence_of_element_located(<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (AppiumBy.CLASS_NAME,&nbsp;<span class=\"code-snippet__string\">\"XCUIElementTypeTextField\"<\/span>)<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; )<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; )<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; search_input.clear()<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; search_input.send_keys(keyword)<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; search_btn = driver.find_element(<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; AppiumBy.IOS_PREDICATE,&nbsp;<span class=\"code-snippet__string\">'name == \"Search\"'<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; )<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; search_btn.click()<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; time.sleep(<span class=\"code-snippet__number\">3<\/span>)<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; timestamp = time.strftime(<span class=\"code-snippet__string\">\"%Y%m%d_%H%M%S\"<\/span>)<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; screenshot_path = os.path.join(SCREENSHOT_DIR,&nbsp;<span class=\"code-snippet__string\">f\"search_result_<\/span><span class=\"code-snippet__string\"><span class=\"code-snippet__subst\">{timestamp}<\/span><\/span><span class=\"code-snippet__string\">.png\"<\/span>)<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; driver.get_screenshot_as_file(screenshot_path)<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp;&nbsp;<span class=\"code-snippet__built_in\">print<\/span>(<span class=\"code-snippet__string\">f\"\u622a\u56fe\u5df2\u4fdd\u5b58:&nbsp;<\/span><span class=\"code-snippet__string\"><span class=\"code-snippet__subst\">{screenshot_path}<\/span><\/span><span class=\"code-snippet__string\">\"<\/span>)<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp;&nbsp;<span class=\"code-snippet__keyword\">return<\/span>&nbsp;screenshot_path<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__keyword\">def<\/span>&nbsp;<span class=\"code-snippet__title\">test_douyin_ios_full_flow<\/span>():<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; driver = get_driver()<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp;&nbsp;<span class=\"code-snippet__keyword\">try<\/span>:<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; dismiss_att_popup(driver) &nbsp; &nbsp; &nbsp;&nbsp;<span class=\"code-snippet__comment\"># Step1: \u5173\u95edATT\u9690\u79c1\u5f39\u7a97<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; time.sleep(<span class=\"code-snippet__number\">2<\/span>)<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; swipe_up_ios(driver) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<span class=\"code-snippet__comment\"># Step2: \u5411\u4e0a\u6ed1\u52a8<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; click_search_ios(driver) &nbsp; &nbsp; &nbsp; &nbsp;<span class=\"code-snippet__comment\"># Step3: \u70b9\u51fb\u641c\u7d22\u5165\u53e3<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; time.sleep(<span class=\"code-snippet__number\">2<\/span>)<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; search_and_capture_ios(driver,&nbsp;<span class=\"code-snippet__string\">\"APP\u81ea\u52a8\u5316\u6d4b\u8bd5\"<\/span>) &nbsp;<span class=\"code-snippet__comment\"># Step4<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<span class=\"code-snippet__built_in\">print<\/span>(<span class=\"code-snippet__string\">\"\u2705 iOS\u7aefDouyin\u81ea\u52a8\u5316\u6d41\u7a0b\u6267\u884c\u5b8c\u6210\"<\/span>)<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp;&nbsp;<span class=\"code-snippet__keyword\">finally<\/span>:<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; driver.terminate_app(DOUYIN_BUNDLE_ID)<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp; driver.quit()<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__keyword\">if<\/span>&nbsp;__name__ ==&nbsp;<span class=\"code-snippet__string\">\"__main__\"<\/span>:<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; test_douyin_ios_full_flow()<\/span><\/code><\/pre>\n<\/section>\n<h3 style=\"box-sizing: border-box;margin: 32px 0px 12px;padding: 0px 0px 0px 14px;font-size: 17px;font-weight: 700;color: rgb(30, 64, 175);border-left: 4px solid rgb(59, 130, 246);line-height: 1.4;font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\" data-pm-slice=\"0 0 []\"><span leaf=\"\">6.3 HarmonyOS\u7aef\u5b8c\u6574\u4ee3\u7801<\/span><\/h3>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"typescript\"><code><span leaf=\"\"><span class=\"code-snippet__comment\">\/\/ douyin_harmony.ts \u2014 \u6296\u97f3APP\u81ea\u52a8\u5316\u6d4b\u8bd5\uff08HarmonyOS Next\uff09<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__comment\">\/\/ \u8fd0\u884c\u73af\u5883\uff1aDevEco Studio + DevEco Testing Toolkit<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__comment\">\/\/ \u8bed\u8a00\uff1aArkTS<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__keyword\">import<\/span>&nbsp;driver&nbsp;<span class=\"code-snippet__keyword\">from<\/span>&nbsp;<span class=\"code-snippet__string\">'@ohos.driver'<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__keyword\">import<\/span>&nbsp;app&nbsp;<span class=\"code-snippet__keyword\">from<\/span>&nbsp;<span class=\"code-snippet__string\">'@ohos.app.ability.Want'<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__keyword\">const<\/span>&nbsp;<span class=\"code-snippet__attr\">BUNDLE_NAME<\/span>:&nbsp;<span class=\"code-snippet__built_in\">string<\/span>&nbsp;=&nbsp;<span class=\"code-snippet__string\">\"com.ss.android.ugc.aweme\"<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__keyword\">const<\/span>&nbsp;<span class=\"code-snippet__attr\">SCREENSHOT_DIR<\/span>:&nbsp;<span class=\"code-snippet__built_in\">string<\/span>&nbsp;=&nbsp;<span class=\"code-snippet__string\">\".\/screenshots\/harmony\"<\/span><\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__keyword\">export<\/span>&nbsp;<span class=\"code-snippet__keyword\">class<\/span>&nbsp;<span class=\"code-snippet__title\">DouyinHarmonyTest<\/span>&nbsp;{<\/span><\/code><code><span leaf=\"\">&nbsp;&nbsp;<span class=\"code-snippet__keyword\">private<\/span>&nbsp;<span class=\"code-snippet__attr\">searchKeyword<\/span>:&nbsp;<span class=\"code-snippet__built_in\">string<\/span>&nbsp;=&nbsp;<span class=\"code-snippet__string\">\"APP\u81ea\u52a8\u5316\u6d4b\u8bd5\"<\/span><\/span><\/code><code><span leaf=\"\">&nbsp;&nbsp;<span class=\"code-snippet__keyword\">async<\/span>&nbsp;<span class=\"code-snippet__title\">dismissPrivacyPopup<\/span>():&nbsp;<span class=\"code-snippet__title\">Promise<\/span><\/span><\/code><code><span leaf=\"\">&nbsp;{<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp;&nbsp;<span class=\"code-snippet__keyword\">try<\/span>&nbsp;{<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp;&nbsp;<span class=\"code-snippet__keyword\">let<\/span>&nbsp;agreeBtn =&nbsp;<span class=\"code-snippet__keyword\">await<\/span>&nbsp;driver.<span class=\"code-snippet__title\">findElement<\/span>({<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<span class=\"code-snippet__string\">\"strategy\"<\/span>: {&nbsp;<span class=\"code-snippet__string\">\"type\"<\/span>:&nbsp;<span class=\"code-snippet__string\">\"text\"<\/span>,&nbsp;<span class=\"code-snippet__string\">\"value\"<\/span>:&nbsp;<span class=\"code-snippet__string\">\"\u540c\u610f\"<\/span>&nbsp;}<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; })<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp;&nbsp;<span class=\"code-snippet__keyword\">if<\/span>&nbsp;(agreeBtn) {&nbsp;<span class=\"code-snippet__keyword\">await<\/span>&nbsp;agreeBtn.<span class=\"code-snippet__title\">click<\/span>() }<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; }&nbsp;<span class=\"code-snippet__keyword\">catch<\/span>&nbsp;(e) {<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp;&nbsp;<span class=\"code-snippet__variable\">console<\/span>.<span class=\"code-snippet__title\">info<\/span>(<span class=\"code-snippet__string\">\"\u9690\u79c1\u5f39\u7a97\u4e0d\u5b58\u5728\u6216\u5df2\u5904\u7406\"<\/span>)<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; }<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp;&nbsp;<span class=\"code-snippet__keyword\">await<\/span>&nbsp;driver.<span class=\"code-snippet__title\">delay<\/span>(<span class=\"code-snippet__number\">1000<\/span>)<\/span><\/code><code><span leaf=\"\">&nbsp; }<\/span><\/code><code><span leaf=\"\">&nbsp;&nbsp;<span class=\"code-snippet__keyword\">async<\/span>&nbsp;<span class=\"code-snippet__title\">swipeUp<\/span>():&nbsp;<span class=\"code-snippet__title\">Promise<\/span><\/span><\/code><code><span leaf=\"\">&nbsp;{<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp;&nbsp;<span class=\"code-snippet__keyword\">let<\/span>&nbsp;rect =&nbsp;<span class=\"code-snippet__keyword\">await<\/span>&nbsp;driver.<span class=\"code-snippet__title\">getDisplayBounds<\/span>()<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp;&nbsp;<span class=\"code-snippet__keyword\">let<\/span>&nbsp;x = rect.<span class=\"code-snippet__property\">width<\/span>&nbsp;\/&nbsp;<span class=\"code-snippet__number\">2<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp;&nbsp;<span class=\"code-snippet__keyword\">let<\/span>&nbsp;startY = rect.<span class=\"code-snippet__property\">height<\/span>&nbsp;*&nbsp;<span class=\"code-snippet__number\">0.75<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp;&nbsp;<span class=\"code-snippet__keyword\">let<\/span>&nbsp;endY = rect.<span class=\"code-snippet__property\">height<\/span>&nbsp;*&nbsp;<span class=\"code-snippet__number\">0.25<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp;&nbsp;<span class=\"code-snippet__keyword\">await<\/span>&nbsp;driver.<span class=\"code-snippet__title\">swipe<\/span>(<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp;&nbsp;<span class=\"code-snippet__title\">Math<\/span>.<span class=\"code-snippet__title\">round<\/span>(x),&nbsp;<span class=\"code-snippet__title\">Math<\/span>.<span class=\"code-snippet__title\">round<\/span>(startY),<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp;&nbsp;<span class=\"code-snippet__title\">Math<\/span>.<span class=\"code-snippet__title\">round<\/span>(x),&nbsp;<span class=\"code-snippet__title\">Math<\/span>.<span class=\"code-snippet__title\">round<\/span>(endY),&nbsp;<span class=\"code-snippet__number\">800<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; )<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp;&nbsp;<span class=\"code-snippet__keyword\">await<\/span>&nbsp;driver.<span class=\"code-snippet__title\">delay<\/span>(<span class=\"code-snippet__number\">1500<\/span>)<\/span><\/code><code><span leaf=\"\">&nbsp; }<\/span><\/code><code><span leaf=\"\">&nbsp;&nbsp;<span class=\"code-snippet__keyword\">async<\/span>&nbsp;<span class=\"code-snippet__title\">clickSearchIcon<\/span>():&nbsp;<span class=\"code-snippet__title\">Promise<\/span><\/span><\/code><code><span leaf=\"\">&nbsp;{<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp;&nbsp;<span class=\"code-snippet__keyword\">let<\/span>&nbsp;<span class=\"code-snippet__attr\">searchIcon<\/span>:&nbsp;<span class=\"code-snippet__built_in\">any<\/span>&nbsp;=&nbsp;<span class=\"code-snippet__literal\">null<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp;&nbsp;<span class=\"code-snippet__keyword\">try<\/span>&nbsp;{<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; searchIcon =&nbsp;<span class=\"code-snippet__keyword\">await<\/span>&nbsp;driver.<span class=\"code-snippet__title\">findElement<\/span>({<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<span class=\"code-snippet__string\">\"strategy\"<\/span>: {&nbsp;<span class=\"code-snippet__string\">\"type\"<\/span>:&nbsp;<span class=\"code-snippet__string\">\"id\"<\/span>,&nbsp;<span class=\"code-snippet__string\">\"value\"<\/span>:&nbsp;<span class=\"code-snippet__string\">\"search_icon\"<\/span>&nbsp;}<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; })<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; }&nbsp;<span class=\"code-snippet__keyword\">catch<\/span>&nbsp;(e) {<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; searchIcon =&nbsp;<span class=\"code-snippet__keyword\">await<\/span>&nbsp;driver.<span class=\"code-snippet__title\">findElement<\/span>({<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<span class=\"code-snippet__string\">\"strategy\"<\/span>: {&nbsp;<span class=\"code-snippet__string\">\"type\"<\/span>:&nbsp;<span class=\"code-snippet__string\">\"text\"<\/span>,&nbsp;<span class=\"code-snippet__string\">\"value\"<\/span>:&nbsp;<span class=\"code-snippet__string\">\"\u641c\u7d22\"<\/span>&nbsp;}<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp; })<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; }<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp;&nbsp;<span class=\"code-snippet__keyword\">if<\/span>&nbsp;(searchIcon) {&nbsp;<span class=\"code-snippet__keyword\">await<\/span>&nbsp;searchIcon.<span class=\"code-snippet__title\">click<\/span>() }<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp;&nbsp;<span class=\"code-snippet__keyword\">await<\/span>&nbsp;driver.<span class=\"code-snippet__title\">delay<\/span>(<span class=\"code-snippet__number\">1000<\/span>)<\/span><\/code><code><span leaf=\"\">&nbsp; }<\/span><\/code><code><span leaf=\"\">&nbsp;&nbsp;<span class=\"code-snippet__keyword\">async<\/span>&nbsp;<span class=\"code-snippet__title\">searchAndCapture<\/span>():&nbsp;<span class=\"code-snippet__title\">Promise<\/span><\/span><\/code><code><span leaf=\"\">&nbsp;{<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp;&nbsp;<span class=\"code-snippet__keyword\">let<\/span>&nbsp;<span class=\"code-snippet__attr\">searchInput<\/span>:&nbsp;<span class=\"code-snippet__built_in\">any<\/span>&nbsp;=&nbsp;<span class=\"code-snippet__keyword\">await<\/span>&nbsp;driver.<span class=\"code-snippet__title\">findElement<\/span>({<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp;&nbsp;<span class=\"code-snippet__string\">\"strategy\"<\/span>: {&nbsp;<span class=\"code-snippet__string\">\"type\"<\/span>:&nbsp;<span class=\"code-snippet__string\">\"className\"<\/span>,&nbsp;<span class=\"code-snippet__string\">\"value\"<\/span>:&nbsp;<span class=\"code-snippet__string\">\"TextInput\"<\/span>&nbsp;}<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; })<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp;&nbsp;<span class=\"code-snippet__keyword\">if<\/span>&nbsp;(searchInput) {&nbsp;<span class=\"code-snippet__keyword\">await<\/span>&nbsp;searchInput.<span class=\"code-snippet__title\">inputValue<\/span>(<span class=\"code-snippet__variable\">this<\/span>.<span class=\"code-snippet__property\">searchKeyword<\/span>) }<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp;&nbsp;<span class=\"code-snippet__keyword\">await<\/span>&nbsp;driver.<span class=\"code-snippet__title\">delay<\/span>(<span class=\"code-snippet__number\">500<\/span>)<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp;&nbsp;<span class=\"code-snippet__keyword\">let<\/span>&nbsp;searchBtn =&nbsp;<span class=\"code-snippet__keyword\">await<\/span>&nbsp;driver.<span class=\"code-snippet__title\">findElement<\/span>({<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; &nbsp;&nbsp;<span class=\"code-snippet__string\">\"strategy\"<\/span>: {&nbsp;<span class=\"code-snippet__string\">\"type\"<\/span>:&nbsp;<span class=\"code-snippet__string\">\"text\"<\/span>,&nbsp;<span class=\"code-snippet__string\">\"value\"<\/span>:&nbsp;<span class=\"code-snippet__string\">\"\u641c\u7d22\"<\/span>&nbsp;}<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp; })<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp;&nbsp;<span class=\"code-snippet__keyword\">if<\/span>&nbsp;(searchBtn) {&nbsp;<span class=\"code-snippet__keyword\">await<\/span>&nbsp;searchBtn.<span class=\"code-snippet__title\">click<\/span>() }<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp;&nbsp;<span class=\"code-snippet__keyword\">await<\/span>&nbsp;driver.<span class=\"code-snippet__title\">delay<\/span>(<span class=\"code-snippet__number\">3000<\/span>)<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp;&nbsp;<span class=\"code-snippet__keyword\">let<\/span>&nbsp;timestamp =&nbsp;<span class=\"code-snippet__title\">Date<\/span>.<span class=\"code-snippet__title\">now<\/span>().<span class=\"code-snippet__title\">toString<\/span>()<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp;&nbsp;<span class=\"code-snippet__keyword\">let<\/span>&nbsp;path =&nbsp;<span class=\"code-snippet__string\">`<\/span><span class=\"code-snippet__string\"><span class=\"code-snippet__subst\">${SCREENSHOT_DIR}<\/span><\/span><span class=\"code-snippet__string\">\/search_result_<\/span><span class=\"code-snippet__string\"><span class=\"code-snippet__subst\">${timestamp}<\/span><\/span><span class=\"code-snippet__string\">.png`<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp;&nbsp;<span class=\"code-snippet__keyword\">await<\/span>&nbsp;driver.<span class=\"code-snippet__title\">captureScreen<\/span>(path)<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp;&nbsp;<span class=\"code-snippet__variable\">console<\/span>.<span class=\"code-snippet__title\">info<\/span>(<span class=\"code-snippet__string\">\"\u622a\u56fe\u5df2\u4fdd\u5b58: \"<\/span>&nbsp;+ path)<\/span><\/code><code><span leaf=\"\">&nbsp; }<\/span><\/code><code><span leaf=\"\">&nbsp;&nbsp;<span class=\"code-snippet__keyword\">async<\/span>&nbsp;<span class=\"code-snippet__title\">quitApp<\/span>():&nbsp;<span class=\"code-snippet__title\">Promise<\/span><\/span><\/code><code><span leaf=\"\">&nbsp;{<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp;&nbsp;<span class=\"code-snippet__keyword\">await<\/span>&nbsp;driver.<span class=\"code-snippet__title\">terminateAbility<\/span>(<span class=\"code-snippet__variable\">BUNDLE_NAME<\/span>)<\/span><\/code><code><span leaf=\"\">&nbsp; }<\/span><\/code><code><span leaf=\"\">&nbsp;&nbsp;<span class=\"code-snippet__keyword\">async<\/span>&nbsp;<span class=\"code-snippet__title\">testFullFlow<\/span>():&nbsp;<span class=\"code-snippet__title\">Promise<\/span><\/span><\/code><code><span leaf=\"\">&nbsp;{<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp;&nbsp;<span class=\"code-snippet__variable\">console<\/span>.<span class=\"code-snippet__title\">info<\/span>(<span class=\"code-snippet__string\">\"=== HarmonyOS Douyin\u81ea\u52a8\u5316\u5f00\u59cb ===\"<\/span>)<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp;&nbsp;<span class=\"code-snippet__keyword\">await<\/span>&nbsp;<span class=\"code-snippet__variable\">this<\/span>.<span class=\"code-snippet__title\">dismissPrivacyPopup<\/span>() &nbsp;&nbsp;<span class=\"code-snippet__comment\">\/\/ Step1<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp;&nbsp;<span class=\"code-snippet__keyword\">await<\/span>&nbsp;<span class=\"code-snippet__variable\">this<\/span>.<span class=\"code-snippet__title\">swipeUp<\/span>() &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class=\"code-snippet__comment\">\/\/ Step2<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp;&nbsp;<span class=\"code-snippet__keyword\">await<\/span>&nbsp;<span class=\"code-snippet__variable\">this<\/span>.<span class=\"code-snippet__title\">clickSearchIcon<\/span>() &nbsp; &nbsp; &nbsp; &nbsp;<span class=\"code-snippet__comment\">\/\/ Step3<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp;&nbsp;<span class=\"code-snippet__keyword\">await<\/span>&nbsp;driver.<span class=\"code-snippet__title\">delay<\/span>(<span class=\"code-snippet__number\">2000<\/span>)<\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp;&nbsp;<span class=\"code-snippet__keyword\">await<\/span>&nbsp;<span class=\"code-snippet__variable\">this<\/span>.<span class=\"code-snippet__title\">searchAndCapture<\/span>() &nbsp; &nbsp; &nbsp;&nbsp;<span class=\"code-snippet__comment\">\/\/ Step4<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp;&nbsp;<span class=\"code-snippet__keyword\">await<\/span>&nbsp;<span class=\"code-snippet__variable\">this<\/span>.<span class=\"code-snippet__title\">quitApp<\/span>() &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class=\"code-snippet__comment\">\/\/ Step5<\/span><\/span><\/code><code><span leaf=\"\">&nbsp; &nbsp;&nbsp;<span class=\"code-snippet__variable\">console<\/span>.<span class=\"code-snippet__title\">info<\/span>(<span class=\"code-snippet__string\">\"=== HarmonyOS Douyin\u81ea\u52a8\u5316\u5b8c\u6210 ===\"<\/span>)<\/span><\/code><code><span leaf=\"\">&nbsp; }<\/span><\/code><code><span leaf=\"\">}<\/span><\/code><code><span leaf=\"\"><span class=\"code-snippet__keyword\">export<\/span>&nbsp;<span class=\"code-snippet__keyword\">default<\/span>&nbsp;<span class=\"code-snippet__keyword\">new<\/span>&nbsp;<span class=\"code-snippet__title\">DouyinHarmonyTest<\/span>()<\/span><\/code><\/pre>\n<\/section>\n<h3 style=\"box-sizing: border-box;margin: 32px 0px 12px;padding: 0px 0px 0px 14px;font-size: 17px;font-weight: 700;color: rgb(30, 64, 175);border-left: 4px solid rgb(59, 130, 246);line-height: 1.4;font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\" data-pm-slice=\"0 0 []\"><span leaf=\"\">6.4 \u4e09\u7aef\u5173\u952e\u5dee\u5f02\u603b\u7ed3<\/span><\/h3>\n<section style=\"text-align: center;\"><span leaf=\"\" style=\"background-color: rgb(255, 255, 255);float: none;box-sizing: border-box;margin: 1px 0px 0px;padding: 0px;font-size: 20px;flex-shrink: 0;color: rgb(20, 83, 45);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;display: inline !important;\"><span textstyle=\"\" style=\"font-size: 16px;color: #7b0c00;font-weight: bold;\">\u4e09\u7aef\u4ee3\u7801\u5173\u952e\u5dee\u5f02\u5bf9\u7167\u8868<\/span><\/span><\/section>\n<section style=\"text-align: center;\" nodeleaf=\"\">\n<figure class=\"wx-qr-wrap\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-aistatus=\"1\" data-imgfileid=\"100000539\" data-s=\"300,640\" data-type=\"png\" type=\"block\" src=\"https:\/\/mmbiz.qpic.cn\/mmbiz_png\/BWmfcibGhS1KBodRmXO8gYhKGgW1OIZH5lGl5KkeACEbsGEVLpL6GoJAbTJxqJ2nweym6dFaB0SzQctTl2d1TlY33rcIDhtZFUmXK7HQlXqI\/640?wx_fmt=png&#038;from=appmsg\" \/><figcaption class=\"wx-qr-tip\"><img decoding=\"async\" src=\"https:\/\/www.deartester.com\/wp-content\/uploads\/2026\/09\/wechat-qr.jpg\" alt=\"\u5fae\u4fe1\u516c\u4f17\u53f7\u4e8c\u7ef4\u7801\" loading=\"lazy\"><span>\u56fe\u7247\u5f15\u81ea\u5fae\u4fe1\u516c\u4f17\u53f7\uff0c\u626b\u7801\u5173\u6ce8\u9605\u8bfb\u539f\u6587<\/span><\/figcaption><\/figure>\n<\/section>\n<section style=\"text-align: center;\"><span data-pm-slice=\"0 0 []\"><span style=\"color: rgb(156, 163, 175);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 13px;font-style: italic;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;\" data-pm-slice=\"0 0 []\"><span style=\"color: rgb(156, 163, 175);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 13px;font-style: italic;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;\" data-pm-slice=\"0 0 []\"><span style=\"color: rgb(156, 163, 175);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 13px;font-style: italic;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;\" data-pm-slice=\"0 0 []\"><span leaf=\"\">\u4e09\u7aef\u5173\u952eAPI\u5dee\u5f02\u5bf9\u7167\u8868 \u2014 \u4e00\u76ee\u4e86\u7136\u5404\u7aef\u5b9e\u73b0\u5dee\u5f02<\/span><\/span><\/span><\/span><\/span><\/section>\n<table style=\"box-sizing: border-box;margin: 16px 0px;padding: 0px;width: 688px;border-collapse: collapse;font-size: 14px;border-radius: 10px;overflow: hidden;box-shadow: rgba(0, 0, 0, 0.06) 0px 1px 4px;color: rgb(26, 26, 46);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\">\n<thead>\n<tr style=\"box-sizing: border-box;margin: 0px;padding: 0px;\">\n<th style=\"box-sizing: border-box;margin: 0px;padding: 11px 14px;background: rgb(30, 41, 59);color: rgb(255, 255, 255);text-align: left;font-weight: 700;font-size: 13px;\">\n<section style=\"text-align: center;\"><span leaf=\"\"><span textstyle=\"\" style=\"color: #d6a841;\">\u64cd\u4f5c<\/span><\/span><\/section>\n<\/th>\n<th style=\"box-sizing: border-box;margin: 0px;padding: 11px 14px;background: rgb(30, 41, 59);color: rgb(255, 255, 255);text-align: left;font-weight: 700;font-size: 13px;\">\n<section style=\"text-align: center;\"><span leaf=\"\"><span textstyle=\"\" style=\"color: #d6a841;\">\ud83e\udd16 Android<\/span><\/span><\/section>\n<\/th>\n<th style=\"box-sizing: border-box;margin: 0px;padding: 11px 14px;background: rgb(30, 41, 59);color: rgb(255, 255, 255);text-align: left;font-weight: 700;font-size: 13px;\">\n<section style=\"text-align: center;\"><span leaf=\"\"><span textstyle=\"\" style=\"color: #d6a841;\">\ud83c\udf4e iOS<\/span><\/span><\/section>\n<\/th>\n<th style=\"box-sizing: border-box;margin: 0px;padding: 11px 14px;background: rgb(30, 41, 59);color: rgb(255, 255, 255);text-align: left;font-weight: 700;font-size: 13px;\">\n<section style=\"text-align: center;\"><span leaf=\"\"><span textstyle=\"\" style=\"color: #d6a841;\">\ud83d\udcf1 HarmonyOS<\/span><\/span><\/section>\n<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr style=\"box-sizing: border-box;margin: 0px;padding: 0px;\">\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom: 1px solid rgb(241, 245, 249);color: rgb(55, 65, 81);vertical-align: top;\"><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\">\u62c9\u8d77APP<\/span><\/strong><\/td>\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom: 1px solid rgb(241, 245, 249);color: rgb(55, 65, 81);vertical-align: top;\"><code style=\"box-sizing: border-box;margin: 0px;padding: 2px 6px;background: rgb(240, 241, 244);border-radius: 4px;font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, monospace;font-size: 12px;color: rgb(190, 18, 60);\"><span leaf=\"\">start_activity(pkg,act)<\/span><\/code><\/td>\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom: 1px solid rgb(241, 245, 249);color: rgb(55, 65, 81);vertical-align: top;\"><code style=\"box-sizing: border-box;margin: 0px;padding: 2px 6px;background: rgb(240, 241, 244);border-radius: 4px;font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, monospace;font-size: 12px;color: rgb(190, 18, 60);\"><span leaf=\"\">activate_app(bundleId)<\/span><\/code><\/td>\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom: 1px solid rgb(241, 245, 249);color: rgb(55, 65, 81);vertical-align: top;\"><code style=\"box-sizing: border-box;margin: 0px;padding: 2px 6px;background: rgb(240, 241, 244);border-radius: 4px;font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, monospace;font-size: 12px;color: rgb(190, 18, 60);\"><span leaf=\"\">startAbility(bundle)<\/span><\/code><\/td>\n<\/tr>\n<tr style=\"box-sizing: border-box;margin: 0px;padding: 0px;\">\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom: 1px solid rgb(241, 245, 249);color: rgb(55, 65, 81);vertical-align: top;background: rgb(248, 250, 252);\"><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\">\u9690\u79c1\u5f39\u7a97<\/span><\/strong><\/td>\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom: 1px solid rgb(241, 245, 249);color: rgb(55, 65, 81);vertical-align: top;background: rgb(248, 250, 252);\">\n<section><span leaf=\"\">\u5750\u6807\u70b9\u51fb&#8221;\u540c\u610f&#8221;\u6309\u94ae<\/span><\/section>\n<\/td>\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom: 1px solid rgb(241, 245, 249);color: rgb(55, 65, 81);vertical-align: top;background: rgb(248, 250, 252);\"><code style=\"box-sizing: border-box;margin: 0px;padding: 2px 6px;background: rgb(240, 241, 244);border-radius: 4px;font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, monospace;font-size: 12px;color: rgb(190, 18, 60);\"><span leaf=\"\">alert.accept()<\/span><\/code><\/td>\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom: 1px solid rgb(241, 245, 249);color: rgb(55, 65, 81);vertical-align: top;background: rgb(248, 250, 252);\"><code style=\"box-sizing: border-box;margin: 0px;padding: 2px 6px;background: rgb(240, 241, 244);border-radius: 4px;font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, monospace;font-size: 12px;color: rgb(190, 18, 60);\"><span leaf=\"\">promptAction<\/span><\/code><\/p>\n<section><span leaf=\"\">&nbsp;API<\/span><\/section>\n<\/td>\n<\/tr>\n<tr style=\"box-sizing: border-box;margin: 0px;padding: 0px;\">\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom: 1px solid rgb(241, 245, 249);color: rgb(55, 65, 81);vertical-align: top;\"><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\">\u5411\u4e0a\u6ed1\u52a8<\/span><\/strong><\/td>\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom: 1px solid rgb(241, 245, 249);color: rgb(55, 65, 81);vertical-align: top;\"><code style=\"box-sizing: border-box;margin: 0px;padding: 2px 6px;background: rgb(240, 241, 244);border-radius: 4px;font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, monospace;font-size: 12px;color: rgb(190, 18, 60);\"><span leaf=\"\">driver.swipe()<\/span><\/code><\/td>\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom: 1px solid rgb(241, 245, 249);color: rgb(55, 65, 81);vertical-align: top;\"><code style=\"box-sizing: border-box;margin: 0px;padding: 2px 6px;background: rgb(240, 241, 244);border-radius: 4px;font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, monospace;font-size: 12px;color: rgb(190, 18, 60);\"><span leaf=\"\">mobile: swipe<\/span><\/code><\/td>\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom: 1px solid rgb(241, 245, 249);color: rgb(55, 65, 81);vertical-align: top;\"><code style=\"box-sizing: border-box;margin: 0px;padding: 2px 6px;background: rgb(240, 241, 244);border-radius: 4px;font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, monospace;font-size: 12px;color: rgb(190, 18, 60);\"><span leaf=\"\">driver.swipe(x,y,x,y)<\/span><\/code><\/td>\n<\/tr>\n<tr style=\"box-sizing: border-box;margin: 0px;padding: 0px;\">\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom: 1px solid rgb(241, 245, 249);color: rgb(55, 65, 81);vertical-align: top;background: rgb(248, 250, 252);\"><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\">\u8f93\u5165\u6587\u672c<\/span><\/strong><\/td>\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom: 1px solid rgb(241, 245, 249);color: rgb(55, 65, 81);vertical-align: top;background: rgb(248, 250, 252);\"><code style=\"box-sizing: border-box;margin: 0px;padding: 2px 6px;background: rgb(240, 241, 244);border-radius: 4px;font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, monospace;font-size: 12px;color: rgb(190, 18, 60);\"><span leaf=\"\">send_keys(text)<\/span><\/code><\/td>\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom: 1px solid rgb(241, 245, 249);color: rgb(55, 65, 81);vertical-align: top;background: rgb(248, 250, 252);\"><code style=\"box-sizing: border-box;margin: 0px;padding: 2px 6px;background: rgb(240, 241, 244);border-radius: 4px;font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, monospace;font-size: 12px;color: rgb(190, 18, 60);\"><span leaf=\"\">send_keys(text)<\/span><\/code><\/td>\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom: 1px solid rgb(241, 245, 249);color: rgb(55, 65, 81);vertical-align: top;background: rgb(248, 250, 252);\"><code style=\"box-sizing: border-box;margin: 0px;padding: 2px 6px;background: rgb(240, 241, 244);border-radius: 4px;font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, monospace;font-size: 12px;color: rgb(190, 18, 60);\"><span leaf=\"\">inputValue(text)<\/span><\/code><\/td>\n<\/tr>\n<tr style=\"box-sizing: border-box;margin: 0px;padding: 0px;\">\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom: 1px solid rgb(241, 245, 249);color: rgb(55, 65, 81);vertical-align: top;\"><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\">\u622a\u56fe\u4fdd\u5b58<\/span><\/strong><\/td>\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom: 1px solid rgb(241, 245, 249);color: rgb(55, 65, 81);vertical-align: top;\"><code style=\"box-sizing: border-box;margin: 0px;padding: 2px 6px;background: rgb(240, 241, 244);border-radius: 4px;font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, monospace;font-size: 12px;color: rgb(190, 18, 60);\"><span leaf=\"\">get_screenshot_as_file()<\/span><\/code><\/td>\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom: 1px solid rgb(241, 245, 249);color: rgb(55, 65, 81);vertical-align: top;\"><code style=\"box-sizing: border-box;margin: 0px;padding: 2px 6px;background: rgb(240, 241, 244);border-radius: 4px;font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, monospace;font-size: 12px;color: rgb(190, 18, 60);\"><span leaf=\"\">get_screenshot_as_file()<\/span><\/code><\/td>\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom: 1px solid rgb(241, 245, 249);color: rgb(55, 65, 81);vertical-align: top;\"><code style=\"box-sizing: border-box;margin: 0px;padding: 2px 6px;background: rgb(240, 241, 244);border-radius: 4px;font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, monospace;font-size: 12px;color: rgb(190, 18, 60);\"><span leaf=\"\">captureScreen(path)<\/span><\/code><\/td>\n<\/tr>\n<tr style=\"box-sizing: border-box;margin: 0px;padding: 0px;\">\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom-width: medium;border-bottom-style: none;border-bottom-color: currentcolor;color: rgb(55, 65, 81);vertical-align: top;background: rgb(248, 250, 252);\"><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\">\u9000\u51faAPP<\/span><\/strong><\/td>\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom-width: medium;border-bottom-style: none;border-bottom-color: currentcolor;color: rgb(55, 65, 81);vertical-align: top;background: rgb(248, 250, 252);\"><code style=\"box-sizing: border-box;margin: 0px;padding: 2px 6px;background: rgb(240, 241, 244);border-radius: 4px;font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, monospace;font-size: 12px;color: rgb(190, 18, 60);\"><span leaf=\"\">terminate_app(pkg)<\/span><\/code><\/td>\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom-width: medium;border-bottom-style: none;border-bottom-color: currentcolor;color: rgb(55, 65, 81);vertical-align: top;background: rgb(248, 250, 252);\"><code style=\"box-sizing: border-box;margin: 0px;padding: 2px 6px;background: rgb(240, 241, 244);border-radius: 4px;font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, monospace;font-size: 12px;color: rgb(190, 18, 60);\"><span leaf=\"\">terminate_app(bundleId)<\/span><\/code><\/td>\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom-width: medium;border-bottom-style: none;border-bottom-color: currentcolor;color: rgb(55, 65, 81);vertical-align: top;background: rgb(248, 250, 252);\"><code style=\"box-sizing: border-box;margin: 0px;padding: 2px 6px;background: rgb(240, 241, 244);border-radius: 4px;font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, monospace;font-size: 12px;color: rgb(190, 18, 60);\"><span leaf=\"\">terminateAbility()<\/span><\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<section style=\"text-align: left;\"><span data-pm-slice=\"0 0 []\"><span style=\"color: rgb(156, 163, 175);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 13px;font-style: italic;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;\" data-pm-slice=\"0 0 []\"><span style=\"color: rgb(156, 163, 175);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 13px;font-style: italic;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: center;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;display: inline !important;float: none;\" data-pm-slice=\"0 0 []\"><span leaf=\"\"><br  \/><\/span><\/span><\/span><\/span><\/section>\n<hr style=\"border-style: solid;border-width: 1px 0 0;border-color: rgba(0,0,0,0.1);-webkit-transform-origin: 0 0;-webkit-transform: scale(1, 0.5);transform-origin: 0 0;transform: scale(1, 0.5);\"  \/>\n<p data-pm-slice=\"0 0 []\"><span style=\"box-sizing: border-box;margin: 0px 0px 10px;padding: 3px 10px;display: inline-block;font-size: 12px;font-weight: 700;color: rgb(255, 255, 255);background: rgb(180, 83, 9);border-radius: 20px;letter-spacing: 0.5px;\"><span leaf=\"\">\u7b2c\u4e03\u7ae0<\/span><\/span><span leaf=\"\">&nbsp;<\/span><\/p>\n<h2 style=\"box-sizing: border-box;margin: 0px;padding: 0px 0px 12px;font-size: 22px;font-weight: 800;color: rgb(26, 26, 46);border-bottom: 3px solid rgb(79, 70, 229);display: inline-block;line-height: 1.35;\"><span leaf=\"\">\u4e09\u7aef\u7279\u6b8a\u573a\u666f\u5904\u7406<\/span><\/h2>\n<h3 style=\"box-sizing: border-box;margin: 32px 0px 12px;padding: 0px 0px 0px 14px;font-size: 17px;font-weight: 700;color: rgb(30, 64, 175);border-left: 4px solid rgb(59, 130, 246);line-height: 1.4;font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\"><span leaf=\"\">7.1 \u9690\u79c1\u5f39\u7a97\u4e0e\u6743\u9650\u6388\u6743<\/span><\/h3>\n<table style=\"box-sizing: border-box;margin: 16px 0px;padding: 0px;width: 688px;border-collapse: collapse;font-size: 14px;border-radius: 10px;overflow: hidden;box-shadow: rgba(0, 0, 0, 0.06) 0px 1px 4px;color: rgb(26, 26, 46);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\">\n<thead>\n<tr style=\"box-sizing: border-box;margin: 0px;padding: 0px;\">\n<th style=\"box-sizing: border-box;margin: 0px;padding: 11px 14px;background: rgb(30, 41, 59);color: rgb(255, 255, 255);text-align: left;font-weight: 700;font-size: 13px;\">\n<section style=\"text-align: center;\"><span leaf=\"\"><span textstyle=\"\" style=\"color: #d6a841;\">\u5e73\u53f0<\/span><\/span><\/section>\n<\/th>\n<th style=\"box-sizing: border-box;margin: 0px;padding: 11px 14px;background: rgb(30, 41, 59);color: rgb(255, 255, 255);text-align: left;font-weight: 700;font-size: 13px;\">\n<section style=\"text-align: center;\"><span leaf=\"\"><span textstyle=\"\" style=\"color: #d6a841;\">\u5f39\u7a97\u7c7b\u578b<\/span><\/span><\/section>\n<\/th>\n<th style=\"box-sizing: border-box;margin: 0px;padding: 11px 14px;background: rgb(30, 41, 59);color: rgb(255, 255, 255);text-align: left;font-weight: 700;font-size: 13px;\">\n<section style=\"text-align: center;\"><span leaf=\"\"><span textstyle=\"\" style=\"color: #d6a841;\">\u63a8\u8350\u5904\u7406\u65b9\u5f0f<\/span><\/span><\/section>\n<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr style=\"box-sizing: border-box;margin: 0px;padding: 0px;\">\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom: 1px solid rgb(241, 245, 249);color: rgb(55, 65, 81);vertical-align: top;\">\n<section><span leaf=\"\">Android<\/span><\/section>\n<\/td>\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom: 1px solid rgb(241, 245, 249);color: rgb(55, 65, 81);vertical-align: top;\">\n<section><span leaf=\"\">\u9690\u79c1\u534f\u8bae\u5f39\u7a97<\/span><\/section>\n<\/td>\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom: 1px solid rgb(241, 245, 249);color: rgb(55, 65, 81);vertical-align: top;\">\n<section><span leaf=\"\">\u9996\u6b21\u542f\u52a8\u68c0\u6d4b\uff0c\u5750\u6807\u70b9\u51fb&#8221;\u540c\u610f&#8221;\u6309\u94ae<\/span><\/section>\n<\/td>\n<\/tr>\n<tr style=\"box-sizing: border-box;margin: 0px;padding: 0px;\">\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom: 1px solid rgb(241, 245, 249);color: rgb(55, 65, 81);vertical-align: top;background: rgb(248, 250, 252);\">\n<section><span leaf=\"\">iOS<\/span><\/section>\n<\/td>\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom: 1px solid rgb(241, 245, 249);color: rgb(55, 65, 81);vertical-align: top;background: rgb(248, 250, 252);\">\n<section><span leaf=\"\">ATT\u5f39\u7a97\uff08App Tracking Transparency\uff09<\/span><\/section>\n<\/td>\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom: 1px solid rgb(241, 245, 249);color: rgb(55, 65, 81);vertical-align: top;background: rgb(248, 250, 252);\"><code style=\"box-sizing: border-box;margin: 0px;padding: 2px 6px;background: rgb(240, 241, 244);border-radius: 4px;font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, monospace;font-size: 12px;color: rgb(190, 18, 60);\"><span leaf=\"\">driver.switch_to.alert.accept()<\/span><\/code><\/td>\n<\/tr>\n<tr style=\"box-sizing: border-box;margin: 0px;padding: 0px;\">\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom-width: medium;border-bottom-style: none;border-bottom-color: currentcolor;color: rgb(55, 65, 81);vertical-align: top;\">\n<section><span leaf=\"\">HarmonyOS<\/span><\/section>\n<\/td>\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom-width: medium;border-bottom-style: none;border-bottom-color: currentcolor;color: rgb(55, 65, 81);vertical-align: top;\">\n<section><span leaf=\"\">\u6743\u9650\u8bf7\u6c42\u5f39\u7a97<\/span><\/section>\n<\/td>\n<td style=\"box-sizing: border-box;margin: 0px;padding: 10px 14px;border-bottom-width: medium;border-bottom-style: none;border-bottom-color: currentcolor;color: rgb(55, 65, 81);vertical-align: top;\"><code style=\"box-sizing: border-box;margin: 0px;padding: 2px 6px;background: rgb(240, 241, 244);border-radius: 4px;font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, monospace;font-size: 12px;color: rgb(190, 18, 60);\"><span leaf=\"\">promptAction.showAlertDialog()<\/span><\/code><\/p>\n<section><span leaf=\"\">&nbsp;\u6216\u5750\u6807\u70b9\u51fb<\/span><\/section>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"box-sizing: border-box;margin: 1px 0px 0px;padding: 0px;font-size: 20px;flex-shrink: 0;\"><span leaf=\"\">\u26a0\ufe0f<span textstyle=\"\" style=\"font-size: 15px;color: #ff2941;font-weight: bold;\">\u52a1\u5fc5\u4f18\u5148\u5904\u7406\u9690\u79c1\u5f39\u7a97<\/span><span textstyle=\"\" style=\"font-size: 15px;color: #ff2941;\">\u3002<\/span><\/span><\/span><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 15px;\">\u8fd9\u7c7b\u5f39\u7a97\u5f80\u5f80\u51fa\u73b0\u5728\u5e94\u7528\u9996\u6b21\u542f\u52a8\u3001\u7248\u672c\u5347\u7ea7\u6216\u6e05\u7a7a\u6570\u636e\u4e4b\u540e\u3002\u5982\u679c\u4e0d\u5728\u811a\u672c\u6700\u524d\u9762\u7edf\u4e00\u62e6\u622a\u5e76\u5173\u95ed\uff0c\u540e\u7eed\u6240\u6709\u70b9\u51fb\u3001\u8f93\u5165\u3001\u65ad\u8a00\u64cd\u4f5c\u90fd\u4f1a\u88ab\u906e\u6321\u6216\u4e2d\u65ad\u3002\u5efa\u8bae\u628a&#8221;\u542f\u52a8\u540e\u5148\u6d88\u5f39\u7a97&#8221;\u5c01\u88c5\u6210\u516c\u5171\u524d\u7f6e\u6b65\u9aa4\uff0c\u6240\u6709\u7528\u4f8b\u590d\u7528\u3002<\/span><\/span><\/p>\n<h3 style=\"box-sizing: border-box;margin: 32px 0px 12px;padding: 0px 0px 0px 14px;font-size: 17px;font-weight: 700;color: rgb(30, 64, 175);border-left: 4px solid rgb(59, 130, 246);line-height: 1.4;font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\"><span leaf=\"\">7.2 \u5143\u7d20\u5b9a\u4f4d\u5668\u4e09\u7aef\u5dee\u5f02<\/span><\/h3>\n<ul style=\"box-sizing: border-box;margin: 10px 0px 14px 22px;padding: 0px;color: rgb(26, 26, 46);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\" class=\"list-paddingleft-1\">\n<li style=\"box-sizing: border-box;margin: 6px 0px;padding: 0px;color: rgb(55, 65, 81);\"><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\">Android\uff1a<\/span><\/strong><code style=\"box-sizing: border-box;margin: 0px;padding: 2px 6px;background: rgb(240, 241, 244);border-radius: 4px;font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, monospace;font-size: 13px;color: rgb(190, 18, 60);\"><span leaf=\"\">resource-id<\/span><\/code><br \/>\n<section><span leaf=\"\">\u4f18\u5148\uff0c\u5176\u6b21\u4f7f\u7528uiautomator2\u7684\u6587\u672c\u5b9a\u4f4d\uff08<\/span><code style=\"box-sizing: border-box;margin: 0px;padding: 2px 6px;background: rgb(240, 241, 244);border-radius: 4px;font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, monospace;font-size: 13px;color: rgb(190, 18, 60);\"><span leaf=\"\">UiSelector().text(\"xxx\")<\/span><\/code><span leaf=\"\">\uff09\u3002<\/span><\/section>\n<\/li>\n<li style=\"box-sizing: border-box;margin: 6px 0px;padding: 0px;color: rgb(55, 65, 81);\"><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\">iOS\uff1a<\/span><\/strong><code style=\"box-sizing: border-box;margin: 0px;padding: 2px 6px;background: rgb(240, 241, 244);border-radius: 4px;font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, monospace;font-size: 13px;color: rgb(190, 18, 60);\"><span leaf=\"\">accessibility-id<\/span><\/code><br \/>\n<section><span leaf=\"\">\u4f18\u5148\uff08\u6700\u7a33\u5b9a\u3001\u6700\u4e0d\u6613\u968fUI\u53d8\u52a8\uff09\uff0c\u5176\u6b21\u4f7f\u7528XCUIElementQuery\u94fe\u5f0f\u8c03\u7528\u3002<\/span><\/section>\n<\/li>\n<li style=\"box-sizing: border-box;margin: 6px 0px;padding: 0px;color: rgb(55, 65, 81);\"><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\">HarmonyOS\uff1a<\/span><\/strong><code style=\"box-sizing: border-box;margin: 0px;padding: 2px 6px;background: rgb(240, 241, 244);border-radius: 4px;font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, monospace;font-size: 13px;color: rgb(190, 18, 60);\"><span leaf=\"\">ohos:id<\/span><\/code><br \/>\n<section><span leaf=\"\">\u4f18\u5148\uff0c\u5176\u6b21\u4f7f\u7528ArkUI Selector\u8fdb\u884c\u7ec4\u4ef6\u5339\u914d\u3002<\/span><\/section>\n<\/li>\n<\/ul>\n<p><span style=\"box-sizing: border-box;margin: 1px 0px 0px;padding: 0px;font-size: 20px;flex-shrink: 0;\"><span leaf=\"\">\ud83d\udca1<span textstyle=\"\" style=\"font-size: 15px;font-weight: bold;\">\u901a\u7528\u6280\u5de7\uff1a<\/span><\/span><\/span><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 15px;\">\u8ba9LLM\u751f\u6210\u5b9a\u4f4d\u4ee3\u7801\u540e\uff0c\u52a1\u5fc5\u5206\u522b\u7528Appium Inspector\uff08Android\/iOS\uff09\u4e0eDevEco Inspector\uff08HarmonyOS\uff09\u5b9e\u9645\u9a8c\u8bc1\u5b9a\u4f4d\u7b26\u7684\u6b63\u786e\u6027\uff0c\u4e0d\u8981\u7167\u642c\u751f\u6210\u7ed3\u679c\u3002<\/span><\/span><\/p>\n<section style=\"text-align: center;\"><span data-pm-slice=\"0 0 []\"><span data-pm-slice=\"0 0 []\"><span data-pm-slice=\"0 0 []\"><span leaf=\"\" style=\"background-color: rgb(255, 255, 255);float: none;box-sizing: border-box;margin: 1px 0px 0px;padding: 0px;font-size: 20px;flex-shrink: 0;color: rgb(20, 83, 45);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;display: inline !important;\"><span textstyle=\"\" style=\"font-size: 16px;color: #7b0c00;font-weight: bold;\">\u4e09\u7aef\u5143\u7d20\u5b9a\u4f4d\u5de5\u5177<\/span><\/span><\/span><\/span><\/span><\/section>\n<section style=\"text-align: center;\" nodeleaf=\"\">\n<figure class=\"wx-qr-wrap\"><img decoding=\"async\" class=\"rich_pages wxw-img\" data-aistatus=\"1\" data-imgfileid=\"100000540\" data-s=\"300,640\" data-type=\"png\" type=\"block\" src=\"https:\/\/mmbiz.qpic.cn\/mmbiz_png\/BWmfcibGhS1LEB9slXvzF6kQgZCrsk4PSEa0maT1hpaI7icF8W8LXuP3KKesxbIJqGF0WApz5yARMdHVL1KWJjDoFdEpdl1rPJuNR48eJlF4Q\/640?wx_fmt=png&#038;from=appmsg\" \/><figcaption class=\"wx-qr-tip\"><img decoding=\"async\" src=\"https:\/\/www.deartester.com\/wp-content\/uploads\/2026\/09\/wechat-qr.jpg\" alt=\"\u5fae\u4fe1\u516c\u4f17\u53f7\u4e8c\u7ef4\u7801\" loading=\"lazy\"><span>\u56fe\u7247\u5f15\u81ea\u5fae\u4fe1\u516c\u4f17\u53f7\uff0c\u626b\u7801\u5173\u6ce8\u9605\u8bfb\u539f\u6587<\/span><\/figcaption><\/figure>\n<\/section>\n<section style=\"text-align: center;\"><span data-pm-slice=\"0 0 []\"><span style=\"color: rgb(156, 163, 175);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 13px;font-style: italic;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;\" data-pm-slice=\"0 0 []\"><span style=\"color: rgb(156, 163, 175);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 13px;font-style: italic;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;\" data-pm-slice=\"0 0 []\"><span style=\"color: rgb(156, 163, 175);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 13px;font-style: italic;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;background-color: rgb(255, 255, 255);text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;float: none;display: inline !important;\" data-pm-slice=\"0 0 []\"><span leaf=\"\">Appium Inspector \/ Xcode \/ DevEco Inspector\u4e09\u7aef\u5143\u7d20\u5b9a\u4f4d\u5de5\u5177<\/span><\/span><\/span><\/span><\/span><\/section>\n<h3 style=\"box-sizing: border-box;margin: 32px 0px 12px;padding: 0px 0px 0px 14px;font-size: 17px;font-weight: 700;color: rgb(30, 64, 175);border-left: 4px solid rgb(59, 130, 246);line-height: 1.4;font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\" data-pm-slice=\"0 0 []\"><span leaf=\"\">7.3 \u7b49\u5f85\u7b56\u7565\u4e0e\u7a33\u5b9a\u6027\u4f18\u5316<\/span><\/h3>\n<p style=\"box-sizing: border-box;margin: 12px 0px;padding: 0px;color: rgb(55, 65, 81);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\"><span leaf=\"\">\u6838\u5fc3\u539f\u5219\uff1a<\/span><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\">\u663e\u5f0f\u7b49\u5f85\u4f18\u5148\uff0c\u7981\u6b62time.sleep()\u786c\u7f16\u7801\u7b49\u5f85\u3002<\/span><\/strong><span leaf=\"\">\u56fa\u5b9asleep\u65e2\u62d6\u6162\u6267\u884c\u53c8\u63a9\u76d6\u65f6\u5e8f\u95ee\u9898\uff0c\u662f\u81ea\u52a8\u5316\u4e0d\u7a33\u5b9a\u7684\u6839\u6e90\u3002<\/span><\/p>\n<ul style=\"box-sizing: border-box;margin: 10px 0px 14px 22px;padding: 0px;color: rgb(26, 26, 46);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\" class=\"list-paddingleft-1\">\n<li style=\"box-sizing: border-box;margin: 6px 0px;padding: 0px;color: rgb(55, 65, 81);\"><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\">Android \/ iOS\uff1a<\/span><\/strong><br \/>\n<section><span leaf=\"\">\u4f7f\u7528<\/span><code style=\"box-sizing: border-box;margin: 0px;padding: 2px 6px;background: rgb(240, 241, 244);border-radius: 4px;font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, monospace;font-size: 13px;color: rgb(190, 18, 60);\"><span leaf=\"\">WebDriverWait<\/span><\/code><span leaf=\"\">\u914d\u5408<\/span><code style=\"box-sizing: border-box;margin: 0px;padding: 2px 6px;background: rgb(240, 241, 244);border-radius: 4px;font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, monospace;font-size: 13px;color: rgb(190, 18, 60);\"><span leaf=\"\">expected_conditions<\/span><\/code><span leaf=\"\">\uff0c\u7b49\u5f85\u5143\u7d20\u53ef\u89c1\u3001\u53ef\u70b9\u51fb\u7b49\u6761\u4ef6\u6210\u7acb\u3002<\/span><\/section>\n<\/li>\n<li style=\"box-sizing: border-box;margin: 6px 0px;padding: 0px;color: rgb(55, 65, 81);\"><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\">HarmonyOS\uff1a<\/span><\/strong><br \/>\n<section><span leaf=\"\">\u4f7f\u7528<\/span><code style=\"box-sizing: border-box;margin: 0px;padding: 2px 6px;background: rgb(240, 241, 244);border-radius: 4px;font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, monospace;font-size: 13px;color: rgb(190, 18, 60);\"><span leaf=\"\">waitForElement<\/span><\/code><span leaf=\"\">\u5e76\u914d\u7f6e\u5408\u7406\u8d85\u65f6\uff0c\u7b49\u5f85\u7ec4\u4ef6\u6811\u6e32\u67d3\u5b8c\u6210\u3002<\/span><\/section>\n<\/li>\n<\/ul>\n<p><span style=\"box-sizing: border-box;margin: 1px 0px 0px;padding: 0px;font-size: 20px;flex-shrink: 0;\"><span leaf=\"\">\ud83d\udca1<span textstyle=\"\" style=\"font-size: 15px;font-weight: bold;\">iOS\u7279\u6b8a\u8bf4\u660e\uff1a<\/span><\/span><\/span><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 15px;\">XCUITest\u5bf9\u52a8\u6001\u5185\u5bb9\uff08\u5982\u5217\u8868\u6eda\u52a8\u52a0\u8f7d\u3001\u52a8\u753b\u8fc7\u6e21\uff09\u652f\u6301\u76f8\u5bf9\u8f83\u5f31\uff0c\u5b9a\u4f4d\u4e0e\u65ad\u8a00\u5931\u8d25\u7387\u504f\u9ad8\u3002\u5b9e\u8df5\u4e2d\u5e94\u9002\u5f53\u589e\u52a0\u7b49\u5f85\u65f6\u95f4\uff0c\u5efa\u8bae\u663e\u5f0f\u7b49\u5f85\u8d85\u65f6\u8bbe\u4e3a<\/span><\/span><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 15px;\">10\u201315\u79d2<\/span><\/span><\/strong><span leaf=\"\"><span textstyle=\"\" style=\"font-size: 15px;\">\uff0c\u907f\u514d&#8221;\u521a\u597d\u5dee\u4e00\u70b9\u70b9&#8221;\u7684\u5076\u53d1\u5931\u8d25\u3002\u7a33\u5b9a\u4f18\u5148\u4e8e\u901f\u5ea6\u3002<\/span><\/span><\/p>\n<hr style=\"border-style: solid;border-width: 1px 0 0;border-color: rgba(0,0,0,0.1);-webkit-transform-origin: 0 0;-webkit-transform: scale(1, 0.5);transform-origin: 0 0;transform: scale(1, 0.5);\"  \/>\n<p data-pm-slice=\"0 0 []\"><span style=\"box-sizing: border-box;margin: 0px 0px 10px;padding: 3px 10px;display: inline-block;font-size: 12px;font-weight: 700;color: rgb(255, 255, 255);background: rgb(29, 78, 216);border-radius: 20px;letter-spacing: 0.5px;\"><span leaf=\"\">\u7b2c\u516b\u7ae0<\/span><\/span><span leaf=\"\">&nbsp;<\/span><\/p>\n<h2 style=\"box-sizing: border-box;margin: 0px;padding: 0px 0px 12px;font-size: 22px;font-weight: 800;color: rgb(26, 26, 46);border-bottom: 3px solid rgb(79, 70, 229);display: inline-block;line-height: 1.35;\"><span leaf=\"\">\u56e2\u961f\u843d\u5730\u8def\u5f84\u4e0e\u5de5\u5177\u94fe<\/span><\/h2>\n<p style=\"box-sizing: border-box;margin: 12px 0px;padding: 0px;color: rgb(55, 65, 81);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 2em;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\"><span leaf=\"\">\u6280\u672f\u9009\u578b\u53ea\u662f\u7b2c\u4e00\u6b65\uff0c\u771f\u6b63\u843d\u5730\u8981\u9760\u6e05\u6670\u7684\u63a8\u8fdb\u8282\u594f\u3002\u5efa\u8bae\u6309&#8221;\u56db\u6b65\u8d70&#8221;\u8def\u5f84\u7a33\u6b65\u63a8\u8fdb\uff0c\u5148\u9a8c\u8bc1\u518d\u653e\u5927\u3002<\/span><\/p>\n<h3 style=\"box-sizing: border-box;margin: 32px 0px 12px;padding: 0px 0px 0px 14px;font-size: 17px;font-weight: 700;color: rgb(30, 64, 175);border-left: 4px solid rgb(59, 130, 246);line-height: 1.4;font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: left;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\"><span leaf=\"\">\u7b2c\u4e00\u6b65\uff1a\u8bd5\u70b9\u9a8c\u8bc1\uff08\u7b2c1\u20132\u5468\uff09<\/span><\/h3>\n<p style=\"box-sizing: border-box;margin: 12px 0px;padding: 0px;color: rgb(55, 65, 81);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 2em;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\"><span leaf=\"\">\u9009\u5b9a<\/span><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\">\u767b\u5f55\u6d41\u7a0b<\/span><\/strong><span leaf=\"\">\u4f5c\u4e3a\u7b2c\u4e00\u4e2a\u8bd5\u70b9\u573a\u666f\uff0c\u8bb0\u5f55LLM\u751f\u6210\u4ee3\u7801\u7684\u76f4\u63a5\u53ef\u7528\u7387\u3002\u76ee\u6807\uff1a<\/span><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\">\u76f4\u63a5\u53ef\u7528\u7387 \u2265 80%<\/span><\/strong><span leaf=\"\">\u3002\u8bd5\u70b9\u4ef7\u503c\u5728\u4e8e\u6478\u6e05\u5927\u6a21\u578b\u5728\u672c\u56e2\u961f\u771f\u5b9e\u9879\u76ee\u4e0a\u7684\u4ea7\u51fa\u8d28\u91cf\uff0c\u800c\u4e0d\u662f\u8ffd\u6c42\u8986\u76d6\u9762\u3002<\/span><\/p>\n<h3 style=\"box-sizing: border-box;margin: 32px 0px 12px;padding: 0px 0px 0px 14px;font-size: 17px;font-weight: 700;color: rgb(30, 64, 175);border-left: 4px solid rgb(59, 130, 246);line-height: 1.4;font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\"><span leaf=\"\">\u7b2c\u4e8c\u6b65\uff1a\u89c4\u8303\u8fed\u4ee3\uff08\u7b2c3\u20134\u5468\uff09<\/span><\/h3>\n<p style=\"box-sizing: border-box;margin: 12px 0px;padding: 0px;color: rgb(55, 65, 81);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 2em;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\"><span leaf=\"\">\u7edf\u8ba1\u5b9e\u9645\u53ef\u7528\u7387\uff0c\u628a\u4f4e\u4e8e80%\u7684\u573a\u666f\u9010\u4e00\u5256\u6790\uff0c\u5c06\u53cd\u590d\u51fa\u9519\u7684\u6a21\u5f0f\u8865\u5145\u5230<\/span><code style=\"box-sizing: border-box;margin: 0px;padding: 2px 6px;background: rgb(240, 241, 244);border-radius: 4px;font-family: SFMono-Regular, Consolas, &quot;Liberation Mono&quot;, monospace;font-size: 13px;color: rgb(190, 18, 60);\"><span leaf=\"\">spec.yaml<\/span><\/code><span leaf=\"\">\u7684<\/span><strong style=\"box-sizing: border-box;margin: 0px;padding: 0px;font-weight: 700;color: rgb(26, 26, 46);\"><span leaf=\"\">\u7981\u6b62\u4e8b\u9879<\/span><\/strong><span leaf=\"\">\u4e2d\uff0c\u6301\u7eed\u8fed\u4ee3\u89c4\u8303\u3002\u89c4\u8303\u8d8a\u5177\u4f53\uff0c\u540e\u7eed\u751f\u6210\u8d28\u91cf\u8d8a\u7a33\u5b9a\u3002<\/span><\/p>\n<h3 style=\"box-sizing: border-box;margin: 32px 0px 12px;padding: 0px 0px 0px 14px;font-size: 17px;font-weight: 700;color: rgb(30, 64, 175);border-left: 4px solid rgb(59, 130, 246);line-height: 1.4;font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\"><span leaf=\"\">\u7b2c\u4e09\u6b65\uff1aPrompt\u8d44\u4ea7\u79ef\u7d2f\uff08\u6301\u7eed\uff09<\/span><\/h3>\n<p style=\"box-sizing: border-box;margin: 12px 0px;padding: 0px;color: rgb(55, 65, 81);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: center;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\"><span leaf=\"\">\u5c06\u4e0d\u540c\u573a\u666f\u7684Prompt\u6a21\u677f\u6c89\u6dc0\u4e3a\u56e2\u961f\u8d44\u4ea7\uff0c\u5f62\u6210\u53ef\u590d\u7528\u7684\u76ee\u5f55\u7ed3\u6784\uff1a<\/span><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"bash\"><code><span leaf=\"\">prompts\/<\/span><\/code><code><span leaf=\"\">\u251c\u2500\u2500 login.yaml &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class=\"code-snippet__comment\"># \u767b\u5f55\u573a\u666f<\/span><\/span><\/code><code><span leaf=\"\">\u251c\u2500\u2500 search.yaml &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<span class=\"code-snippet__comment\"># \u641c\u7d22\u573a\u666f<\/span><\/span><\/code><code><span leaf=\"\">\u251c\u2500\u2500 swipe.yaml &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class=\"code-snippet__comment\"># \u6ed1\u52a8\u64cd\u4f5c<\/span><\/span><\/code><code><span leaf=\"\">\u2514\u2500\u2500 payment.yaml &nbsp; &nbsp; &nbsp; &nbsp;<span class=\"code-snippet__comment\"># \u652f\u4ed8\u6d41\u7a0b<\/span><\/span><\/code><\/pre>\n<\/section>\n<h3 style=\"box-sizing: border-box;margin: 32px 0px 12px;padding: 0px 0px 0px 14px;font-size: 17px;font-weight: 700;color: rgb(30, 64, 175);border-left: 4px solid rgb(59, 130, 246);line-height: 1.4;font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\" data-pm-slice=\"0 0 []\"><span leaf=\"\">\u7b2c\u56db\u6b65\uff1aCI\/CD\u96c6\u6210\uff08\u957f\u671f\uff09<\/span><\/h3>\n<p style=\"box-sizing: border-box;margin: 12px 0px;padding: 0px;color: rgb(55, 65, 81);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-size: 16px;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;white-space: normal;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\"><span leaf=\"\">\u5c06\u81ea\u52a8\u5316\u6d4b\u8bd5\u63a5\u5165\u6301\u7eed\u96c6\u6210\uff0c\u6784\u5efa\u2014\u6d4b\u8bd5\u2014\u62a5\u544a\u95ed\u73af\uff1a<\/span><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\" data-lang=\"bash\"><code><span leaf=\"\">GitHub Actions \/ Jenkins<\/span><\/code><code><span leaf=\"\">&nbsp; \u2192 \u89e6\u53d1 Appium \u6d4b\u8bd5<\/span><\/code><code><span leaf=\"\">&nbsp; \u2192 Allure \u62a5\u544a\uff08Android\/iOS\uff09<\/span><\/code><code><span leaf=\"\">&nbsp; \u2192 DevEco Test Report\uff08HarmonyOS\uff09<\/span><\/code><\/pre>\n<\/section>\n<section><span style=\"box-sizing: border-box;margin: 1px 0px 0px;padding: 0px;font-size: 20px;flex-shrink: 0;color: rgb(20, 83, 45);font-family: -apple-system, BlinkMacSystemFont, &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, sans-serif;font-style: normal;font-variant-ligatures: normal;font-variant-caps: normal;font-weight: 400;letter-spacing: normal;orphans: 2;text-align: start;text-indent: 0px;text-transform: none;widows: 2;word-spacing: 0px;-webkit-text-stroke-width: 0px;text-decoration-thickness: initial;text-decoration-style: initial;text-decoration-color: initial;\" data-pm-slice=\"0 0 []\"><span leaf=\"\">\ud83c\udfaf<span textstyle=\"\" style=\"font-size: 15px;color: #ff2941;\">\u81f3\u6b64\uff0c\u6d4b\u8bd5\u4ece&#8221;\u4e2a\u4eba\u811a\u672c&#8221;\u5347\u7ea7\u4e3a&#8221;\u56e2\u961f\u57fa\u7840\u8bbe\u65bd&#8221;\uff0c\u65b0\u4eba\u4e5f\u80fd\u5feb\u901f\u590d\u7528\u65e2\u6709\u8d44\u4ea7\uff0c\u7ef4\u62a4\u6210\u672c\u5927\u5e45\u964d\u4f4e\u3002<\/span><\/span><\/span><\/section>\n<p style=\"display: none;\"><mp-style-type data-value=\"3\"><\/mp-style-type><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5bfc\u8bfb&nbsp; \u4e00\u4e2a\u6d4b\u8bd5\u65b0\u4eba\u7684\u5165\u804c\u7b2c\u4e00\u5929 \u5c0f\u5f20\u4eca\u5e74\u521a\u6bd5\u4e1a\uff0c\u5165\u804c\u7b2c\u4e00\u5929\u88ab\u62c9\u5230\u9879\u76ee\u7fa4\u91cc\u3002Leader\u53d1\u6765\u4e00\u6761\u6d88\u606f [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":110,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-111","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ai"],"_links":{"self":[{"href":"https:\/\/www.deartester.com\/index.php\/wp-json\/wp\/v2\/posts\/111","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.deartester.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.deartester.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.deartester.com\/index.php\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.deartester.com\/index.php\/wp-json\/wp\/v2\/comments?post=111"}],"version-history":[{"count":2,"href":"https:\/\/www.deartester.com\/index.php\/wp-json\/wp\/v2\/posts\/111\/revisions"}],"predecessor-version":[{"id":207,"href":"https:\/\/www.deartester.com\/index.php\/wp-json\/wp\/v2\/posts\/111\/revisions\/207"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.deartester.com\/index.php\/wp-json\/wp\/v2\/media\/110"}],"wp:attachment":[{"href":"https:\/\/www.deartester.com\/index.php\/wp-json\/wp\/v2\/media?parent=111"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.deartester.com\/index.php\/wp-json\/wp\/v2\/categories?post=111"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.deartester.com\/index.php\/wp-json\/wp\/v2\/tags?post=111"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}