jdk-16.0.1.jdk
AppCrawler 2.4.0
Appium 1.8.1
demo.yml:默认生成的模板
2021-09-07 14:53:25 INFO [AppCrawler$.203.parseParams] Find Conf /Users/liufu/Documents/Tool/demo.yml
2021-09-07 14:53:26 INFO [AppCrawler$.226.parseParams] use appium in the config file http://127.0.0.1:4723/wd/hub
2021-09-07 14:53:26 INFO [AppCrawler$.230.parseParams] appium address = Some(http://127.0.0.1:4723/wd/hub)
2021-09-07 14:53:26 INFO [AppCrawler$.238.parseParams] use conf in config file
2021-09-07 14:53:26 INFO [AppCrawler$.242.parseParams] result directory = 20210906134119
2021-09-07 14:53:26 INFO [Crawler.130.start] set xpath attribute with List(name, label, value, resource-id, content-desc, instance, text)
2021-09-07 14:53:26 INFO [Crawler.135.start] set xpath
2021-09-07 14:53:26 INFO [Crawler.89.$anonfun$loadPlugins$2] com.testerhome.appcrawler.plugin.TagLimitPlugin@39ee94de
2021-09-07 14:53:26 INFO [Crawler.89.$anonfun$loadPlugins$2] com.testerhome.appcrawler.plugin.ReportPlugin@642857e0
2021-09-07 14:53:26 INFO [Crawler.89.$anonfun$loadPlugins$2] com.testerhome.appcrawler.plugin.FreeMind@4c6b4ed7
2021-09-07 14:53:26 INFO [TagLimitPlugin.19.init] com.testerhome.appcrawler.plugin.TagLimitPlugin init
2021-09-07 14:53:26 INFO [ReportPlugin.19.init] com.testerhome.appcrawler.plugin.ReportPlugin init
2021-09-07 14:53:26 INFO [FreeMind.19.init] com.testerhome.appcrawler.plugin.FreeMind init
2021-09-07 14:53:26 INFO [ReportPlugin.21.start] reportPath=/Users/liufu/Documents/Tool/20210906134119
2021-09-07 14:53:26 INFO [ReportPlugin.24.start] create /Users/liufu/Documents/Tool/20210906134119/tmp/ directory
2021-09-07 14:53:26 INFO [Crawler.138.start] prepare setup Appium
2021-09-07 14:53:26 INFO [Crawler.250.setupAppium] afterPageMax=2
2021-09-07 14:53:28 INFO [Crawler.273.setupAppium] use AppiumClient
2021-09-07 14:53:28 INFO [Crawler.274.setupAppium] Map(bundleId -> com.StarTravel.xinglvtu, automationName -> XCUITest, platformVersion -> 14.7, udid -> 00008101-001129682EC2001E, appium -> http://127.0.0.1:4723/wd/hub, autoLaunch -> true, noReset -> true, autoAcceptAlerts -> true, app -> /Users/liufu/Documents/Tool/StarTravel.ipa, fullReset -> false)
9 月 07, 2021 2:53:32 下午 io.appium.java_client.remote.AppiumCommandExecutor$1 lambda$0
信息: Detected dialect: W3C
2021-09-07 14:54:33 INFO [AppiumClient.120.getDeviceInfo] screenWidth=428 screenHeight=926
2021-09-07 14:54:33 INFO [AppiumClient.112.appium] capture dir = /Users/liufu/Documents/Tool/.
2021-09-07 14:54:33 INFO [Crawler.278.setupAppium] com.testerhome.appcrawler.driver.AppiumClient@45e7bb79
2021-09-07 14:54:33 INFO [Crawler.145.start] platformName= driver=com.testerhome.appcrawler.driver.AppiumClient@45e7bb79
AppCrawler 2.4.0 [霍格沃兹测试学院特别纪念版]
Appium 1.8.1 Java8 tested
app 爬虫, 用于自动遍历测试. 支持 Android 和 iOS, 支持真机和模拟器
项目地址: https://github.com/seveniruby/AppCrawler
移动测试技术交流: https://testerhome.com
联络作者: seveniruby@testerhome.com (思寒)
致谢: 晓光 泉龙 杨榕 恒温 mikezhou yaming116 沐木
2021-09-07 14:54:33 INFO [Crawler.147.start] waiting for app load
2021-09-07 14:54:39 INFO [Crawler.149.start] driver=null
2021-09-07 14:54:40 INFO [Crawler.150.start] get screen info
2021-09-07 14:54:40 INFO [AppiumClient.120.getDeviceInfo] screenWidth=428 screenHeight=926
2021-09-07 14:54:40 INFO [Crawler.627.refreshPage] refresh page
2021-09-07 14:54:40 INFO [AppiumClient.102.getPageSourceWithRetry] start to get page source from appium
2021-09-07 14:54:52 INFO [AppiumClient.117.$anonfun$getPageSourceWithRetry$1] xml format
Exception in thread "main" java.lang.IllegalAccessError: class com.testerhome.appcrawler.XPathUtil$ (in unnamed module @0x40f9161a) cannot access class com.sun.org.apache.xml.internal.serialize.OutputFormat (in module java.xml) because module java.xml does not export com.sun.org.apache.xml.internal.serialize to unnamed module @0x40f9161a
at com.testerhome.appcrawler.XPathUtil$.toPrettyXML(XPathUtil.scala:35)
at com.testerhome.appcrawler.driver.ReactWebDriver.$anonfun$getPageSourceWithRetry$1(ReactWebDriver.scala:132)
at scala.collection.immutable.Range.foreach$mVc$sp(Range.scala:156)
at com.testerhome.appcrawler.driver.ReactWebDriver.getPageSourceWithRetry(ReactWebDriver.scala:106)
at com.testerhome.appcrawler.driver.ReactWebDriver.getPageSourceWithRetry$(ReactWebDriver.scala:99)
at com.testerhome.appcrawler.driver.AppiumClient.getPageSourceWithRetry(AppiumClient.scala:28)
at com.testerhome.appcrawler.Crawler.refreshPage(Crawler.scala:628)
at com.testerhome.appcrawler.Crawler.start(Crawler.scala:152)
at com.testerhome.appcrawler.AppCrawler$.startCrawl(AppCrawler.scala:322)
at com.testerhome.appcrawler.AppCrawler$.parseParams(AppCrawler.scala:290)
at com.testerhome.appcrawler.AppCrawler$.main(AppCrawler.scala:91)
at com.testerhome.appcrawler.AppCrawler.main(AppCrawler.scala)