Appium Android?????TestNG???????????
???????????? ???????[ 2014/12/8 9:47:31 ] ??????????????? ?????????? ·??
????????????????Android?豸??????????????
???????
????adb devices
???????udid
???????????·???????????testng.xml
testng1.xml
<?xml version="1.0" encoding="UTF-8"?>
<suite name="Suite1">
<parameter name = "port" value = "4723"/>
<parameter name = "udid" value = "emulator-5554"/>
<test name="Test">
<classes>
<class name="com.testerhome.Suite1"/>
</classes>
</test>
</suite>
testng2.xml
<?xml version="1.0" encoding="UTF-8"?>
<suite name="Suite2">
<parameter name = "port" value = "4725"/>
<parameter name = "udid" value = "emulator-5556"/>
<test name="Test">
<classes>
<class name="com.testerhome.Suite1"/>
</classes>
</test>
</suite>
???????????????appium server*?2???3
???????????
????Port:4723
????bootstrapPort:4724
???????????
????Port:4725
????bootstrapPort:4726
?????塢????????*?4
???????????maven????????????????????????????·???μ?lib?????
????mvn dependency:copy-dependencies -DoutputDirectory=lib
??????????в???
??????????
????java -classpath ". arget est-classes" -Djava.ext.dirs=lib org.testng.TestNG -suitethreadpoolsize 2 testng1.xml testng2.xml
??????????????TestNG????????
????java -classpath ". arget est-classes;D:Programs estng-6.8 estng-6.8.jar" -Djava.ext.dirs=lib org.testng.TestNG -suitethreadpoolsize 2 testng1.xml testng2.xml
?????????????
????????????·???μ?test-output?????
?????1??
???????????????????app·??????????????unzip?????????????????????apk??
????File app = new File(appDir?? "AppName"+port+".apk");
?????2??
??????????????????????????????
????appium ??????????? ppt(?????)
????http://testerhome.com/topics/284
????Appium Android Bootstrap??????????
????http://blog.csdn.net/zhubaitian/article/details/40619777
?????3??
???????????Selendroid??Chromium?????????????????????????????
????Selendroid port:8080
????Selendroid port:8081
????Chromium port:9515
????Chromium port:9516
?????4??
?????????????mvn test??е????????????suitethreadpoolsize???????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11