crawl next
2019-04-16 16:28:16 DEBUG [Crawler.806.crawl] refresh success
2019-04-16 16:28:16 TRACE [Crawler.369.needBackApp] ListBuffer(com.tian.mpas.gen
)
2019-04-16 16:28:16 TRACE [Crawler.370.needBackApp] List(com.tian.mpas.gen, com.
tian.mpas.gen, com.tian.mpas.gen, com.tian.mpas.gen, com.tian.mpas.gen, com.tian
.mpas.gen, com.tian.mpas.gen, com.tian.mpas.gen, com.tian.mpas.gen)
2019-04-16 16:28:16 INFO [Crawler.425.needReturn] urlStack=Stack(com.tian.mpas.g
en-MainActivity) baseUrl=List() maxDepth=20
2019-04-16 16:28:16 INFO [Crawler.834.crawl] no need to back
2019-04-16 16:28:16 TRACE [Crawler.481.$anonfun$getAvailableElement$1] selectedL
ist xpath = //[contains(name(), 'Button')]
2019-04-16 16:28:16 TRACE [Crawler.481.$anonfun$getAvailableElement$1] selectedL
ist xpath = //
[contains(name(), 'Text') and @clickable='true' and string-lengt
h(@text)<10]
2019-04-16 16:28:16 TRACE [Crawler.483.$anonfun$getAvailableElement$3] com.tian.
mpas.gen-MainActivity.tag=EditText.0.depth=16.id=login_user.text=704
2019-04-16 16:28:16 TRACE [Crawler.483.$anonfun$getAvailableElement$3] com.tian.
mpas.gen-MainActivity.tag=EditText.1.depth=16.id=login_pwd.text=??????
2019-04-16 16:28:16 TRACE [Crawler.481.$anonfun$getAvailableElement$1] selectedL
ist xpath = //*[@clickable='true']/*[contains(name(), 'Text') and string-length
(@text)<10]
2019-04-16 16:28:16 TRACE [Crawler.481.$anonfun$getAvailableElement$1] selectedL
ist xpath = //*[contains(name(), 'Image') and @clickable='true']
2019-04-16 16:28:16 TRACE [Crawler.481.$anonfun$getAvailableElement$1] selectedL
ist xpath = //*[@clickable='true']/*[contains(name(), 'Image')]
2019-04-16 16:28:16 TRACE [Crawler.481.$anonfun$getAvailableElement$1] selectedL
ist xpath = //*[contains(name(), 'Image') and @name!='']
2019-04-16 16:28:16 TRACE [Crawler.481.$anonfun$getAvailableElement$1] selectedL
ist xpath = //*[contains(name(), 'Text') and @name!='' and string-length(@label
)<10]
2019-04-16 16:28:16 INFO [Crawler.487.getAvailableElement] selected nodes size =
2
2019-04-16 16:28:16 TRACE [Crawler.492.$anonfun$getAvailableElement$4] blackList
xpath = .*[0-9]{2}.*
2019-04-16 16:28:16 TRACE [Crawler.494.$anonfun$getAvailableElement$6] com.tian.
mpas.gen-MainActivity.tag=EditText.0.depth=16.id=login_user.text=704
2019-04-16 16:28:16 INFO [Crawler.499.getAvailableElement] all - black elements
size = 1
2019-04-16 16:28:16 TRACE [Crawler.501.$anonfun$getAvailableElement$7] com.tian.
mpas.gen-MainActivity.tag=EditText.1.depth=16.id=login_pwd.text=??????
2019-04-16 16:28:16 TRACE [Crawler.516.$anonfun$getAvailableElement$11] lastList
xpath = //*[@selected='true']/..//*
2019-04-16 16:28:16 TRACE [Crawler.516.$anonfun$getAvailableElement$11] lastList
xpath = //*[@selected='true']/../..//*
2019-04-16 16:28:16 INFO [Crawler.528.getAvailableElement] all - first - last el
ements size = 1
2019-04-16 16:28:16 TRACE [Crawler.561.$anonfun$getAvailableElement$15] sort by
depth
2019-04-16 16:28:16 TRACE [Crawler.565.$anonfun$getAvailableElement$19] depth=16
selected=com.tian.mpas.gen-MainActivity.tag=EditText.1.depth=16.id=login_pwd.te
xt=?????? list=false e=com.tian.mpas.gen-MainActivity.tag=EditText.1.depth=16.id
=login_pwd.text=??????
2019-04-16 16:28:16 TRACE [Crawler.561.$anonfun$getAvailableElement$15] sort by
list
2019-04-16 16:28:16 TRACE [Crawler.565.$anonfun$getAvailableElement$19] depth=16
selected=com.tian.mpas.gen-MainActivity.tag=EditText.1.depth=16.id=login_pwd.te
xt=?????? list=false e=com.tian.mpas.gen-MainActivity.tag=EditText.1.depth=16.id
=login_pwd.text=??????
2019-04-16 16:28:16 TRACE [Crawler.561.$anonfun$getAvailableElement$15] sort by
selected
2019-04-16 16:28:16 TRACE [Crawler.565.$anonfun$getAvailableElement$19] depth=16
selected=com.tian.mpas.gen-MainActivity.tag=EditText.1.depth=16.id=login_pwd.te
xt=?????? list=false e=com.tian.mpas.gen-MainActivity.tag=EditText.1.depth=16.id
=login_pwd.text=??????
2019-04-16 16:28:16 TRACE [Crawler.573.getAvailableElement] sorted nodes length=
1
2019-04-16 16:28:16 TRACE [Crawler.574.$anonfun$getAvailableElement$21] com.tian
.mpas.gen-MainActivity.tag=EditText.1.depth=16.id=login_pwd.text=??????
2019-04-16 16:28:16 INFO [Crawler.590.getAvailableElement] all - backButton size
=1
2019-04-16 16:28:16 INFO [Crawler.598.getAvailableElement] all - clicked size=1
2019-04-16 16:28:16 INFO [Crawler.605.getAvailableElement] all - skiped fresh el
ements size=1
2019-04-16 16:28:16 INFO [Crawler.843.crawl] found com.tian.mpas.gen-MainActivit
y.tag=EditText.1.depth=16.id=login_pwd.text=?????? by first available element
2019-04-16 16:28:16 INFO [Crawler.728.setElementAction] set action to click
2019-04-16 16:28:16 TRACE [Crawler.689.beforeElementAction] beforeElementAction
2019-04-16 16:28:16 ERROR [Crawler.193.crawl] crawl not finish, return with exce
ption
2019-04-16 16:28:16 ERROR [Crawler.194.crawl] javax.xml.transform.TransformerExc
eption: 需要位置路径, 但遇到以下标记: ‘true‘
2019-04-16 16:28:16 ERROR [Crawler.195.crawl] TransformerException: 需要位置路径
, 但遇到以下标记: ‘true‘
2019-04-16 16:28:16 ERROR [Crawler.196.crawl] javax.xml.transform.TransformerExc
eption: 需要位置路径, 但遇到以下标记: ‘true‘
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] javax.xml.transform.Tra
nsformerException: 需要位置路径, 但遇到以下标记: ‘true‘
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] [wrapped] javax.xml.xp
ath.XPathExpressionException: javax.xml.transform.TransformerException: 需要位置
路径, 但遇到以下标记: ‘true‘
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.sun.org.a
pache.xpath.internal.compiler.XPathParser.error(XPathParser.java:612)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.sun.org.a
pache.xpath.internal.compiler.XPathParser.LocationPath(XPathParser.java:1603)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.sun.org.a
pache.xpath.internal.compiler.XPathParser.PathExpr(XPathParser.java:1319)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.sun.org.a
pache.xpath.internal.compiler.XPathParser.UnionExpr(XPathParser.java:1238)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.sun.org.a
pache.xpath.internal.compiler.XPathParser.UnaryExpr(XPathParser.java:1144)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.sun.org.a
pache.xpath.internal.compiler.XPathParser.MultiplicativeExpr(XPathParser.java:10
65)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.sun.org.a
pache.xpath.internal.compiler.XPathParser.AdditiveExpr(XPathParser.java:1007)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.sun.org.a
pache.xpath.internal.compiler.XPathParser.RelationalExpr(XPathParser.java:932)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.sun.org.a
pache.xpath.internal.compiler.XPathParser.EqualityExpr(XPathParser.java:872)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.sun.org.a
pache.xpath.internal.compiler.XPathParser.EqualityExpr(XPathParser.java:896)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.sun.org.a
pache.xpath.internal.compiler.XPathParser.AndExpr(XPathParser.java:836)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.sun.org.a
pache.xpath.internal.compiler.XPathParser.OrExpr(XPathParser.java:809)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.sun.org.a
pache.xpath.internal.compiler.XPathParser.Expr(XPathParser.java:792)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.sun.org.a
pache.xpath.internal.compiler.XPathParser.PredicateExpr(XPathParser.java:1956)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.sun.org.a
pache.xpath.internal.compiler.XPathParser.Predicate(XPathParser.java:1938)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.sun.org.a
pache.xpath.internal.compiler.XPathParser.Step(XPathParser.java:1728)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.sun.org.a
pache.xpath.internal.compiler.XPathParser.RelativeLocationPath(XPathParser.java:
1637)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.sun.org.a
pache.xpath.internal.compiler.XPathParser.LocationPath(XPathParser.java:1599)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.sun.org.a
pache.xpath.internal.compiler.XPathParser.PathExpr(XPathParser.java:1319)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.sun.org.a
pache.xpath.internal.compiler.XPathParser.UnionExpr(XPathParser.java:1238)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.sun.org.a
pache.xpath.internal.compiler.XPathParser.UnaryExpr(XPathParser.java:1144)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.sun.org.a
pache.xpath.internal.compiler.XPathParser.MultiplicativeExpr(XPathParser.java:10
65)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.sun.org.a
pache.xpath.internal.compiler.XPathParser.AdditiveExpr(XPathParser.java:1007)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.sun.org.a
pache.xpath.internal.compiler.XPathParser.RelationalExpr(XPathParser.java:932)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.sun.org.a
pache.xpath.internal.compiler.XPathParser.EqualityExpr(XPathParser.java:872)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.sun.org.a
pache.xpath.internal.compiler.XPathParser.AndExpr(XPathParser.java:836)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.sun.org.a
pache.xpath.internal.compiler.XPathParser.OrExpr(XPathParser.java:809)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.sun.org.a
pache.xpath.internal.compiler.XPathParser.Expr(XPathParser.java:792)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.sun.org.a
pache.xpath.internal.compiler.XPathParser.PredicateExpr(XPathParser.java:1956)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.sun.org.a
pache.xpath.internal.compiler.XPathParser.Predicate(XPathParser.java:1938)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.sun.org.a
pache.xpath.internal.compiler.XPathParser.Step(XPathParser.java:1728)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.sun.org.a
pache.xpath.internal.compiler.XPathParser.RelativeLocationPath(XPathParser.java:
1628)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.sun.org.a
pache.xpath.internal.compiler.XPathParser.LocationPath(XPathParser.java:1599)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.sun.org.a
pache.xpath.internal.compiler.XPathParser.PathExpr(XPathParser.java:1319)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.sun.org.a
pache.xpath.internal.compiler.XPathParser.UnionExpr(XPathParser.java:1238)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.sun.org.a
pache.xpath.internal.compiler.XPathParser.UnaryExpr(XPathParser.java:1144)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.sun.org.a
pache.xpath.internal.compiler.XPathParser.MultiplicativeExpr(XPathParser.java:10
65)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.sun.org.a
pache.xpath.internal.compiler.XPathParser.AdditiveExpr(XPathParser.java:1007)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.sun.org.a
pache.xpath.internal.compiler.XPathParser.RelationalExpr(XPathParser.java:932)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.sun.org.a
pache.xpath.internal.compiler.XPathParser.EqualityExpr(XPathParser.java:872)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.sun.org.a
pache.xpath.internal.compiler.XPathParser.AndExpr(XPathParser.java:836)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.sun.org.a
pache.xpath.internal.compiler.XPathParser.OrExpr(XPathParser.java:809)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.sun.org.a
pache.xpath.internal.compiler.XPathParser.Expr(XPathParser.java:792)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.sun.org.a
pache.xpath.internal.compiler.XPathParser.initXPath(XPathParser.java:131)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.sun.org.a
pache.xpath.internal.XPath.(XPath.java:180)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.sun.org.a
pache.xpath.internal.XPath.(XPath.java:268)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.sun.org.a
pache.xpath.internal.jaxp.XPathImpl.compile(XPathImpl.java:390)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.testerhom
e.appcrawler.XPathUtil$.getNodeListFromXML(XPathUtil.scala:167)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.testerhom
e.appcrawler.XPathUtil$.getNodeListFromXPath(XPathUtil.scala:183)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.testerhom
e.appcrawler.XPathUtil$.getNodeListByKey(XPathUtil.scala:271)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.testerhom
e.appcrawler.driver.ReactWebDriver.getNodeListByKey(ReactWebDriver.scala:280)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.testerhom
e.appcrawler.driver.ReactWebDriver.getNodeListByKey$(ReactWebDriver.scala:279)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.testerhom
e.appcrawler.driver.AppiumClient.getNodeListByKey(AppiumClient.scala:28)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.testerhom
e.appcrawler.plugin.TagLimitPlugin.$anonfun$getTimesFromTagLimit$1(TagLimitPlugi
n.scala:70)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at scala.collect
ion.immutable.List.foreach(List.scala:389)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at scala.collect
ion.generic.TraversableForwarder.foreach(TraversableForwarder.scala:35)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at scala.collect
ion.generic.TraversableForwarder.foreach$(TraversableForwarder.scala:35)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at scala.collect
ion.mutable.ListBuffer.foreach(ListBuffer.scala:44)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.testerhom
e.appcrawler.plugin.TagLimitPlugin.getTimesFromTagLimit(TagLimitPlugin.scala:69)

2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.testerhom
e.appcrawler.plugin.TagLimitPlugin.beforeElementAction(TagLimitPlugin.scala:32)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.testerhom
e.appcrawler.Crawler.$anonfun$beforeElementAction$2(Crawler.scala:698)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.testerhom
e.appcrawler.Crawler.$anonfun$beforeElementAction$2$adapted(Crawler.scala:698)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at scala.collect
ion.immutable.List.foreach(List.scala:389)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at scala.collect
ion.generic.TraversableForwarder.foreach(TraversableForwarder.scala:35)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at scala.collect
ion.generic.TraversableForwarder.foreach$(TraversableForwarder.scala:35)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at scala.collect
ion.mutable.ListBuffer.foreach(ListBuffer.scala:44)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.testerhom
e.appcrawler.Crawler.beforeElementAction(Crawler.scala:698)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.testerhom
e.appcrawler.Crawler.crawl(Crawler.scala:885)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.testerhom
e.appcrawler.Crawler.$anonfun$crawl$1(Crawler.scala:187)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at scala.runtime
.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at scala.util.Tr
y$.apply(Try.scala:209)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.testerhom
e.appcrawler.Crawler.crawl(Crawler.scala:187)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.testerhom
e.appcrawler.Crawler.start(Crawler.scala:170)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.testerhom
e.appcrawler.AppCrawler$.startCrawl(AppCrawler.scala:322)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.testerhom
e.appcrawler.AppCrawler$.parseParams(AppCrawler.scala:290)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.testerhom
e.appcrawler.AppCrawler$.main(AppCrawler.scala:91)
2019-04-16 16:28:16 ERROR [Crawler.197.$anonfun$crawl$2] at com.testerhom
e.appcrawler.AppCrawler.main(AppCrawler.scala)
2019-04-16 16:28:16 ERROR [Crawler.198.crawl] create new session
2019-04-16 16:28:16 INFO [Crawler.214.restart] execute shell on restart


↙↙↙阅读原文可查看相关链接,并与作者交流