Advertisement
Guest User

Untitled

a guest
Oct 8th, 2020
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 75.91 KB | None | 0 0
  1. Oct 08, 2020 9:22:44 PM cucumber.api.cli.Main run
  2. WARNING: You are using deprecated Main class. Please use io.cucumber.core.cli.Main
  3.  
  4. @run
  5. Scenario Outline: Failing or Succeeding to Login # src/test/resources/features/login.feature:15
  6. Running locally...
  7. log4j:WARN No appenders could be found for logger (org.apache.commons.vfs2.impl.StandardFileSystemManager).
  8. log4j:WARN Please initialize the log4j system properly.
  9. cannot find chromedriver executable: org.apache.commons.vfs2.FileSystemException: Could not delete "file:///C:/Users/Insookwa/AppData/Local/Temp/chromedriver.exe".
  10. org.apache.commons.vfs2.FileSystemException: Could not delete "file:///C:/Users/Insookwa/AppData/Local/Temp/chromedriver.exe".
  11. at org.apache.commons.vfs2.provider.AbstractFileObject.deleteSelf(AbstractFileObject.java:848)
  12. at org.apache.commons.vfs2.provider.AbstractFileObject.delete(AbstractFileObject.java:907)
  13. at org.apache.commons.vfs2.provider.AbstractFileObject.delete(AbstractFileObject.java:864)
  14. at org.openmrs.uitestframework.test.TestBase.setupChromeDriver(TestBase.java:304)
  15. at org.openmrs.uitestframework.test.TestBase.launchBrowser(TestBase.java:174)
  16. at org.openmrs.uitestframework.test.TestBase.startWebDriver(TestBase.java:132)
  17. at org.openmrs.contrib.qaframework.automation.Steps.<init>(Steps.java:24)
  18. at org.openmrs.contrib.qaframework.automation.LoginSteps.<init>(LoginSteps.java:12)
  19. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  20. at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
  21. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
  22. at java.lang.reflect.Constructor.newInstance(Unknown Source)
  23. at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:132)
  24. at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.getInstance(ObjectFactoryServiceLoader.java:124)
  25. at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
  26. at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
  27. at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
  28. at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
  29. at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
  30. at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:92)
  31. at io.cucumber.core.runner.TestStep.run(TestStep.java:64)
  32. at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
  33. at io.cucumber.core.runner.TestCase.run(TestCase.java:104)
  34. at io.cucumber.core.runner.Runner.runPickle(Runner.java:71)
  35. at io.cucumber.core.runtime.Runtime.lambda$execute$5(Runtime.java:110)
  36. at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:117)
  37. at io.cucumber.core.runtime.Runtime.lambda$execute$6(Runtime.java:110)
  38. at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
  39. at java.util.concurrent.FutureTask.run(Unknown Source)
  40. at io.cucumber.core.runtime.Runtime$SameThreadExecutorService.execute(Runtime.java:233)
  41. at java.util.concurrent.AbstractExecutorService.submit(Unknown Source)
  42. at io.cucumber.core.runtime.Runtime.lambda$run$2(Runtime.java:86)
  43. at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
  44. at java.util.stream.SliceOps$1$1.accept(Unknown Source)
  45. at java.util.ArrayList$ArrayListSpliterator.tryAdvance(Unknown Source)
  46. at java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
  47. at java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
  48. at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
  49. at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
  50. at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
  51. at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
  52. at java.util.stream.ReferencePipeline.collect(Unknown Source)
  53. at io.cucumber.core.runtime.Runtime.run(Runtime.java:87)
  54. at io.cucumber.core.cli.Main.run(Main.java:79)
  55. at cucumber.api.cli.Main.run(Main.java:30)
  56. at cucumber.api.cli.Main.main(Main.java:15)
  57. Caused by: org.apache.commons.vfs2.FileSystemException: Could not delete "C:\Users\Insookwa\AppData\Local\Temp\chromedriver.exe".
  58. at org.apache.commons.vfs2.provider.local.LocalFile.doDelete(LocalFile.java:126)
  59. at org.apache.commons.vfs2.provider.AbstractFileObject.deleteSelf(AbstractFileObject.java:837)
  60. ... 45 more
  61. Given User visits login page # org.openmrs.contrib.qaframework.automation.LoginSteps.visitLoginPage()
  62. io.cucumber.core.exception.CucumberException: Failed to instantiate class org.openmrs.contrib.qaframework.automation.LoginSteps
  63. at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:140)
  64. at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.getInstance(ObjectFactoryServiceLoader.java:124)
  65. at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
  66. at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
  67. at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
  68. at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
  69. at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
  70. at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:92)
  71. at io.cucumber.core.runner.TestStep.run(TestStep.java:64)
  72. at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
  73. at io.cucumber.core.runner.TestCase.run(TestCase.java:104)
  74. at io.cucumber.core.runner.Runner.runPickle(Runner.java:71)
  75. at io.cucumber.core.runtime.Runtime.lambda$execute$5(Runtime.java:110)
  76. at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:117)
  77. at io.cucumber.core.runtime.Runtime.lambda$execute$6(Runtime.java:110)
  78. at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
  79. at java.util.concurrent.FutureTask.run(Unknown Source)
  80. at io.cucumber.core.runtime.Runtime$SameThreadExecutorService.execute(Runtime.java:233)
  81. at java.util.concurrent.AbstractExecutorService.submit(Unknown Source)
  82. at io.cucumber.core.runtime.Runtime.lambda$run$2(Runtime.java:86)
  83. at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
  84. at java.util.stream.SliceOps$1$1.accept(Unknown Source)
  85. at java.util.ArrayList$ArrayListSpliterator.tryAdvance(Unknown Source)
  86. at java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
  87. at java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
  88. at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
  89. at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
  90. at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
  91. at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
  92. at java.util.stream.ReferencePipeline.collect(Unknown Source)
  93. at io.cucumber.core.runtime.Runtime.run(Runtime.java:87)
  94. at io.cucumber.core.cli.Main.run(Main.java:79)
  95. at cucumber.api.cli.Main.run(Main.java:30)
  96. at cucumber.api.cli.Main.main(Main.java:15)
  97. Caused by: java.lang.reflect.InvocationTargetException
  98. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  99. at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
  100. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
  101. at java.lang.reflect.Constructor.newInstance(Unknown Source)
  102. at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:132)
  103. ... 33 more
  104. Caused by: java.lang.AssertionError: cannot find chromedriver executable: org.apache.commons.vfs2.FileSystemException: Could not delete "file:///C:/Users/Insookwa/AppData/Local/Temp/chromedriver.exe".
  105. at org.junit.Assert.fail(Assert.java:89)
  106. at org.openmrs.uitestframework.test.TestBase.setupChromeDriver(TestBase.java:314)
  107. at org.openmrs.uitestframework.test.TestBase.launchBrowser(TestBase.java:174)
  108. at org.openmrs.uitestframework.test.TestBase.startWebDriver(TestBase.java:132)
  109. at org.openmrs.contrib.qaframework.automation.Steps.<init>(Steps.java:24)
  110. at org.openmrs.contrib.qaframework.automation.LoginSteps.<init>(LoginSteps.java:12)
  111. ... 38 more
  112.  
  113. When User enters "admin" username # org.openmrs.contrib.qaframework.automation.LoginSteps.anyUsername(java.lang.String)
  114. And User enters "wrongPas" password # org.openmrs.contrib.qaframework.automation.LoginSteps.anyPassword(java.lang.String)
  115. And User Selects "anyLocation" Login Location # org.openmrs.contrib.qaframework.automation.LoginSteps.selectLoginLocation(java.lang.String)
  116. And User Logs in # org.openmrs.contrib.qaframework.automation.LoginSteps.userLogsIn()
  117. Then System Evaluates Login "false" # org.openmrs.contrib.qaframework.automation.LoginSteps.evaluateLogin(java.lang.String)
  118.  
  119. @run
  120. Scenario Outline: Failing or Succeeding to Login # src/test/resources/features/login.feature:16
  121. Running locally...
  122. cannot find chromedriver executable: org.apache.commons.vfs2.FileSystemException: Could not delete "file:///C:/Users/Insookwa/AppData/Local/Temp/chromedriver.exe".
  123. org.apache.commons.vfs2.FileSystemException: Could not delete "file:///C:/Users/Insookwa/AppData/Local/Temp/chromedriver.exe".
  124. at org.apache.commons.vfs2.provider.AbstractFileObject.deleteSelf(AbstractFileObject.java:848)
  125. at org.apache.commons.vfs2.provider.AbstractFileObject.delete(AbstractFileObject.java:907)
  126. at org.apache.commons.vfs2.provider.AbstractFileObject.delete(AbstractFileObject.java:864)
  127. at org.openmrs.uitestframework.test.TestBase.setupChromeDriver(TestBase.java:304)
  128. at org.openmrs.uitestframework.test.TestBase.launchBrowser(TestBase.java:174)
  129. at org.openmrs.uitestframework.test.TestBase.startWebDriver(TestBase.java:132)
  130. at org.openmrs.contrib.qaframework.automation.Steps.<init>(Steps.java:24)
  131. at org.openmrs.contrib.qaframework.automation.LoginSteps.<init>(LoginSteps.java:12)
  132. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  133. at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
  134. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
  135. at java.lang.reflect.Constructor.newInstance(Unknown Source)
  136. at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:132)
  137. at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.getInstance(ObjectFactoryServiceLoader.java:124)
  138. at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
  139. at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
  140. at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
  141. at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
  142. at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
  143. at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:92)
  144. at io.cucumber.core.runner.TestStep.run(TestStep.java:64)
  145. at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
  146. at io.cucumber.core.runner.TestCase.run(TestCase.java:104)
  147. at io.cucumber.core.runner.Runner.runPickle(Runner.java:71)
  148. at io.cucumber.core.runtime.Runtime.lambda$execute$5(Runtime.java:110)
  149. at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:117)
  150. at io.cucumber.core.runtime.Runtime.lambda$execute$6(Runtime.java:110)
  151. at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
  152. at java.util.concurrent.FutureTask.run(Unknown Source)
  153. at io.cucumber.core.runtime.Runtime$SameThreadExecutorService.execute(Runtime.java:233)
  154. at java.util.concurrent.AbstractExecutorService.submit(Unknown Source)
  155. at io.cucumber.core.runtime.Runtime.lambda$run$2(Runtime.java:86)
  156. at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
  157. at java.util.stream.SliceOps$1$1.accept(Unknown Source)
  158. at java.util.ArrayList$ArrayListSpliterator.tryAdvance(Unknown Source)
  159. at java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
  160. at java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
  161. at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
  162. at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
  163. at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
  164. at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
  165. at java.util.stream.ReferencePipeline.collect(Unknown Source)
  166. at io.cucumber.core.runtime.Runtime.run(Runtime.java:87)
  167. at io.cucumber.core.cli.Main.run(Main.java:79)
  168. at cucumber.api.cli.Main.run(Main.java:30)
  169. at cucumber.api.cli.Main.main(Main.java:15)
  170. Caused by: org.apache.commons.vfs2.FileSystemException: Could not delete "C:\Users\Insookwa\AppData\Local\Temp\chromedriver.exe".
  171. at org.apache.commons.vfs2.provider.local.LocalFile.doDelete(LocalFile.java:126)
  172. at org.apache.commons.vfs2.provider.AbstractFileObject.deleteSelf(AbstractFileObject.java:837)
  173. ... 45 more
  174. Given User visits login page # org.openmrs.contrib.qaframework.automation.LoginSteps.visitLoginPage()
  175. io.cucumber.core.exception.CucumberException: Failed to instantiate class org.openmrs.contrib.qaframework.automation.LoginSteps
  176. at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:140)
  177. at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.getInstance(ObjectFactoryServiceLoader.java:124)
  178. at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
  179. at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
  180. at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
  181. at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
  182. at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
  183. at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:92)
  184. at io.cucumber.core.runner.TestStep.run(TestStep.java:64)
  185. at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
  186. at io.cucumber.core.runner.TestCase.run(TestCase.java:104)
  187. at io.cucumber.core.runner.Runner.runPickle(Runner.java:71)
  188. at io.cucumber.core.runtime.Runtime.lambda$execute$5(Runtime.java:110)
  189. at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:117)
  190. at io.cucumber.core.runtime.Runtime.lambda$execute$6(Runtime.java:110)
  191. at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
  192. at java.util.concurrent.FutureTask.run(Unknown Source)
  193. at io.cucumber.core.runtime.Runtime$SameThreadExecutorService.execute(Runtime.java:233)
  194. at java.util.concurrent.AbstractExecutorService.submit(Unknown Source)
  195. at io.cucumber.core.runtime.Runtime.lambda$run$2(Runtime.java:86)
  196. at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
  197. at java.util.stream.SliceOps$1$1.accept(Unknown Source)
  198. at java.util.ArrayList$ArrayListSpliterator.tryAdvance(Unknown Source)
  199. at java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
  200. at java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
  201. at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
  202. at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
  203. at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
  204. at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
  205. at java.util.stream.ReferencePipeline.collect(Unknown Source)
  206. at io.cucumber.core.runtime.Runtime.run(Runtime.java:87)
  207. at io.cucumber.core.cli.Main.run(Main.java:79)
  208. at cucumber.api.cli.Main.run(Main.java:30)
  209. at cucumber.api.cli.Main.main(Main.java:15)
  210. Caused by: java.lang.reflect.InvocationTargetException
  211. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  212. at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
  213. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
  214. at java.lang.reflect.Constructor.newInstance(Unknown Source)
  215. at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:132)
  216. ... 33 more
  217. Caused by: java.lang.AssertionError: cannot find chromedriver executable: org.apache.commons.vfs2.FileSystemException: Could not delete "file:///C:/Users/Insookwa/AppData/Local/Temp/chromedriver.exe".
  218. at org.junit.Assert.fail(Assert.java:89)
  219. at org.openmrs.uitestframework.test.TestBase.setupChromeDriver(TestBase.java:314)
  220. at org.openmrs.uitestframework.test.TestBase.launchBrowser(TestBase.java:174)
  221. at org.openmrs.uitestframework.test.TestBase.startWebDriver(TestBase.java:132)
  222. at org.openmrs.contrib.qaframework.automation.Steps.<init>(Steps.java:24)
  223. at org.openmrs.contrib.qaframework.automation.LoginSteps.<init>(LoginSteps.java:12)
  224. ... 38 more
  225.  
  226. When User enters "wrongUser" username # org.openmrs.contrib.qaframework.automation.LoginSteps.anyUsername(java.lang.String)
  227. And User enters "Admin123" password # org.openmrs.contrib.qaframework.automation.LoginSteps.anyPassword(java.lang.String)
  228. And User Selects "anyLocation" Login Location # org.openmrs.contrib.qaframework.automation.LoginSteps.selectLoginLocation(java.lang.String)
  229. And User Logs in # org.openmrs.contrib.qaframework.automation.LoginSteps.userLogsIn()
  230. Then System Evaluates Login "false" # org.openmrs.contrib.qaframework.automation.LoginSteps.evaluateLogin(java.lang.String)
  231.  
  232. @run
  233. Scenario Outline: Failing or Succeeding to Login # src/test/resources/features/login.feature:17
  234. Running locally...
  235. cannot find chromedriver executable: org.apache.commons.vfs2.FileSystemException: Could not delete "file:///C:/Users/Insookwa/AppData/Local/Temp/chromedriver.exe".
  236. org.apache.commons.vfs2.FileSystemException: Could not delete "file:///C:/Users/Insookwa/AppData/Local/Temp/chromedriver.exe".
  237. at org.apache.commons.vfs2.provider.AbstractFileObject.deleteSelf(AbstractFileObject.java:848)
  238. at org.apache.commons.vfs2.provider.AbstractFileObject.delete(AbstractFileObject.java:907)
  239. at org.apache.commons.vfs2.provider.AbstractFileObject.delete(AbstractFileObject.java:864)
  240. at org.openmrs.uitestframework.test.TestBase.setupChromeDriver(TestBase.java:304)
  241. at org.openmrs.uitestframework.test.TestBase.launchBrowser(TestBase.java:174)
  242. at org.openmrs.uitestframework.test.TestBase.startWebDriver(TestBase.java:132)
  243. at org.openmrs.contrib.qaframework.automation.Steps.<init>(Steps.java:24)
  244. at org.openmrs.contrib.qaframework.automation.LoginSteps.<init>(LoginSteps.java:12)
  245. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  246. at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
  247. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
  248. at java.lang.reflect.Constructor.newInstance(Unknown Source)
  249. at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:132)
  250. at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.getInstance(ObjectFactoryServiceLoader.java:124)
  251. at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
  252. at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
  253. at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
  254. at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
  255. at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
  256. at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:92)
  257. at io.cucumber.core.runner.TestStep.run(TestStep.java:64)
  258. at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
  259. at io.cucumber.core.runner.TestCase.run(TestCase.java:104)
  260. at io.cucumber.core.runner.Runner.runPickle(Runner.java:71)
  261. at io.cucumber.core.runtime.Runtime.lambda$execute$5(Runtime.java:110)
  262. at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:117)
  263. at io.cucumber.core.runtime.Runtime.lambda$execute$6(Runtime.java:110)
  264. at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
  265. at java.util.concurrent.FutureTask.run(Unknown Source)
  266. at io.cucumber.core.runtime.Runtime$SameThreadExecutorService.execute(Runtime.java:233)
  267. at java.util.concurrent.AbstractExecutorService.submit(Unknown Source)
  268. at io.cucumber.core.runtime.Runtime.lambda$run$2(Runtime.java:86)
  269. at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
  270. at java.util.stream.SliceOps$1$1.accept(Unknown Source)
  271. at java.util.ArrayList$ArrayListSpliterator.tryAdvance(Unknown Source)
  272. at java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
  273. at java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
  274. at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
  275. at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
  276. at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
  277. at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
  278. at java.util.stream.ReferencePipeline.collect(Unknown Source)
  279. at io.cucumber.core.runtime.Runtime.run(Runtime.java:87)
  280. at io.cucumber.core.cli.Main.run(Main.java:79)
  281. at cucumber.api.cli.Main.run(Main.java:30)
  282. at cucumber.api.cli.Main.main(Main.java:15)
  283. Caused by: org.apache.commons.vfs2.FileSystemException: Could not delete "C:\Users\Insookwa\AppData\Local\Temp\chromedriver.exe".
  284. at org.apache.commons.vfs2.provider.local.LocalFile.doDelete(LocalFile.java:126)
  285. at org.apache.commons.vfs2.provider.AbstractFileObject.deleteSelf(AbstractFileObject.java:837)
  286. ... 45 more
  287. Given User visits login page # org.openmrs.contrib.qaframework.automation.LoginSteps.visitLoginPage()
  288. io.cucumber.core.exception.CucumberException: Failed to instantiate class org.openmrs.contrib.qaframework.automation.LoginSteps
  289. at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:140)
  290. at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.getInstance(ObjectFactoryServiceLoader.java:124)
  291. at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
  292. at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
  293. at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
  294. at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
  295. at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
  296. at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:92)
  297. at io.cucumber.core.runner.TestStep.run(TestStep.java:64)
  298. at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
  299. at io.cucumber.core.runner.TestCase.run(TestCase.java:104)
  300. at io.cucumber.core.runner.Runner.runPickle(Runner.java:71)
  301. at io.cucumber.core.runtime.Runtime.lambda$execute$5(Runtime.java:110)
  302. at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:117)
  303. at io.cucumber.core.runtime.Runtime.lambda$execute$6(Runtime.java:110)
  304. at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
  305. at java.util.concurrent.FutureTask.run(Unknown Source)
  306. at io.cucumber.core.runtime.Runtime$SameThreadExecutorService.execute(Runtime.java:233)
  307. at java.util.concurrent.AbstractExecutorService.submit(Unknown Source)
  308. at io.cucumber.core.runtime.Runtime.lambda$run$2(Runtime.java:86)
  309. at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
  310. at java.util.stream.SliceOps$1$1.accept(Unknown Source)
  311. at java.util.ArrayList$ArrayListSpliterator.tryAdvance(Unknown Source)
  312. at java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
  313. at java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
  314. at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
  315. at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
  316. at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
  317. at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
  318. at java.util.stream.ReferencePipeline.collect(Unknown Source)
  319. at io.cucumber.core.runtime.Runtime.run(Runtime.java:87)
  320. at io.cucumber.core.cli.Main.run(Main.java:79)
  321. at cucumber.api.cli.Main.run(Main.java:30)
  322. at cucumber.api.cli.Main.main(Main.java:15)
  323. Caused by: java.lang.reflect.InvocationTargetException
  324. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  325. at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
  326. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
  327. at java.lang.reflect.Constructor.newInstance(Unknown Source)
  328. at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:132)
  329. ... 33 more
  330. Caused by: java.lang.AssertionError: cannot find chromedriver executable: org.apache.commons.vfs2.FileSystemException: Could not delete "file:///C:/Users/Insookwa/AppData/Local/Temp/chromedriver.exe".
  331. at org.junit.Assert.fail(Assert.java:89)
  332. at org.openmrs.uitestframework.test.TestBase.setupChromeDriver(TestBase.java:314)
  333. at org.openmrs.uitestframework.test.TestBase.launchBrowser(TestBase.java:174)
  334. at org.openmrs.uitestframework.test.TestBase.startWebDriver(TestBase.java:132)
  335. at org.openmrs.contrib.qaframework.automation.Steps.<init>(Steps.java:24)
  336. at org.openmrs.contrib.qaframework.automation.LoginSteps.<init>(LoginSteps.java:12)
  337. ... 38 more
  338.  
  339. When User enters "wrongUser" username # org.openmrs.contrib.qaframework.automation.LoginSteps.anyUsername(java.lang.String)
  340. And User enters "wrongPas" password # org.openmrs.contrib.qaframework.automation.LoginSteps.anyPassword(java.lang.String)
  341. And User Selects "anyLocation" Login Location # org.openmrs.contrib.qaframework.automation.LoginSteps.selectLoginLocation(java.lang.String)
  342. And User Logs in # org.openmrs.contrib.qaframework.automation.LoginSteps.userLogsIn()
  343. Then System Evaluates Login "false" # org.openmrs.contrib.qaframework.automation.LoginSteps.evaluateLogin(java.lang.String)
  344.  
  345. @run
  346. Scenario Outline: Failing or Succeeding to Login # src/test/resources/features/login.feature:18
  347. Running locally...
  348. cannot find chromedriver executable: org.apache.commons.vfs2.FileSystemException: Could not delete "file:///C:/Users/Insookwa/AppData/Local/Temp/chromedriver.exe".
  349. org.apache.commons.vfs2.FileSystemException: Could not delete "file:///C:/Users/Insookwa/AppData/Local/Temp/chromedriver.exe".
  350. at org.apache.commons.vfs2.provider.AbstractFileObject.deleteSelf(AbstractFileObject.java:848)
  351. at org.apache.commons.vfs2.provider.AbstractFileObject.delete(AbstractFileObject.java:907)
  352. at org.apache.commons.vfs2.provider.AbstractFileObject.delete(AbstractFileObject.java:864)
  353. at org.openmrs.uitestframework.test.TestBase.setupChromeDriver(TestBase.java:304)
  354. at org.openmrs.uitestframework.test.TestBase.launchBrowser(TestBase.java:174)
  355. at org.openmrs.uitestframework.test.TestBase.startWebDriver(TestBase.java:132)
  356. at org.openmrs.contrib.qaframework.automation.Steps.<init>(Steps.java:24)
  357. at org.openmrs.contrib.qaframework.automation.LoginSteps.<init>(LoginSteps.java:12)
  358. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  359. at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
  360. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
  361. at java.lang.reflect.Constructor.newInstance(Unknown Source)
  362. at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:132)
  363. at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.getInstance(ObjectFactoryServiceLoader.java:124)
  364. at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
  365. at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
  366. at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
  367. at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
  368. at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
  369. at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:92)
  370. at io.cucumber.core.runner.TestStep.run(TestStep.java:64)
  371. at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
  372. at io.cucumber.core.runner.TestCase.run(TestCase.java:104)
  373. at io.cucumber.core.runner.Runner.runPickle(Runner.java:71)
  374. at io.cucumber.core.runtime.Runtime.lambda$execute$5(Runtime.java:110)
  375. at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:117)
  376. at io.cucumber.core.runtime.Runtime.lambda$execute$6(Runtime.java:110)
  377. at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
  378. at java.util.concurrent.FutureTask.run(Unknown Source)
  379. at io.cucumber.core.runtime.Runtime$SameThreadExecutorService.execute(Runtime.java:233)
  380. at java.util.concurrent.AbstractExecutorService.submit(Unknown Source)
  381. at io.cucumber.core.runtime.Runtime.lambda$run$2(Runtime.java:86)
  382. at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
  383. at java.util.stream.SliceOps$1$1.accept(Unknown Source)
  384. at java.util.ArrayList$ArrayListSpliterator.tryAdvance(Unknown Source)
  385. at java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
  386. at java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
  387. at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
  388. at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
  389. at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
  390. at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
  391. at java.util.stream.ReferencePipeline.collect(Unknown Source)
  392. at io.cucumber.core.runtime.Runtime.run(Runtime.java:87)
  393. at io.cucumber.core.cli.Main.run(Main.java:79)
  394. at cucumber.api.cli.Main.run(Main.java:30)
  395. at cucumber.api.cli.Main.main(Main.java:15)
  396. Caused by: org.apache.commons.vfs2.FileSystemException: Could not delete "C:\Users\Insookwa\AppData\Local\Temp\chromedriver.exe".
  397. at org.apache.commons.vfs2.provider.local.LocalFile.doDelete(LocalFile.java:126)
  398. at org.apache.commons.vfs2.provider.AbstractFileObject.deleteSelf(AbstractFileObject.java:837)
  399. ... 45 more
  400. Given User visits login page # org.openmrs.contrib.qaframework.automation.LoginSteps.visitLoginPage()
  401. io.cucumber.core.exception.CucumberException: Failed to instantiate class org.openmrs.contrib.qaframework.automation.LoginSteps
  402. at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:140)
  403. at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.getInstance(ObjectFactoryServiceLoader.java:124)
  404. at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
  405. at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
  406. at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
  407. at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
  408. at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
  409. at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:92)
  410. at io.cucumber.core.runner.TestStep.run(TestStep.java:64)
  411. at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
  412. at io.cucumber.core.runner.TestCase.run(TestCase.java:104)
  413. at io.cucumber.core.runner.Runner.runPickle(Runner.java:71)
  414. at io.cucumber.core.runtime.Runtime.lambda$execute$5(Runtime.java:110)
  415. at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:117)
  416. at io.cucumber.core.runtime.Runtime.lambda$execute$6(Runtime.java:110)
  417. at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
  418. at java.util.concurrent.FutureTask.run(Unknown Source)
  419. at io.cucumber.core.runtime.Runtime$SameThreadExecutorService.execute(Runtime.java:233)
  420. at java.util.concurrent.AbstractExecutorService.submit(Unknown Source)
  421. at io.cucumber.core.runtime.Runtime.lambda$run$2(Runtime.java:86)
  422. at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
  423. at java.util.stream.SliceOps$1$1.accept(Unknown Source)
  424. at java.util.ArrayList$ArrayListSpliterator.tryAdvance(Unknown Source)
  425. at java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
  426. at java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
  427. at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
  428. at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
  429. at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
  430. at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
  431. at java.util.stream.ReferencePipeline.collect(Unknown Source)
  432. at io.cucumber.core.runtime.Runtime.run(Runtime.java:87)
  433. at io.cucumber.core.cli.Main.run(Main.java:79)
  434. at cucumber.api.cli.Main.run(Main.java:30)
  435. at cucumber.api.cli.Main.main(Main.java:15)
  436. Caused by: java.lang.reflect.InvocationTargetException
  437. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  438. at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
  439. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
  440. at java.lang.reflect.Constructor.newInstance(Unknown Source)
  441. at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:132)
  442. ... 33 more
  443. Caused by: java.lang.AssertionError: cannot find chromedriver executable: org.apache.commons.vfs2.FileSystemException: Could not delete "file:///C:/Users/Insookwa/AppData/Local/Temp/chromedriver.exe".
  444. at org.junit.Assert.fail(Assert.java:89)
  445. at org.openmrs.uitestframework.test.TestBase.setupChromeDriver(TestBase.java:314)
  446. at org.openmrs.uitestframework.test.TestBase.launchBrowser(TestBase.java:174)
  447. at org.openmrs.uitestframework.test.TestBase.startWebDriver(TestBase.java:132)
  448. at org.openmrs.contrib.qaframework.automation.Steps.<init>(Steps.java:24)
  449. at org.openmrs.contrib.qaframework.automation.LoginSteps.<init>(LoginSteps.java:12)
  450. ... 38 more
  451.  
  452. When User enters "admin" username # org.openmrs.contrib.qaframework.automation.LoginSteps.anyUsername(java.lang.String)
  453. And User enters "Admin123" password # org.openmrs.contrib.qaframework.automation.LoginSteps.anyPassword(java.lang.String)
  454. And User Selects "noLocation" Login Location # org.openmrs.contrib.qaframework.automation.LoginSteps.selectLoginLocation(java.lang.String)
  455. And User Logs in # org.openmrs.contrib.qaframework.automation.LoginSteps.userLogsIn()
  456. Then System Evaluates Login "false" # org.openmrs.contrib.qaframework.automation.LoginSteps.evaluateLogin(java.lang.String)
  457.  
  458. @run
  459. Scenario Outline: Failing or Succeeding to Login # src/test/resources/features/login.feature:19
  460. Running locally...
  461. cannot find chromedriver executable: org.apache.commons.vfs2.FileSystemException: Could not delete "file:///C:/Users/Insookwa/AppData/Local/Temp/chromedriver.exe".
  462. org.apache.commons.vfs2.FileSystemException: Could not delete "file:///C:/Users/Insookwa/AppData/Local/Temp/chromedriver.exe".
  463. at org.apache.commons.vfs2.provider.AbstractFileObject.deleteSelf(AbstractFileObject.java:848)
  464. at org.apache.commons.vfs2.provider.AbstractFileObject.delete(AbstractFileObject.java:907)
  465. at org.apache.commons.vfs2.provider.AbstractFileObject.delete(AbstractFileObject.java:864)
  466. at org.openmrs.uitestframework.test.TestBase.setupChromeDriver(TestBase.java:304)
  467. at org.openmrs.uitestframework.test.TestBase.launchBrowser(TestBase.java:174)
  468. at org.openmrs.uitestframework.test.TestBase.startWebDriver(TestBase.java:132)
  469. at org.openmrs.contrib.qaframework.automation.Steps.<init>(Steps.java:24)
  470. at org.openmrs.contrib.qaframework.automation.LoginSteps.<init>(LoginSteps.java:12)
  471. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  472. at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
  473. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
  474. at java.lang.reflect.Constructor.newInstance(Unknown Source)
  475. at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:132)
  476. at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.getInstance(ObjectFactoryServiceLoader.java:124)
  477. at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
  478. at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
  479. at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
  480. at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
  481. at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
  482. at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:92)
  483. at io.cucumber.core.runner.TestStep.run(TestStep.java:64)
  484. at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
  485. at io.cucumber.core.runner.TestCase.run(TestCase.java:104)
  486. at io.cucumber.core.runner.Runner.runPickle(Runner.java:71)
  487. at io.cucumber.core.runtime.Runtime.lambda$execute$5(Runtime.java:110)
  488. at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:117)
  489. at io.cucumber.core.runtime.Runtime.lambda$execute$6(Runtime.java:110)
  490. at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
  491. at java.util.concurrent.FutureTask.run(Unknown Source)
  492. at io.cucumber.core.runtime.Runtime$SameThreadExecutorService.execute(Runtime.java:233)
  493. at java.util.concurrent.AbstractExecutorService.submit(Unknown Source)
  494. at io.cucumber.core.runtime.Runtime.lambda$run$2(Runtime.java:86)
  495. at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
  496. at java.util.stream.SliceOps$1$1.accept(Unknown Source)
  497. at java.util.ArrayList$ArrayListSpliterator.tryAdvance(Unknown Source)
  498. at java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
  499. at java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
  500. at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
  501. at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
  502. at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
  503. at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
  504. at java.util.stream.ReferencePipeline.collect(Unknown Source)
  505. at io.cucumber.core.runtime.Runtime.run(Runtime.java:87)
  506. at io.cucumber.core.cli.Main.run(Main.java:79)
  507. at cucumber.api.cli.Main.run(Main.java:30)
  508. at cucumber.api.cli.Main.main(Main.java:15)
  509. Caused by: org.apache.commons.vfs2.FileSystemException: Could not delete "C:\Users\Insookwa\AppData\Local\Temp\chromedriver.exe".
  510. at org.apache.commons.vfs2.provider.local.LocalFile.doDelete(LocalFile.java:126)
  511. at org.apache.commons.vfs2.provider.AbstractFileObject.deleteSelf(AbstractFileObject.java:837)
  512. ... 45 more
  513. Given User visits login page # org.openmrs.contrib.qaframework.automation.LoginSteps.visitLoginPage()
  514. io.cucumber.core.exception.CucumberException: Failed to instantiate class org.openmrs.contrib.qaframework.automation.LoginSteps
  515. at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:140)
  516. at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.getInstance(ObjectFactoryServiceLoader.java:124)
  517. at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
  518. at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
  519. at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
  520. at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
  521. at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
  522. at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:92)
  523. at io.cucumber.core.runner.TestStep.run(TestStep.java:64)
  524. at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
  525. at io.cucumber.core.runner.TestCase.run(TestCase.java:104)
  526. at io.cucumber.core.runner.Runner.runPickle(Runner.java:71)
  527. at io.cucumber.core.runtime.Runtime.lambda$execute$5(Runtime.java:110)
  528. at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:117)
  529. at io.cucumber.core.runtime.Runtime.lambda$execute$6(Runtime.java:110)
  530. at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
  531. at java.util.concurrent.FutureTask.run(Unknown Source)
  532. at io.cucumber.core.runtime.Runtime$SameThreadExecutorService.execute(Runtime.java:233)
  533. at java.util.concurrent.AbstractExecutorService.submit(Unknown Source)
  534. at io.cucumber.core.runtime.Runtime.lambda$run$2(Runtime.java:86)
  535. at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
  536. at java.util.stream.SliceOps$1$1.accept(Unknown Source)
  537. at java.util.ArrayList$ArrayListSpliterator.tryAdvance(Unknown Source)
  538. at java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
  539. at java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
  540. at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
  541. at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
  542. at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
  543. at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
  544. at java.util.stream.ReferencePipeline.collect(Unknown Source)
  545. at io.cucumber.core.runtime.Runtime.run(Runtime.java:87)
  546. at io.cucumber.core.cli.Main.run(Main.java:79)
  547. at cucumber.api.cli.Main.run(Main.java:30)
  548. at cucumber.api.cli.Main.main(Main.java:15)
  549. Caused by: java.lang.reflect.InvocationTargetException
  550. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  551. at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
  552. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
  553. at java.lang.reflect.Constructor.newInstance(Unknown Source)
  554. at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:132)
  555. ... 33 more
  556. Caused by: java.lang.AssertionError: cannot find chromedriver executable: org.apache.commons.vfs2.FileSystemException: Could not delete "file:///C:/Users/Insookwa/AppData/Local/Temp/chromedriver.exe".
  557. at org.junit.Assert.fail(Assert.java:89)
  558. at org.openmrs.uitestframework.test.TestBase.setupChromeDriver(TestBase.java:314)
  559. at org.openmrs.uitestframework.test.TestBase.launchBrowser(TestBase.java:174)
  560. at org.openmrs.uitestframework.test.TestBase.startWebDriver(TestBase.java:132)
  561. at org.openmrs.contrib.qaframework.automation.Steps.<init>(Steps.java:24)
  562. at org.openmrs.contrib.qaframework.automation.LoginSteps.<init>(LoginSteps.java:12)
  563. ... 38 more
  564.  
  565. When User enters "setupUser" username # org.openmrs.contrib.qaframework.automation.LoginSteps.anyUsername(java.lang.String)
  566. And User enters "setupPass" password # org.openmrs.contrib.qaframework.automation.LoginSteps.anyPassword(java.lang.String)
  567. And User Selects "setupLocation" Login Location # org.openmrs.contrib.qaframework.automation.LoginSteps.selectLoginLocation(java.lang.String)
  568. And User Logs in # org.openmrs.contrib.qaframework.automation.LoginSteps.userLogsIn()
  569. Then System Evaluates Login "true" # org.openmrs.contrib.qaframework.automation.LoginSteps.evaluateLogin(java.lang.String)
  570.  
  571. @run
  572. Scenario: Right Login # src/test/resources/features/login.feature:22
  573. Running locally...
  574. cannot find chromedriver executable: org.apache.commons.vfs2.FileSystemException: Could not delete "file:///C:/Users/Insookwa/AppData/Local/Temp/chromedriver.exe".
  575. org.apache.commons.vfs2.FileSystemException: Could not delete "file:///C:/Users/Insookwa/AppData/Local/Temp/chromedriver.exe".
  576. at org.apache.commons.vfs2.provider.AbstractFileObject.deleteSelf(AbstractFileObject.java:848)
  577. at org.apache.commons.vfs2.provider.AbstractFileObject.delete(AbstractFileObject.java:907)
  578. at org.apache.commons.vfs2.provider.AbstractFileObject.delete(AbstractFileObject.java:864)
  579. at org.openmrs.uitestframework.test.TestBase.setupChromeDriver(TestBase.java:304)
  580. at org.openmrs.uitestframework.test.TestBase.launchBrowser(TestBase.java:174)
  581. at org.openmrs.uitestframework.test.TestBase.startWebDriver(TestBase.java:132)
  582. at org.openmrs.contrib.qaframework.automation.Steps.<init>(Steps.java:24)
  583. at org.openmrs.contrib.qaframework.automation.LoginSteps.<init>(LoginSteps.java:12)
  584. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  585. at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
  586. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
  587. at java.lang.reflect.Constructor.newInstance(Unknown Source)
  588. at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:132)
  589. at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.getInstance(ObjectFactoryServiceLoader.java:124)
  590. at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
  591. at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
  592. at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
  593. at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
  594. at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
  595. at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:92)
  596. at io.cucumber.core.runner.TestStep.run(TestStep.java:64)
  597. at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
  598. at io.cucumber.core.runner.TestCase.run(TestCase.java:104)
  599. at io.cucumber.core.runner.Runner.runPickle(Runner.java:71)
  600. at io.cucumber.core.runtime.Runtime.lambda$execute$5(Runtime.java:110)
  601. at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:117)
  602. at io.cucumber.core.runtime.Runtime.lambda$execute$6(Runtime.java:110)
  603. at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
  604. at java.util.concurrent.FutureTask.run(Unknown Source)
  605. at io.cucumber.core.runtime.Runtime$SameThreadExecutorService.execute(Runtime.java:233)
  606. at java.util.concurrent.AbstractExecutorService.submit(Unknown Source)
  607. at io.cucumber.core.runtime.Runtime.lambda$run$2(Runtime.java:86)
  608. at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
  609. at java.util.stream.SliceOps$1$1.accept(Unknown Source)
  610. at java.util.ArrayList$ArrayListSpliterator.tryAdvance(Unknown Source)
  611. at java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
  612. at java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
  613. at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
  614. at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
  615. at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
  616. at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
  617. at java.util.stream.ReferencePipeline.collect(Unknown Source)
  618. at io.cucumber.core.runtime.Runtime.run(Runtime.java:87)
  619. at io.cucumber.core.cli.Main.run(Main.java:79)
  620. at cucumber.api.cli.Main.run(Main.java:30)
  621. at cucumber.api.cli.Main.main(Main.java:15)
  622. Caused by: org.apache.commons.vfs2.FileSystemException: Could not delete "C:\Users\Insookwa\AppData\Local\Temp\chromedriver.exe".
  623. at org.apache.commons.vfs2.provider.local.LocalFile.doDelete(LocalFile.java:126)
  624. at org.apache.commons.vfs2.provider.AbstractFileObject.deleteSelf(AbstractFileObject.java:837)
  625. ... 45 more
  626. Given User visits login page # org.openmrs.contrib.qaframework.automation.LoginSteps.visitLoginPage()
  627. io.cucumber.core.exception.CucumberException: Failed to instantiate class org.openmrs.contrib.qaframework.automation.LoginSteps
  628. at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:140)
  629. at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.getInstance(ObjectFactoryServiceLoader.java:124)
  630. at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
  631. at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
  632. at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
  633. at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
  634. at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
  635. at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:92)
  636. at io.cucumber.core.runner.TestStep.run(TestStep.java:64)
  637. at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
  638. at io.cucumber.core.runner.TestCase.run(TestCase.java:104)
  639. at io.cucumber.core.runner.Runner.runPickle(Runner.java:71)
  640. at io.cucumber.core.runtime.Runtime.lambda$execute$5(Runtime.java:110)
  641. at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:117)
  642. at io.cucumber.core.runtime.Runtime.lambda$execute$6(Runtime.java:110)
  643. at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
  644. at java.util.concurrent.FutureTask.run(Unknown Source)
  645. at io.cucumber.core.runtime.Runtime$SameThreadExecutorService.execute(Runtime.java:233)
  646. at java.util.concurrent.AbstractExecutorService.submit(Unknown Source)
  647. at io.cucumber.core.runtime.Runtime.lambda$run$2(Runtime.java:86)
  648. at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
  649. at java.util.stream.SliceOps$1$1.accept(Unknown Source)
  650. at java.util.ArrayList$ArrayListSpliterator.tryAdvance(Unknown Source)
  651. at java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
  652. at java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
  653. at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
  654. at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
  655. at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
  656. at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
  657. at java.util.stream.ReferencePipeline.collect(Unknown Source)
  658. at io.cucumber.core.runtime.Runtime.run(Runtime.java:87)
  659. at io.cucumber.core.cli.Main.run(Main.java:79)
  660. at cucumber.api.cli.Main.run(Main.java:30)
  661. at cucumber.api.cli.Main.main(Main.java:15)
  662. Caused by: java.lang.reflect.InvocationTargetException
  663. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  664. at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
  665. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
  666. at java.lang.reflect.Constructor.newInstance(Unknown Source)
  667. at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:132)
  668. ... 33 more
  669. Caused by: java.lang.AssertionError: cannot find chromedriver executable: org.apache.commons.vfs2.FileSystemException: Could not delete "file:///C:/Users/Insookwa/AppData/Local/Temp/chromedriver.exe".
  670. at org.junit.Assert.fail(Assert.java:89)
  671. at org.openmrs.uitestframework.test.TestBase.setupChromeDriver(TestBase.java:314)
  672. at org.openmrs.uitestframework.test.TestBase.launchBrowser(TestBase.java:174)
  673. at org.openmrs.uitestframework.test.TestBase.startWebDriver(TestBase.java:132)
  674. at org.openmrs.contrib.qaframework.automation.Steps.<init>(Steps.java:24)
  675. at org.openmrs.contrib.qaframework.automation.LoginSteps.<init>(LoginSteps.java:12)
  676. ... 38 more
  677.  
  678. When Setup user rightly logs in # org.openmrs.contrib.qaframework.automation.LoginSteps.setupRightLogin()
  679. Then System logs in user # org.openmrs.contrib.qaframework.automation.LoginSteps.evaluateLogin()
  680.  
  681. Failed scenarios:
  682. file:///C:/Users/Insookwa/openmrs-contrib-qaframework/src/test/resources/features/login.feature:15# Failing or Succeeding to Login
  683. file:///C:/Users/Insookwa/openmrs-contrib-qaframework/src/test/resources/features/login.feature:16# Failing or Succeeding to Login
  684. file:///C:/Users/Insookwa/openmrs-contrib-qaframework/src/test/resources/features/login.feature:17# Failing or Succeeding to Login
  685. file:///C:/Users/Insookwa/openmrs-contrib-qaframework/src/test/resources/features/login.feature:18# Failing or Succeeding to Login
  686. file:///C:/Users/Insookwa/openmrs-contrib-qaframework/src/test/resources/features/login.feature:19# Failing or Succeeding to Login
  687. file:///C:/Users/Insookwa/openmrs-contrib-qaframework/src/test/resources/features/login.feature:22# Right Login
  688.  
  689. 6 Scenarios (6 failed)
  690. 33 Steps (6 failed, 27 skipped)
  691. 0m4.901s
  692.  
  693.  
  694. io.cucumber.core.exception.CucumberException: Failed to instantiate class org.openmrs.contrib.qaframework.automation.LoginSteps
  695. at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:140)
  696. at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.getInstance(ObjectFactoryServiceLoader.java:124)
  697. at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
  698. at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
  699. at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
  700. at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
  701. at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
  702. at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:92)
  703. at io.cucumber.core.runner.TestStep.run(TestStep.java:64)
  704. at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
  705. at io.cucumber.core.runner.TestCase.run(TestCase.java:104)
  706. at io.cucumber.core.runner.Runner.runPickle(Runner.java:71)
  707. at io.cucumber.core.runtime.Runtime.lambda$execute$5(Runtime.java:110)
  708. at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:117)
  709. at io.cucumber.core.runtime.Runtime.lambda$execute$6(Runtime.java:110)
  710. at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
  711. at java.util.concurrent.FutureTask.run(Unknown Source)
  712. at io.cucumber.core.runtime.Runtime$SameThreadExecutorService.execute(Runtime.java:233)
  713. at java.util.concurrent.AbstractExecutorService.submit(Unknown Source)
  714. at io.cucumber.core.runtime.Runtime.lambda$run$2(Runtime.java:86)
  715. at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
  716. at java.util.stream.SliceOps$1$1.accept(Unknown Source)
  717. at java.util.ArrayList$ArrayListSpliterator.tryAdvance(Unknown Source)
  718. at java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
  719. at java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
  720. at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
  721. at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
  722. at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
  723. at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
  724. at java.util.stream.ReferencePipeline.collect(Unknown Source)
  725. at io.cucumber.core.runtime.Runtime.run(Runtime.java:87)
  726. at io.cucumber.core.cli.Main.run(Main.java:79)
  727. at cucumber.api.cli.Main.run(Main.java:30)
  728. at cucumber.api.cli.Main.main(Main.java:15)
  729. Caused by: java.lang.reflect.InvocationTargetException
  730. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  731. at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
  732. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
  733. at java.lang.reflect.Constructor.newInstance(Unknown Source)
  734. at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:132)
  735. ... 33 more
  736. Caused by: java.lang.AssertionError: cannot find chromedriver executable: org.apache.commons.vfs2.FileSystemException: Could not delete "file:///C:/Users/Insookwa/AppData/Local/Temp/chromedriver.exe".
  737. at org.junit.Assert.fail(Assert.java:89)
  738. at org.openmrs.uitestframework.test.TestBase.setupChromeDriver(TestBase.java:314)
  739. at org.openmrs.uitestframework.test.TestBase.launchBrowser(TestBase.java:174)
  740. at org.openmrs.uitestframework.test.TestBase.startWebDriver(TestBase.java:132)
  741. at org.openmrs.contrib.qaframework.automation.Steps.<init>(Steps.java:24)
  742. at org.openmrs.contrib.qaframework.automation.LoginSteps.<init>(LoginSteps.java:12)
  743. ... 38 more
  744.  
  745. io.cucumber.core.exception.CucumberException: Failed to instantiate class org.openmrs.contrib.qaframework.automation.LoginSteps
  746. at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:140)
  747. at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.getInstance(ObjectFactoryServiceLoader.java:124)
  748. at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
  749. at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
  750. at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
  751. at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
  752. at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
  753. at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:92)
  754. at io.cucumber.core.runner.TestStep.run(TestStep.java:64)
  755. at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
  756. at io.cucumber.core.runner.TestCase.run(TestCase.java:104)
  757. at io.cucumber.core.runner.Runner.runPickle(Runner.java:71)
  758. at io.cucumber.core.runtime.Runtime.lambda$execute$5(Runtime.java:110)
  759. at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:117)
  760. at io.cucumber.core.runtime.Runtime.lambda$execute$6(Runtime.java:110)
  761. at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
  762. at java.util.concurrent.FutureTask.run(Unknown Source)
  763. at io.cucumber.core.runtime.Runtime$SameThreadExecutorService.execute(Runtime.java:233)
  764. at java.util.concurrent.AbstractExecutorService.submit(Unknown Source)
  765. at io.cucumber.core.runtime.Runtime.lambda$run$2(Runtime.java:86)
  766. at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
  767. at java.util.stream.SliceOps$1$1.accept(Unknown Source)
  768. at java.util.ArrayList$ArrayListSpliterator.tryAdvance(Unknown Source)
  769. at java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
  770. at java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
  771. at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
  772. at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
  773. at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
  774. at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
  775. at java.util.stream.ReferencePipeline.collect(Unknown Source)
  776. at io.cucumber.core.runtime.Runtime.run(Runtime.java:87)
  777. at io.cucumber.core.cli.Main.run(Main.java:79)
  778. at cucumber.api.cli.Main.run(Main.java:30)
  779. at cucumber.api.cli.Main.main(Main.java:15)
  780. Caused by: java.lang.reflect.InvocationTargetException
  781. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  782. at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
  783. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
  784. at java.lang.reflect.Constructor.newInstance(Unknown Source)
  785. at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:132)
  786. ... 33 more
  787. Caused by: java.lang.AssertionError: cannot find chromedriver executable: org.apache.commons.vfs2.FileSystemException: Could not delete "file:///C:/Users/Insookwa/AppData/Local/Temp/chromedriver.exe".
  788. at org.junit.Assert.fail(Assert.java:89)
  789. at org.openmrs.uitestframework.test.TestBase.setupChromeDriver(TestBase.java:314)
  790. at org.openmrs.uitestframework.test.TestBase.launchBrowser(TestBase.java:174)
  791. at org.openmrs.uitestframework.test.TestBase.startWebDriver(TestBase.java:132)
  792. at org.openmrs.contrib.qaframework.automation.Steps.<init>(Steps.java:24)
  793. at org.openmrs.contrib.qaframework.automation.LoginSteps.<init>(LoginSteps.java:12)
  794. ... 38 more
  795.  
  796. io.cucumber.core.exception.CucumberException: Failed to instantiate class org.openmrs.contrib.qaframework.automation.LoginSteps
  797. at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:140)
  798. at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.getInstance(ObjectFactoryServiceLoader.java:124)
  799. at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
  800. at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
  801. at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
  802. at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
  803. at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
  804. at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:92)
  805. at io.cucumber.core.runner.TestStep.run(TestStep.java:64)
  806. at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
  807. at io.cucumber.core.runner.TestCase.run(TestCase.java:104)
  808. at io.cucumber.core.runner.Runner.runPickle(Runner.java:71)
  809. at io.cucumber.core.runtime.Runtime.lambda$execute$5(Runtime.java:110)
  810. at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:117)
  811. at io.cucumber.core.runtime.Runtime.lambda$execute$6(Runtime.java:110)
  812. at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
  813. at java.util.concurrent.FutureTask.run(Unknown Source)
  814. at io.cucumber.core.runtime.Runtime$SameThreadExecutorService.execute(Runtime.java:233)
  815. at java.util.concurrent.AbstractExecutorService.submit(Unknown Source)
  816. at io.cucumber.core.runtime.Runtime.lambda$run$2(Runtime.java:86)
  817. at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
  818. at java.util.stream.SliceOps$1$1.accept(Unknown Source)
  819. at java.util.ArrayList$ArrayListSpliterator.tryAdvance(Unknown Source)
  820. at java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
  821. at java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
  822. at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
  823. at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
  824. at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
  825. at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
  826. at java.util.stream.ReferencePipeline.collect(Unknown Source)
  827. at io.cucumber.core.runtime.Runtime.run(Runtime.java:87)
  828. at io.cucumber.core.cli.Main.run(Main.java:79)
  829. at cucumber.api.cli.Main.run(Main.java:30)
  830. at cucumber.api.cli.Main.main(Main.java:15)
  831. Caused by: java.lang.reflect.InvocationTargetException
  832. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  833. at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
  834. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
  835. at java.lang.reflect.Constructor.newInstance(Unknown Source)
  836. at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:132)
  837. ... 33 more
  838. Caused by: java.lang.AssertionError: cannot find chromedriver executable: org.apache.commons.vfs2.FileSystemException: Could not delete "file:///C:/Users/Insookwa/AppData/Local/Temp/chromedriver.exe".
  839. at org.junit.Assert.fail(Assert.java:89)
  840. at org.openmrs.uitestframework.test.TestBase.setupChromeDriver(TestBase.java:314)
  841. at org.openmrs.uitestframework.test.TestBase.launchBrowser(TestBase.java:174)
  842. at org.openmrs.uitestframework.test.TestBase.startWebDriver(TestBase.java:132)
  843. at org.openmrs.contrib.qaframework.automation.Steps.<init>(Steps.java:24)
  844. at org.openmrs.contrib.qaframework.automation.LoginSteps.<init>(LoginSteps.java:12)
  845. ... 38 more
  846.  
  847. io.cucumber.core.exception.CucumberException: Failed to instantiate class org.openmrs.contrib.qaframework.automation.LoginSteps
  848. at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:140)
  849. at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.getInstance(ObjectFactoryServiceLoader.java:124)
  850. at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
  851. at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
  852. at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
  853. at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
  854. at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
  855. at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:92)
  856. at io.cucumber.core.runner.TestStep.run(TestStep.java:64)
  857. at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
  858. at io.cucumber.core.runner.TestCase.run(TestCase.java:104)
  859. at io.cucumber.core.runner.Runner.runPickle(Runner.java:71)
  860. at io.cucumber.core.runtime.Runtime.lambda$execute$5(Runtime.java:110)
  861. at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:117)
  862. at io.cucumber.core.runtime.Runtime.lambda$execute$6(Runtime.java:110)
  863. at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
  864. at java.util.concurrent.FutureTask.run(Unknown Source)
  865. at io.cucumber.core.runtime.Runtime$SameThreadExecutorService.execute(Runtime.java:233)
  866. at java.util.concurrent.AbstractExecutorService.submit(Unknown Source)
  867. at io.cucumber.core.runtime.Runtime.lambda$run$2(Runtime.java:86)
  868. at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
  869. at java.util.stream.SliceOps$1$1.accept(Unknown Source)
  870. at java.util.ArrayList$ArrayListSpliterator.tryAdvance(Unknown Source)
  871. at java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
  872. at java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
  873. at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
  874. at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
  875. at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
  876. at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
  877. at java.util.stream.ReferencePipeline.collect(Unknown Source)
  878. at io.cucumber.core.runtime.Runtime.run(Runtime.java:87)
  879. at io.cucumber.core.cli.Main.run(Main.java:79)
  880. at cucumber.api.cli.Main.run(Main.java:30)
  881. at cucumber.api.cli.Main.main(Main.java:15)
  882. Caused by: java.lang.reflect.InvocationTargetException
  883. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  884. at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
  885. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
  886. at java.lang.reflect.Constructor.newInstance(Unknown Source)
  887. at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:132)
  888. ... 33 more
  889. Caused by: java.lang.AssertionError: cannot find chromedriver executable: org.apache.commons.vfs2.FileSystemException: Could not delete "file:///C:/Users/Insookwa/AppData/Local/Temp/chromedriver.exe".
  890. at org.junit.Assert.fail(Assert.java:89)
  891. at org.openmrs.uitestframework.test.TestBase.setupChromeDriver(TestBase.java:314)
  892. at org.openmrs.uitestframework.test.TestBase.launchBrowser(TestBase.java:174)
  893. at org.openmrs.uitestframework.test.TestBase.startWebDriver(TestBase.java:132)
  894. at org.openmrs.contrib.qaframework.automation.Steps.<init>(Steps.java:24)
  895. at org.openmrs.contrib.qaframework.automation.LoginSteps.<init>(LoginSteps.java:12)
  896. ... 38 more
  897.  
  898. io.cucumber.core.exception.CucumberException: Failed to instantiate class org.openmrs.contrib.qaframework.automation.LoginSteps
  899. at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:140)
  900. at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.getInstance(ObjectFactoryServiceLoader.java:124)
  901. at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
  902. at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
  903. at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
  904. at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
  905. at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
  906. at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:92)
  907. at io.cucumber.core.runner.TestStep.run(TestStep.java:64)
  908. at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
  909. at io.cucumber.core.runner.TestCase.run(TestCase.java:104)
  910. at io.cucumber.core.runner.Runner.runPickle(Runner.java:71)
  911. at io.cucumber.core.runtime.Runtime.lambda$execute$5(Runtime.java:110)
  912. at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:117)
  913. at io.cucumber.core.runtime.Runtime.lambda$execute$6(Runtime.java:110)
  914. at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
  915. at java.util.concurrent.FutureTask.run(Unknown Source)
  916. at io.cucumber.core.runtime.Runtime$SameThreadExecutorService.execute(Runtime.java:233)
  917. at java.util.concurrent.AbstractExecutorService.submit(Unknown Source)
  918. at io.cucumber.core.runtime.Runtime.lambda$run$2(Runtime.java:86)
  919. at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
  920. at java.util.stream.SliceOps$1$1.accept(Unknown Source)
  921. at java.util.ArrayList$ArrayListSpliterator.tryAdvance(Unknown Source)
  922. at java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
  923. at java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
  924. at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
  925. at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
  926. at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
  927. at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
  928. at java.util.stream.ReferencePipeline.collect(Unknown Source)
  929. at io.cucumber.core.runtime.Runtime.run(Runtime.java:87)
  930. at io.cucumber.core.cli.Main.run(Main.java:79)
  931. at cucumber.api.cli.Main.run(Main.java:30)
  932. at cucumber.api.cli.Main.main(Main.java:15)
  933. Caused by: java.lang.reflect.InvocationTargetException
  934. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  935. at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
  936. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
  937. at java.lang.reflect.Constructor.newInstance(Unknown Source)
  938. at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:132)
  939. ... 33 more
  940. Caused by: java.lang.AssertionError: cannot find chromedriver executable: org.apache.commons.vfs2.FileSystemException: Could not delete "file:///C:/Users/Insookwa/AppData/Local/Temp/chromedriver.exe".
  941. at org.junit.Assert.fail(Assert.java:89)
  942. at org.openmrs.uitestframework.test.TestBase.setupChromeDriver(TestBase.java:314)
  943. at org.openmrs.uitestframework.test.TestBase.launchBrowser(TestBase.java:174)
  944. at org.openmrs.uitestframework.test.TestBase.startWebDriver(TestBase.java:132)
  945. at org.openmrs.contrib.qaframework.automation.Steps.<init>(Steps.java:24)
  946. at org.openmrs.contrib.qaframework.automation.LoginSteps.<init>(LoginSteps.java:12)
  947. ... 38 more
  948.  
  949. io.cucumber.core.exception.CucumberException: Failed to instantiate class org.openmrs.contrib.qaframework.automation.LoginSteps
  950. at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:140)
  951. at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.getInstance(ObjectFactoryServiceLoader.java:124)
  952. at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
  953. at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
  954. at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
  955. at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
  956. at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
  957. at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:92)
  958. at io.cucumber.core.runner.TestStep.run(TestStep.java:64)
  959. at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
  960. at io.cucumber.core.runner.TestCase.run(TestCase.java:104)
  961. at io.cucumber.core.runner.Runner.runPickle(Runner.java:71)
  962. at io.cucumber.core.runtime.Runtime.lambda$execute$5(Runtime.java:110)
  963. at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:117)
  964. at io.cucumber.core.runtime.Runtime.lambda$execute$6(Runtime.java:110)
  965. at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
  966. at java.util.concurrent.FutureTask.run(Unknown Source)
  967. at io.cucumber.core.runtime.Runtime$SameThreadExecutorService.execute(Runtime.java:233)
  968. at java.util.concurrent.AbstractExecutorService.submit(Unknown Source)
  969. at io.cucumber.core.runtime.Runtime.lambda$run$2(Runtime.java:86)
  970. at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
  971. at java.util.stream.SliceOps$1$1.accept(Unknown Source)
  972. at java.util.ArrayList$ArrayListSpliterator.tryAdvance(Unknown Source)
  973. at java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
  974. at java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
  975. at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
  976. at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
  977. at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
  978. at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
  979. at java.util.stream.ReferencePipeline.collect(Unknown Source)
  980. at io.cucumber.core.runtime.Runtime.run(Runtime.java:87)
  981. at io.cucumber.core.cli.Main.run(Main.java:79)
  982. at cucumber.api.cli.Main.run(Main.java:30)
  983. at cucumber.api.cli.Main.main(Main.java:15)
  984. Caused by: java.lang.reflect.InvocationTargetException
  985. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  986. at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
  987. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
  988. at java.lang.reflect.Constructor.newInstance(Unknown Source)
  989. at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:132)
  990. ... 33 more
  991. Caused by: java.lang.AssertionError: cannot find chromedriver executable: org.apache.commons.vfs2.FileSystemException: Could not delete "file:///C:/Users/Insookwa/AppData/Local/Temp/chromedriver.exe".
  992. at org.junit.Assert.fail(Assert.java:89)
  993. at org.openmrs.uitestframework.test.TestBase.setupChromeDriver(TestBase.java:314)
  994. at org.openmrs.uitestframework.test.TestBase.launchBrowser(TestBase.java:174)
  995. at org.openmrs.uitestframework.test.TestBase.startWebDriver(TestBase.java:132)
  996. at org.openmrs.contrib.qaframework.automation.Steps.<init>(Steps.java:24)
  997. at org.openmrs.contrib.qaframework.automation.LoginSteps.<init>(LoginSteps.java:12)
  998. ... 38 more
  999.  
  1000.  
  1001. ???????????????????????????????????????????????????????????????????????????????
  1002. ? Share your Cucumber Report with your team at https://reports.cucumber.io ?
  1003. ? Activate publishing with one of the following: ?
  1004. ? ?
  1005. ? src/test/resources/cucumber.properties: cucumber.publish.enabled=true ?
  1006. ? Environment variable: CUCUMBER_PUBLISH_ENABLED=true ?
  1007. ? JUnit: @CucumberOptions(publish = true) ?
  1008. ? ?
  1009. ? More information at https://reports.cucumber.io/docs/cucumber-jvm ?
  1010. ? ?
  1011. ? To disable this message, add cucumber.publish.quiet=true to ?
  1012. ? src/test/resources/cucumber.properties ?
  1013. ???????????????????????????????????????????????????????????????????????????????
  1014.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement