楼主辛苦,工具不错。有个问题请教下:出现下面提示后自动遍历就退出了。
win7 64bit 上执行的命令
java -jar appcrawler-1.5.0-20160817.jar -u 4730 -c xtcwatch.yml -o xtcwatch/ --capability appPackage=com.xtc.watch,appActivity=com.xtc.watch.MainActivity
日志:
2016-08-31 14:23:37 INFO [AndroidCrawler.doAppiumAction.1053] [[AndroidDriver: Android on LINUX (850a92c1-0d6b-42a9-b1a3-8ad7b05ac585)] -> xpath: //android.widget.RelativeLayout[@index="1" and @resource-id="com.xtc.watch:id/cm_set_layout"]/android.widget.LinearLayout[@index="0" and @resource-id="com.xtc.watch:id/setting_info_layout"]/android.widget.TextView[@index="0" and @resource-id="com.xtc.watch:id/cm_am_time" and @text="上午:08:00-11:30"]]
2016-08-31 14:23:37 ERROR [AndroidCrawler.saveDom.941] save to xtcwatch//10_ClassModeActivity_cm_set_layout-setting_info_layout-cm_am_time-上午:08:00-11:30.dom error
2016-08-31 14:23:37 ERROR [AndroidCrawler.saveDom.942] xtcwatch\10_ClassModeActivity_cm_set_layout-setting_info_layout-cm_am_time-上午:08:00-11:30.dom (文件名、目录名或卷标语法不正确。)