咨询下,测试报告中step模块详情中的截图为空,信息详情展示乱码,这个是什么原因导致的?
报错信息截图如下:
clickedIndex=1 action=CLICKED xpath= *** FAILED ***
[(Hide Details)](javascript:toggleDetails(‘17b618ed-8db2-43f8-b9f3-807c1bc9a97b’, ‘9d2dd1c1-b4f5-4a3d-88f0-2bb2acdfd55b’)
Message: | \tmp\1.xml (ϵͳÕҲ»µ½) |
---|---|
Exception: | java.io.FileNotFoundException |
java.base/java.io.FileOutputStream.open0(Native Method)
java.base/java.io.FileOutputStream.open(FileOutputStream.java:298)
java.base/java.io.FileOutputStream.(FileOutputStream.java:237)
scala.reflect.io.File.outputStream(File.scala:63)
scala.reflect.io.File.writer(File.scala:71)
scala.reflect.io.File.bufferedWriter(File.scala:78)
scala.reflect.io.File.bufferedWriter(File.scala:76)
scala.reflect.io.File.bufferedWriter(File.scala:75)
scala.reflect.io.File.writeAll(File.scala:84)
com.ceshiren.appcrawler.utils.XPathUtil$.toDocument(XPathUtil.scala:43)
com.ceshiren.appcrawler.utils.XPathUtil$.getNodeListByXPath(XPathUtil.scala:227)
com.ceshiren.appcrawler.plugin.scalatest.ScalaTestTemplate.$anonfun$addTestCase$7(ScalaTestTemplate.scala:73)
org.scalatest.Assertions.withClue(Assertions.scala:1223)
org.scalatest.Assertions.withClue$(Assertions.scala:1210)
org.scalatest.FunSuite.withClue(FunSuite.scala:1560)
com.ceshiren.appcrawler.plugin.scalatest.ScalaTestTemplate.$anonfun$addTestCase$6(ScalaTestTemplate.scala:73)
org.scalatest.Checkpoints$Checkpoint.apply(Checkpoints.scala:132)
com.ceshiren.appcrawler.plugin.scalatest.ScalaTestTemplate.$anonfun$addTestCase$5(ScalaTestTemplate.scala:72)
com.ceshiren.appcrawler.plugin.scalatest.ScalaTestTemplate.$anonfun$addTestCase$5$adapted(ScalaTestTemplate.scala:69)
scala.collection.immutable.List.foreach(List.scala:333)
com.ceshiren.appcrawler.plugin.scalatest.ScalaTestTemplate.$anonfun$addTestCase$3(ScalaTestTemplate.scala:69)
com.ceshiren.appcrawler.plugin.scalatest.ScalaTestTemplate.$anonfun$addTestCase$3$adapted(ScalaTestTemplate.scala:59)
scala.collection.immutable.List.foreach(List.scala:333)
com.ceshiren.appcrawler.plugin.scalatest.ScalaTestTemplate.$anonfun$addTestCase$2(ScalaTestTemplate.scala:59)
org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
org.scalatest.Transformer.apply(Transformer.scala:22)
org.scalatest.Transformer.apply(Transformer.scala:20)
org.scalatest.FunSuiteLike$$anon$1.apply(FunSuiteLike.scala:186)
org.scalatest.TestSuite.withFixture(TestSuite.scala:196)
org.scalatest.TestSuite.withFixture$(TestSuite.scala:195)
org.scalatest.FunSuite.withFixture(FunSuite.scala:1560)
org.scalatest.FunSuiteLike.invokeWithFixture$1(FunSuiteLike.scala:184)
org.scalatest.FunSuiteLike.$anonfun$runTest$1(FunSuiteLike.scala:196)
org.scalatest.SuperEngine.runTestImpl(Engine.scala:286)
org.scalatest.FunSuiteLike.runTest(FunSuiteLike.scala:196)
org.scalatest.FunSuiteLike.runTest$(FunSuiteLike.scala:178)
org.scalatest.FunSuite.runTest(FunSuite.scala:1560)
org.scalatest.FunSuiteLike.$anonfun$runTests$1(FunSuiteLike.scala:229)
org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:393)
scala.collection.immutable.List.foreach(List.scala:333)
org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:381)
org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:376)
org.scalatest.SuperEngine.runTestsImpl(Engine.scala:458)
org.scalatest.FunSuiteLike.runTests(FunSuiteLike.scala:229)
org.scalatest.FunSuiteLike.runTests$(FunSuiteLike.scala:228)
org.scalatest.FunSuite.runTests(FunSuite.scala:1560)
org.scalatest.Suite.run(Suite.scala:1124)
org.scalatest.Suite.run$(Suite.scala:1106)
org.scalatest.FunSuite.org$scalatest$FunSuiteLike$$super$run(FunSuite.scala:1560)
org.scalatest.FunSuiteLike.$anonfun$run$1(FunSuiteLike.scala:233)
org.scalatest.SuperEngine.runImpl(Engine.scala:518)
org.scalatest.FunSuiteLike.run(FunSuiteLike.scala:233)
org.scalatest.FunSuiteLike.run$(FunSuiteLike.scala:232)
com.ceshiren.appcrawler.plugin.scalatest.ScalaTestTemplate.org$scalatest$BeforeAndAfterAllConfigMap$$super$run(ScalaTestTemplate.scala:17)
org.scalatest.BeforeAndAfterAllConfigMap.liftedTree1$1(BeforeAndAfterAllConfigMap.scala:248)
org.scalatest.BeforeAndAfterAllConfigMap.run(BeforeAndAfterAllConfigMap.scala:245)
org.scalatest.BeforeAndAfterAllConfigMap.run$(BeforeAndAfterAllConfigMap.scala:242)
com.ceshiren.appcrawler.plugin.scalatest.ScalaTestTemplate.run(ScalaTestTemplate.scala:17)
org.scalatest.Suite.callExecuteOnSuite$1(Suite.scala:1187)
org.scalatest.Suite.$anonfun$runNestedSuites$1(Suite.scala:1234)
scala.collection.ArrayOps$.foreach$extension(ArrayOps.scala:1323)
org.scalatest.Suite.runNestedSuites(Suite.scala:1232)
org.scalatest.Suite.runNestedSuites$(Suite.scala:1166)
org.scalatest.tools.DiscoverySuite.runNestedSuites(DiscoverySuite.scala:30)
org.scalatest.Suite.run(Suite.scala:1121)
org.scalatest.Suite.run$(Suite.scala:1106)
org.scalatest.tools.DiscoverySuite.run(DiscoverySuite.scala:30)
org.scalatest.tools.SuiteRunner.run(SuiteRunner.scala:45)
org.scalatest.tools.Runner$.$anonfun$doRunRunRunDaDoRunRun$13(Runner.scala:1349)
org.scalatest.tools.Runner$.$anonfun$doRunRunRunDaDoRunRun$13$adapted(Runner.scala:1343)
scala.collection.immutable.List.foreach(List.scala:333)
org.scalatest.tools.Runner$.doRunRunRunDaDoRunRun(Runner.scala:1343)
org.scalatest.tools.Runner$.$anonfun$runOptionallyWithPassFailReporter$24(Runner.scala:1033)
org.scalatest.tools.Runner$.$anonfun$runOptionallyWithPassFailReporter$24$adapted(Runner.scala:1011)
org.scalatest.tools.Runner$.withClassLoaderAndDispatchReporter(Runner.scala:1509)
org.scalatest.tools.Runner$.runOptionallyWithPassFailReporter(Runner.scala:1011)
org.scalatest.tools.Runner$.run(Runner.scala:850)
com.ceshiren.appcrawler.plugin.scalatest.ScalaTestRuntime.runTestCase(ScalaTestRuntime.scala:60)
com.ceshiren.appcrawler.plugin.ReportPlugin.generateReport(ReportPlugin.scala:83)
com.ceshiren.appcrawler.plugin.ReportPlugin.stop(ReportPlugin.scala:27)
com.ceshiren.appcrawler.core.Crawler.$anonfun$stop$2(Crawler.scala:1303)
com.ceshiren.appcrawler.core.Crawler.$anonfun$stop$2$adapted(Crawler.scala:1303)
scala.collection.IterableOnceOps.foreach(IterableOnce.scala:563)
scala.collection.IterableOnceOps.foreach$(IterableOnce.scala:561)
scala.collection.AbstractIterable.foreach(Iterable.scala:919)
com.ceshiren.appcrawler.core.Crawler.$anonfun$stop$1(Crawler.scala:1303)
scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)
scala.util.Try$.apply(Try.scala:210)
com.ceshiren.appcrawler.core.Crawler.stop(Crawler.scala:1303)
com.ceshiren.appcrawler.core.Crawler.crawlWithRetry(Crawler.scala:230)
com.ceshiren.appcrawler.core.Crawler.start(Crawler.scala:170)
com.ceshiren.appcrawler.AppCrawler$.startCrawl(AppCrawler.scala:323)
com.ceshiren.appcrawler.AppCrawler$.parseParams(AppCrawler.scala:290)
com.ceshiren.appcrawler.AppCrawler$.main(AppCrawler.scala:81)
com.ceshiren.appcrawler.AppCrawler.main(AppCrawler.scala)