Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Oct 08, 2020 9:22:44 PM cucumber.api.cli.Main run
- WARNING: You are using deprecated Main class. Please use io.cucumber.core.cli.Main
- @run
- Scenario Outline: Failing or Succeeding to Login # src/test/resources/features/login.feature:15
- Running locally...
- log4j:WARN No appenders could be found for logger (org.apache.commons.vfs2.impl.StandardFileSystemManager).
- log4j:WARN Please initialize the log4j system properly.
- cannot find chromedriver executable: org.apache.commons.vfs2.FileSystemException: Could not delete "file:///C:/Users/Insookwa/AppData/Local/Temp/chromedriver.exe".
- org.apache.commons.vfs2.FileSystemException: Could not delete "file:///C:/Users/Insookwa/AppData/Local/Temp/chromedriver.exe".
- at org.apache.commons.vfs2.provider.AbstractFileObject.deleteSelf(AbstractFileObject.java:848)
- at org.apache.commons.vfs2.provider.AbstractFileObject.delete(AbstractFileObject.java:907)
- at org.apache.commons.vfs2.provider.AbstractFileObject.delete(AbstractFileObject.java:864)
- at org.openmrs.uitestframework.test.TestBase.setupChromeDriver(TestBase.java:304)
- at org.openmrs.uitestframework.test.TestBase.launchBrowser(TestBase.java:174)
- at org.openmrs.uitestframework.test.TestBase.startWebDriver(TestBase.java:132)
- at org.openmrs.contrib.qaframework.automation.Steps.<init>(Steps.java:24)
- at org.openmrs.contrib.qaframework.automation.LoginSteps.<init>(LoginSteps.java:12)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
- at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
- at java.lang.reflect.Constructor.newInstance(Unknown Source)
- at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:132)
- at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.getInstance(ObjectFactoryServiceLoader.java:124)
- at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
- at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
- at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
- at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
- at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
- at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:92)
- at io.cucumber.core.runner.TestStep.run(TestStep.java:64)
- at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
- at io.cucumber.core.runner.TestCase.run(TestCase.java:104)
- at io.cucumber.core.runner.Runner.runPickle(Runner.java:71)
- at io.cucumber.core.runtime.Runtime.lambda$execute$5(Runtime.java:110)
- at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:117)
- at io.cucumber.core.runtime.Runtime.lambda$execute$6(Runtime.java:110)
- at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
- at java.util.concurrent.FutureTask.run(Unknown Source)
- at io.cucumber.core.runtime.Runtime$SameThreadExecutorService.execute(Runtime.java:233)
- at java.util.concurrent.AbstractExecutorService.submit(Unknown Source)
- at io.cucumber.core.runtime.Runtime.lambda$run$2(Runtime.java:86)
- at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
- at java.util.stream.SliceOps$1$1.accept(Unknown Source)
- at java.util.ArrayList$ArrayListSpliterator.tryAdvance(Unknown Source)
- at java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
- at java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
- at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
- at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
- at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
- at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
- at java.util.stream.ReferencePipeline.collect(Unknown Source)
- at io.cucumber.core.runtime.Runtime.run(Runtime.java:87)
- at io.cucumber.core.cli.Main.run(Main.java:79)
- at cucumber.api.cli.Main.run(Main.java:30)
- at cucumber.api.cli.Main.main(Main.java:15)
- Caused by: org.apache.commons.vfs2.FileSystemException: Could not delete "C:\Users\Insookwa\AppData\Local\Temp\chromedriver.exe".
- at org.apache.commons.vfs2.provider.local.LocalFile.doDelete(LocalFile.java:126)
- at org.apache.commons.vfs2.provider.AbstractFileObject.deleteSelf(AbstractFileObject.java:837)
- ... 45 more
- Given User visits login page # org.openmrs.contrib.qaframework.automation.LoginSteps.visitLoginPage()
- io.cucumber.core.exception.CucumberException: Failed to instantiate class org.openmrs.contrib.qaframework.automation.LoginSteps
- at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:140)
- at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.getInstance(ObjectFactoryServiceLoader.java:124)
- at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
- at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
- at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
- at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
- at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
- at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:92)
- at io.cucumber.core.runner.TestStep.run(TestStep.java:64)
- at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
- at io.cucumber.core.runner.TestCase.run(TestCase.java:104)
- at io.cucumber.core.runner.Runner.runPickle(Runner.java:71)
- at io.cucumber.core.runtime.Runtime.lambda$execute$5(Runtime.java:110)
- at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:117)
- at io.cucumber.core.runtime.Runtime.lambda$execute$6(Runtime.java:110)
- at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
- at java.util.concurrent.FutureTask.run(Unknown Source)
- at io.cucumber.core.runtime.Runtime$SameThreadExecutorService.execute(Runtime.java:233)
- at java.util.concurrent.AbstractExecutorService.submit(Unknown Source)
- at io.cucumber.core.runtime.Runtime.lambda$run$2(Runtime.java:86)
- at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
- at java.util.stream.SliceOps$1$1.accept(Unknown Source)
- at java.util.ArrayList$ArrayListSpliterator.tryAdvance(Unknown Source)
- at java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
- at java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
- at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
- at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
- at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
- at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
- at java.util.stream.ReferencePipeline.collect(Unknown Source)
- at io.cucumber.core.runtime.Runtime.run(Runtime.java:87)
- at io.cucumber.core.cli.Main.run(Main.java:79)
- at cucumber.api.cli.Main.run(Main.java:30)
- at cucumber.api.cli.Main.main(Main.java:15)
- Caused by: java.lang.reflect.InvocationTargetException
- at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
- at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
- at java.lang.reflect.Constructor.newInstance(Unknown Source)
- at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:132)
- ... 33 more
- 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".
- at org.junit.Assert.fail(Assert.java:89)
- at org.openmrs.uitestframework.test.TestBase.setupChromeDriver(TestBase.java:314)
- at org.openmrs.uitestframework.test.TestBase.launchBrowser(TestBase.java:174)
- at org.openmrs.uitestframework.test.TestBase.startWebDriver(TestBase.java:132)
- at org.openmrs.contrib.qaframework.automation.Steps.<init>(Steps.java:24)
- at org.openmrs.contrib.qaframework.automation.LoginSteps.<init>(LoginSteps.java:12)
- ... 38 more
- When User enters "admin" username # org.openmrs.contrib.qaframework.automation.LoginSteps.anyUsername(java.lang.String)
- And User enters "wrongPas" password # org.openmrs.contrib.qaframework.automation.LoginSteps.anyPassword(java.lang.String)
- And User Selects "anyLocation" Login Location # org.openmrs.contrib.qaframework.automation.LoginSteps.selectLoginLocation(java.lang.String)
- And User Logs in # org.openmrs.contrib.qaframework.automation.LoginSteps.userLogsIn()
- Then System Evaluates Login "false" # org.openmrs.contrib.qaframework.automation.LoginSteps.evaluateLogin(java.lang.String)
- @run
- Scenario Outline: Failing or Succeeding to Login # src/test/resources/features/login.feature:16
- Running locally...
- cannot find chromedriver executable: org.apache.commons.vfs2.FileSystemException: Could not delete "file:///C:/Users/Insookwa/AppData/Local/Temp/chromedriver.exe".
- org.apache.commons.vfs2.FileSystemException: Could not delete "file:///C:/Users/Insookwa/AppData/Local/Temp/chromedriver.exe".
- at org.apache.commons.vfs2.provider.AbstractFileObject.deleteSelf(AbstractFileObject.java:848)
- at org.apache.commons.vfs2.provider.AbstractFileObject.delete(AbstractFileObject.java:907)
- at org.apache.commons.vfs2.provider.AbstractFileObject.delete(AbstractFileObject.java:864)
- at org.openmrs.uitestframework.test.TestBase.setupChromeDriver(TestBase.java:304)
- at org.openmrs.uitestframework.test.TestBase.launchBrowser(TestBase.java:174)
- at org.openmrs.uitestframework.test.TestBase.startWebDriver(TestBase.java:132)
- at org.openmrs.contrib.qaframework.automation.Steps.<init>(Steps.java:24)
- at org.openmrs.contrib.qaframework.automation.LoginSteps.<init>(LoginSteps.java:12)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
- at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
- at java.lang.reflect.Constructor.newInstance(Unknown Source)
- at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:132)
- at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.getInstance(ObjectFactoryServiceLoader.java:124)
- at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
- at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
- at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
- at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
- at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
- at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:92)
- at io.cucumber.core.runner.TestStep.run(TestStep.java:64)
- at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
- at io.cucumber.core.runner.TestCase.run(TestCase.java:104)
- at io.cucumber.core.runner.Runner.runPickle(Runner.java:71)
- at io.cucumber.core.runtime.Runtime.lambda$execute$5(Runtime.java:110)
- at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:117)
- at io.cucumber.core.runtime.Runtime.lambda$execute$6(Runtime.java:110)
- at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
- at java.util.concurrent.FutureTask.run(Unknown Source)
- at io.cucumber.core.runtime.Runtime$SameThreadExecutorService.execute(Runtime.java:233)
- at java.util.concurrent.AbstractExecutorService.submit(Unknown Source)
- at io.cucumber.core.runtime.Runtime.lambda$run$2(Runtime.java:86)
- at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
- at java.util.stream.SliceOps$1$1.accept(Unknown Source)
- at java.util.ArrayList$ArrayListSpliterator.tryAdvance(Unknown Source)
- at java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
- at java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
- at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
- at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
- at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
- at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
- at java.util.stream.ReferencePipeline.collect(Unknown Source)
- at io.cucumber.core.runtime.Runtime.run(Runtime.java:87)
- at io.cucumber.core.cli.Main.run(Main.java:79)
- at cucumber.api.cli.Main.run(Main.java:30)
- at cucumber.api.cli.Main.main(Main.java:15)
- Caused by: org.apache.commons.vfs2.FileSystemException: Could not delete "C:\Users\Insookwa\AppData\Local\Temp\chromedriver.exe".
- at org.apache.commons.vfs2.provider.local.LocalFile.doDelete(LocalFile.java:126)
- at org.apache.commons.vfs2.provider.AbstractFileObject.deleteSelf(AbstractFileObject.java:837)
- ... 45 more
- Given User visits login page # org.openmrs.contrib.qaframework.automation.LoginSteps.visitLoginPage()
- io.cucumber.core.exception.CucumberException: Failed to instantiate class org.openmrs.contrib.qaframework.automation.LoginSteps
- at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:140)
- at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.getInstance(ObjectFactoryServiceLoader.java:124)
- at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
- at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
- at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
- at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
- at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
- at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:92)
- at io.cucumber.core.runner.TestStep.run(TestStep.java:64)
- at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
- at io.cucumber.core.runner.TestCase.run(TestCase.java:104)
- at io.cucumber.core.runner.Runner.runPickle(Runner.java:71)
- at io.cucumber.core.runtime.Runtime.lambda$execute$5(Runtime.java:110)
- at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:117)
- at io.cucumber.core.runtime.Runtime.lambda$execute$6(Runtime.java:110)
- at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
- at java.util.concurrent.FutureTask.run(Unknown Source)
- at io.cucumber.core.runtime.Runtime$SameThreadExecutorService.execute(Runtime.java:233)
- at java.util.concurrent.AbstractExecutorService.submit(Unknown Source)
- at io.cucumber.core.runtime.Runtime.lambda$run$2(Runtime.java:86)
- at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
- at java.util.stream.SliceOps$1$1.accept(Unknown Source)
- at java.util.ArrayList$ArrayListSpliterator.tryAdvance(Unknown Source)
- at java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
- at java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
- at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
- at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
- at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
- at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
- at java.util.stream.ReferencePipeline.collect(Unknown Source)
- at io.cucumber.core.runtime.Runtime.run(Runtime.java:87)
- at io.cucumber.core.cli.Main.run(Main.java:79)
- at cucumber.api.cli.Main.run(Main.java:30)
- at cucumber.api.cli.Main.main(Main.java:15)
- Caused by: java.lang.reflect.InvocationTargetException
- at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
- at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
- at java.lang.reflect.Constructor.newInstance(Unknown Source)
- at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:132)
- ... 33 more
- 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".
- at org.junit.Assert.fail(Assert.java:89)
- at org.openmrs.uitestframework.test.TestBase.setupChromeDriver(TestBase.java:314)
- at org.openmrs.uitestframework.test.TestBase.launchBrowser(TestBase.java:174)
- at org.openmrs.uitestframework.test.TestBase.startWebDriver(TestBase.java:132)
- at org.openmrs.contrib.qaframework.automation.Steps.<init>(Steps.java:24)
- at org.openmrs.contrib.qaframework.automation.LoginSteps.<init>(LoginSteps.java:12)
- ... 38 more
- When User enters "wrongUser" username # org.openmrs.contrib.qaframework.automation.LoginSteps.anyUsername(java.lang.String)
- And User enters "Admin123" password # org.openmrs.contrib.qaframework.automation.LoginSteps.anyPassword(java.lang.String)
- And User Selects "anyLocation" Login Location # org.openmrs.contrib.qaframework.automation.LoginSteps.selectLoginLocation(java.lang.String)
- And User Logs in # org.openmrs.contrib.qaframework.automation.LoginSteps.userLogsIn()
- Then System Evaluates Login "false" # org.openmrs.contrib.qaframework.automation.LoginSteps.evaluateLogin(java.lang.String)
- @run
- Scenario Outline: Failing or Succeeding to Login # src/test/resources/features/login.feature:17
- Running locally...
- cannot find chromedriver executable: org.apache.commons.vfs2.FileSystemException: Could not delete "file:///C:/Users/Insookwa/AppData/Local/Temp/chromedriver.exe".
- org.apache.commons.vfs2.FileSystemException: Could not delete "file:///C:/Users/Insookwa/AppData/Local/Temp/chromedriver.exe".
- at org.apache.commons.vfs2.provider.AbstractFileObject.deleteSelf(AbstractFileObject.java:848)
- at org.apache.commons.vfs2.provider.AbstractFileObject.delete(AbstractFileObject.java:907)
- at org.apache.commons.vfs2.provider.AbstractFileObject.delete(AbstractFileObject.java:864)
- at org.openmrs.uitestframework.test.TestBase.setupChromeDriver(TestBase.java:304)
- at org.openmrs.uitestframework.test.TestBase.launchBrowser(TestBase.java:174)
- at org.openmrs.uitestframework.test.TestBase.startWebDriver(TestBase.java:132)
- at org.openmrs.contrib.qaframework.automation.Steps.<init>(Steps.java:24)
- at org.openmrs.contrib.qaframework.automation.LoginSteps.<init>(LoginSteps.java:12)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
- at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
- at java.lang.reflect.Constructor.newInstance(Unknown Source)
- at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:132)
- at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.getInstance(ObjectFactoryServiceLoader.java:124)
- at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
- at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
- at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
- at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
- at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
- at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:92)
- at io.cucumber.core.runner.TestStep.run(TestStep.java:64)
- at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
- at io.cucumber.core.runner.TestCase.run(TestCase.java:104)
- at io.cucumber.core.runner.Runner.runPickle(Runner.java:71)
- at io.cucumber.core.runtime.Runtime.lambda$execute$5(Runtime.java:110)
- at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:117)
- at io.cucumber.core.runtime.Runtime.lambda$execute$6(Runtime.java:110)
- at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
- at java.util.concurrent.FutureTask.run(Unknown Source)
- at io.cucumber.core.runtime.Runtime$SameThreadExecutorService.execute(Runtime.java:233)
- at java.util.concurrent.AbstractExecutorService.submit(Unknown Source)
- at io.cucumber.core.runtime.Runtime.lambda$run$2(Runtime.java:86)
- at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
- at java.util.stream.SliceOps$1$1.accept(Unknown Source)
- at java.util.ArrayList$ArrayListSpliterator.tryAdvance(Unknown Source)
- at java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
- at java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
- at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
- at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
- at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
- at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
- at java.util.stream.ReferencePipeline.collect(Unknown Source)
- at io.cucumber.core.runtime.Runtime.run(Runtime.java:87)
- at io.cucumber.core.cli.Main.run(Main.java:79)
- at cucumber.api.cli.Main.run(Main.java:30)
- at cucumber.api.cli.Main.main(Main.java:15)
- Caused by: org.apache.commons.vfs2.FileSystemException: Could not delete "C:\Users\Insookwa\AppData\Local\Temp\chromedriver.exe".
- at org.apache.commons.vfs2.provider.local.LocalFile.doDelete(LocalFile.java:126)
- at org.apache.commons.vfs2.provider.AbstractFileObject.deleteSelf(AbstractFileObject.java:837)
- ... 45 more
- Given User visits login page # org.openmrs.contrib.qaframework.automation.LoginSteps.visitLoginPage()
- io.cucumber.core.exception.CucumberException: Failed to instantiate class org.openmrs.contrib.qaframework.automation.LoginSteps
- at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:140)
- at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.getInstance(ObjectFactoryServiceLoader.java:124)
- at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
- at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
- at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
- at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
- at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
- at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:92)
- at io.cucumber.core.runner.TestStep.run(TestStep.java:64)
- at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
- at io.cucumber.core.runner.TestCase.run(TestCase.java:104)
- at io.cucumber.core.runner.Runner.runPickle(Runner.java:71)
- at io.cucumber.core.runtime.Runtime.lambda$execute$5(Runtime.java:110)
- at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:117)
- at io.cucumber.core.runtime.Runtime.lambda$execute$6(Runtime.java:110)
- at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
- at java.util.concurrent.FutureTask.run(Unknown Source)
- at io.cucumber.core.runtime.Runtime$SameThreadExecutorService.execute(Runtime.java:233)
- at java.util.concurrent.AbstractExecutorService.submit(Unknown Source)
- at io.cucumber.core.runtime.Runtime.lambda$run$2(Runtime.java:86)
- at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
- at java.util.stream.SliceOps$1$1.accept(Unknown Source)
- at java.util.ArrayList$ArrayListSpliterator.tryAdvance(Unknown Source)
- at java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
- at java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
- at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
- at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
- at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
- at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
- at java.util.stream.ReferencePipeline.collect(Unknown Source)
- at io.cucumber.core.runtime.Runtime.run(Runtime.java:87)
- at io.cucumber.core.cli.Main.run(Main.java:79)
- at cucumber.api.cli.Main.run(Main.java:30)
- at cucumber.api.cli.Main.main(Main.java:15)
- Caused by: java.lang.reflect.InvocationTargetException
- at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
- at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
- at java.lang.reflect.Constructor.newInstance(Unknown Source)
- at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:132)
- ... 33 more
- 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".
- at org.junit.Assert.fail(Assert.java:89)
- at org.openmrs.uitestframework.test.TestBase.setupChromeDriver(TestBase.java:314)
- at org.openmrs.uitestframework.test.TestBase.launchBrowser(TestBase.java:174)
- at org.openmrs.uitestframework.test.TestBase.startWebDriver(TestBase.java:132)
- at org.openmrs.contrib.qaframework.automation.Steps.<init>(Steps.java:24)
- at org.openmrs.contrib.qaframework.automation.LoginSteps.<init>(LoginSteps.java:12)
- ... 38 more
- When User enters "wrongUser" username # org.openmrs.contrib.qaframework.automation.LoginSteps.anyUsername(java.lang.String)
- And User enters "wrongPas" password # org.openmrs.contrib.qaframework.automation.LoginSteps.anyPassword(java.lang.String)
- And User Selects "anyLocation" Login Location # org.openmrs.contrib.qaframework.automation.LoginSteps.selectLoginLocation(java.lang.String)
- And User Logs in # org.openmrs.contrib.qaframework.automation.LoginSteps.userLogsIn()
- Then System Evaluates Login "false" # org.openmrs.contrib.qaframework.automation.LoginSteps.evaluateLogin(java.lang.String)
- @run
- Scenario Outline: Failing or Succeeding to Login # src/test/resources/features/login.feature:18
- Running locally...
- cannot find chromedriver executable: org.apache.commons.vfs2.FileSystemException: Could not delete "file:///C:/Users/Insookwa/AppData/Local/Temp/chromedriver.exe".
- org.apache.commons.vfs2.FileSystemException: Could not delete "file:///C:/Users/Insookwa/AppData/Local/Temp/chromedriver.exe".
- at org.apache.commons.vfs2.provider.AbstractFileObject.deleteSelf(AbstractFileObject.java:848)
- at org.apache.commons.vfs2.provider.AbstractFileObject.delete(AbstractFileObject.java:907)
- at org.apache.commons.vfs2.provider.AbstractFileObject.delete(AbstractFileObject.java:864)
- at org.openmrs.uitestframework.test.TestBase.setupChromeDriver(TestBase.java:304)
- at org.openmrs.uitestframework.test.TestBase.launchBrowser(TestBase.java:174)
- at org.openmrs.uitestframework.test.TestBase.startWebDriver(TestBase.java:132)
- at org.openmrs.contrib.qaframework.automation.Steps.<init>(Steps.java:24)
- at org.openmrs.contrib.qaframework.automation.LoginSteps.<init>(LoginSteps.java:12)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
- at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
- at java.lang.reflect.Constructor.newInstance(Unknown Source)
- at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:132)
- at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.getInstance(ObjectFactoryServiceLoader.java:124)
- at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
- at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
- at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
- at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
- at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
- at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:92)
- at io.cucumber.core.runner.TestStep.run(TestStep.java:64)
- at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
- at io.cucumber.core.runner.TestCase.run(TestCase.java:104)
- at io.cucumber.core.runner.Runner.runPickle(Runner.java:71)
- at io.cucumber.core.runtime.Runtime.lambda$execute$5(Runtime.java:110)
- at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:117)
- at io.cucumber.core.runtime.Runtime.lambda$execute$6(Runtime.java:110)
- at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
- at java.util.concurrent.FutureTask.run(Unknown Source)
- at io.cucumber.core.runtime.Runtime$SameThreadExecutorService.execute(Runtime.java:233)
- at java.util.concurrent.AbstractExecutorService.submit(Unknown Source)
- at io.cucumber.core.runtime.Runtime.lambda$run$2(Runtime.java:86)
- at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
- at java.util.stream.SliceOps$1$1.accept(Unknown Source)
- at java.util.ArrayList$ArrayListSpliterator.tryAdvance(Unknown Source)
- at java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
- at java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
- at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
- at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
- at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
- at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
- at java.util.stream.ReferencePipeline.collect(Unknown Source)
- at io.cucumber.core.runtime.Runtime.run(Runtime.java:87)
- at io.cucumber.core.cli.Main.run(Main.java:79)
- at cucumber.api.cli.Main.run(Main.java:30)
- at cucumber.api.cli.Main.main(Main.java:15)
- Caused by: org.apache.commons.vfs2.FileSystemException: Could not delete "C:\Users\Insookwa\AppData\Local\Temp\chromedriver.exe".
- at org.apache.commons.vfs2.provider.local.LocalFile.doDelete(LocalFile.java:126)
- at org.apache.commons.vfs2.provider.AbstractFileObject.deleteSelf(AbstractFileObject.java:837)
- ... 45 more
- Given User visits login page # org.openmrs.contrib.qaframework.automation.LoginSteps.visitLoginPage()
- io.cucumber.core.exception.CucumberException: Failed to instantiate class org.openmrs.contrib.qaframework.automation.LoginSteps
- at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:140)
- at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.getInstance(ObjectFactoryServiceLoader.java:124)
- at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
- at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
- at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
- at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
- at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
- at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:92)
- at io.cucumber.core.runner.TestStep.run(TestStep.java:64)
- at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
- at io.cucumber.core.runner.TestCase.run(TestCase.java:104)
- at io.cucumber.core.runner.Runner.runPickle(Runner.java:71)
- at io.cucumber.core.runtime.Runtime.lambda$execute$5(Runtime.java:110)
- at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:117)
- at io.cucumber.core.runtime.Runtime.lambda$execute$6(Runtime.java:110)
- at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
- at java.util.concurrent.FutureTask.run(Unknown Source)
- at io.cucumber.core.runtime.Runtime$SameThreadExecutorService.execute(Runtime.java:233)
- at java.util.concurrent.AbstractExecutorService.submit(Unknown Source)
- at io.cucumber.core.runtime.Runtime.lambda$run$2(Runtime.java:86)
- at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
- at java.util.stream.SliceOps$1$1.accept(Unknown Source)
- at java.util.ArrayList$ArrayListSpliterator.tryAdvance(Unknown Source)
- at java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
- at java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
- at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
- at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
- at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
- at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
- at java.util.stream.ReferencePipeline.collect(Unknown Source)
- at io.cucumber.core.runtime.Runtime.run(Runtime.java:87)
- at io.cucumber.core.cli.Main.run(Main.java:79)
- at cucumber.api.cli.Main.run(Main.java:30)
- at cucumber.api.cli.Main.main(Main.java:15)
- Caused by: java.lang.reflect.InvocationTargetException
- at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
- at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
- at java.lang.reflect.Constructor.newInstance(Unknown Source)
- at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:132)
- ... 33 more
- 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".
- at org.junit.Assert.fail(Assert.java:89)
- at org.openmrs.uitestframework.test.TestBase.setupChromeDriver(TestBase.java:314)
- at org.openmrs.uitestframework.test.TestBase.launchBrowser(TestBase.java:174)
- at org.openmrs.uitestframework.test.TestBase.startWebDriver(TestBase.java:132)
- at org.openmrs.contrib.qaframework.automation.Steps.<init>(Steps.java:24)
- at org.openmrs.contrib.qaframework.automation.LoginSteps.<init>(LoginSteps.java:12)
- ... 38 more
- When User enters "admin" username # org.openmrs.contrib.qaframework.automation.LoginSteps.anyUsername(java.lang.String)
- And User enters "Admin123" password # org.openmrs.contrib.qaframework.automation.LoginSteps.anyPassword(java.lang.String)
- And User Selects "noLocation" Login Location # org.openmrs.contrib.qaframework.automation.LoginSteps.selectLoginLocation(java.lang.String)
- And User Logs in # org.openmrs.contrib.qaframework.automation.LoginSteps.userLogsIn()
- Then System Evaluates Login "false" # org.openmrs.contrib.qaframework.automation.LoginSteps.evaluateLogin(java.lang.String)
- @run
- Scenario Outline: Failing or Succeeding to Login # src/test/resources/features/login.feature:19
- Running locally...
- cannot find chromedriver executable: org.apache.commons.vfs2.FileSystemException: Could not delete "file:///C:/Users/Insookwa/AppData/Local/Temp/chromedriver.exe".
- org.apache.commons.vfs2.FileSystemException: Could not delete "file:///C:/Users/Insookwa/AppData/Local/Temp/chromedriver.exe".
- at org.apache.commons.vfs2.provider.AbstractFileObject.deleteSelf(AbstractFileObject.java:848)
- at org.apache.commons.vfs2.provider.AbstractFileObject.delete(AbstractFileObject.java:907)
- at org.apache.commons.vfs2.provider.AbstractFileObject.delete(AbstractFileObject.java:864)
- at org.openmrs.uitestframework.test.TestBase.setupChromeDriver(TestBase.java:304)
- at org.openmrs.uitestframework.test.TestBase.launchBrowser(TestBase.java:174)
- at org.openmrs.uitestframework.test.TestBase.startWebDriver(TestBase.java:132)
- at org.openmrs.contrib.qaframework.automation.Steps.<init>(Steps.java:24)
- at org.openmrs.contrib.qaframework.automation.LoginSteps.<init>(LoginSteps.java:12)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
- at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
- at java.lang.reflect.Constructor.newInstance(Unknown Source)
- at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:132)
- at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.getInstance(ObjectFactoryServiceLoader.java:124)
- at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
- at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
- at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
- at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
- at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
- at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:92)
- at io.cucumber.core.runner.TestStep.run(TestStep.java:64)
- at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
- at io.cucumber.core.runner.TestCase.run(TestCase.java:104)
- at io.cucumber.core.runner.Runner.runPickle(Runner.java:71)
- at io.cucumber.core.runtime.Runtime.lambda$execute$5(Runtime.java:110)
- at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:117)
- at io.cucumber.core.runtime.Runtime.lambda$execute$6(Runtime.java:110)
- at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
- at java.util.concurrent.FutureTask.run(Unknown Source)
- at io.cucumber.core.runtime.Runtime$SameThreadExecutorService.execute(Runtime.java:233)
- at java.util.concurrent.AbstractExecutorService.submit(Unknown Source)
- at io.cucumber.core.runtime.Runtime.lambda$run$2(Runtime.java:86)
- at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
- at java.util.stream.SliceOps$1$1.accept(Unknown Source)
- at java.util.ArrayList$ArrayListSpliterator.tryAdvance(Unknown Source)
- at java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
- at java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
- at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
- at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
- at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
- at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
- at java.util.stream.ReferencePipeline.collect(Unknown Source)
- at io.cucumber.core.runtime.Runtime.run(Runtime.java:87)
- at io.cucumber.core.cli.Main.run(Main.java:79)
- at cucumber.api.cli.Main.run(Main.java:30)
- at cucumber.api.cli.Main.main(Main.java:15)
- Caused by: org.apache.commons.vfs2.FileSystemException: Could not delete "C:\Users\Insookwa\AppData\Local\Temp\chromedriver.exe".
- at org.apache.commons.vfs2.provider.local.LocalFile.doDelete(LocalFile.java:126)
- at org.apache.commons.vfs2.provider.AbstractFileObject.deleteSelf(AbstractFileObject.java:837)
- ... 45 more
- Given User visits login page # org.openmrs.contrib.qaframework.automation.LoginSteps.visitLoginPage()
- io.cucumber.core.exception.CucumberException: Failed to instantiate class org.openmrs.contrib.qaframework.automation.LoginSteps
- at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:140)
- at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.getInstance(ObjectFactoryServiceLoader.java:124)
- at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
- at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
- at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
- at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
- at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
- at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:92)
- at io.cucumber.core.runner.TestStep.run(TestStep.java:64)
- at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
- at io.cucumber.core.runner.TestCase.run(TestCase.java:104)
- at io.cucumber.core.runner.Runner.runPickle(Runner.java:71)
- at io.cucumber.core.runtime.Runtime.lambda$execute$5(Runtime.java:110)
- at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:117)
- at io.cucumber.core.runtime.Runtime.lambda$execute$6(Runtime.java:110)
- at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
- at java.util.concurrent.FutureTask.run(Unknown Source)
- at io.cucumber.core.runtime.Runtime$SameThreadExecutorService.execute(Runtime.java:233)
- at java.util.concurrent.AbstractExecutorService.submit(Unknown Source)
- at io.cucumber.core.runtime.Runtime.lambda$run$2(Runtime.java:86)
- at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
- at java.util.stream.SliceOps$1$1.accept(Unknown Source)
- at java.util.ArrayList$ArrayListSpliterator.tryAdvance(Unknown Source)
- at java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
- at java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
- at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
- at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
- at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
- at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
- at java.util.stream.ReferencePipeline.collect(Unknown Source)
- at io.cucumber.core.runtime.Runtime.run(Runtime.java:87)
- at io.cucumber.core.cli.Main.run(Main.java:79)
- at cucumber.api.cli.Main.run(Main.java:30)
- at cucumber.api.cli.Main.main(Main.java:15)
- Caused by: java.lang.reflect.InvocationTargetException
- at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
- at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
- at java.lang.reflect.Constructor.newInstance(Unknown Source)
- at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:132)
- ... 33 more
- 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".
- at org.junit.Assert.fail(Assert.java:89)
- at org.openmrs.uitestframework.test.TestBase.setupChromeDriver(TestBase.java:314)
- at org.openmrs.uitestframework.test.TestBase.launchBrowser(TestBase.java:174)
- at org.openmrs.uitestframework.test.TestBase.startWebDriver(TestBase.java:132)
- at org.openmrs.contrib.qaframework.automation.Steps.<init>(Steps.java:24)
- at org.openmrs.contrib.qaframework.automation.LoginSteps.<init>(LoginSteps.java:12)
- ... 38 more
- When User enters "setupUser" username # org.openmrs.contrib.qaframework.automation.LoginSteps.anyUsername(java.lang.String)
- And User enters "setupPass" password # org.openmrs.contrib.qaframework.automation.LoginSteps.anyPassword(java.lang.String)
- And User Selects "setupLocation" Login Location # org.openmrs.contrib.qaframework.automation.LoginSteps.selectLoginLocation(java.lang.String)
- And User Logs in # org.openmrs.contrib.qaframework.automation.LoginSteps.userLogsIn()
- Then System Evaluates Login "true" # org.openmrs.contrib.qaframework.automation.LoginSteps.evaluateLogin(java.lang.String)
- @run
- Scenario: Right Login # src/test/resources/features/login.feature:22
- Running locally...
- cannot find chromedriver executable: org.apache.commons.vfs2.FileSystemException: Could not delete "file:///C:/Users/Insookwa/AppData/Local/Temp/chromedriver.exe".
- org.apache.commons.vfs2.FileSystemException: Could not delete "file:///C:/Users/Insookwa/AppData/Local/Temp/chromedriver.exe".
- at org.apache.commons.vfs2.provider.AbstractFileObject.deleteSelf(AbstractFileObject.java:848)
- at org.apache.commons.vfs2.provider.AbstractFileObject.delete(AbstractFileObject.java:907)
- at org.apache.commons.vfs2.provider.AbstractFileObject.delete(AbstractFileObject.java:864)
- at org.openmrs.uitestframework.test.TestBase.setupChromeDriver(TestBase.java:304)
- at org.openmrs.uitestframework.test.TestBase.launchBrowser(TestBase.java:174)
- at org.openmrs.uitestframework.test.TestBase.startWebDriver(TestBase.java:132)
- at org.openmrs.contrib.qaframework.automation.Steps.<init>(Steps.java:24)
- at org.openmrs.contrib.qaframework.automation.LoginSteps.<init>(LoginSteps.java:12)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
- at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
- at java.lang.reflect.Constructor.newInstance(Unknown Source)
- at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:132)
- at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.getInstance(ObjectFactoryServiceLoader.java:124)
- at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
- at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
- at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
- at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
- at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
- at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:92)
- at io.cucumber.core.runner.TestStep.run(TestStep.java:64)
- at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
- at io.cucumber.core.runner.TestCase.run(TestCase.java:104)
- at io.cucumber.core.runner.Runner.runPickle(Runner.java:71)
- at io.cucumber.core.runtime.Runtime.lambda$execute$5(Runtime.java:110)
- at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:117)
- at io.cucumber.core.runtime.Runtime.lambda$execute$6(Runtime.java:110)
- at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
- at java.util.concurrent.FutureTask.run(Unknown Source)
- at io.cucumber.core.runtime.Runtime$SameThreadExecutorService.execute(Runtime.java:233)
- at java.util.concurrent.AbstractExecutorService.submit(Unknown Source)
- at io.cucumber.core.runtime.Runtime.lambda$run$2(Runtime.java:86)
- at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
- at java.util.stream.SliceOps$1$1.accept(Unknown Source)
- at java.util.ArrayList$ArrayListSpliterator.tryAdvance(Unknown Source)
- at java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
- at java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
- at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
- at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
- at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
- at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
- at java.util.stream.ReferencePipeline.collect(Unknown Source)
- at io.cucumber.core.runtime.Runtime.run(Runtime.java:87)
- at io.cucumber.core.cli.Main.run(Main.java:79)
- at cucumber.api.cli.Main.run(Main.java:30)
- at cucumber.api.cli.Main.main(Main.java:15)
- Caused by: org.apache.commons.vfs2.FileSystemException: Could not delete "C:\Users\Insookwa\AppData\Local\Temp\chromedriver.exe".
- at org.apache.commons.vfs2.provider.local.LocalFile.doDelete(LocalFile.java:126)
- at org.apache.commons.vfs2.provider.AbstractFileObject.deleteSelf(AbstractFileObject.java:837)
- ... 45 more
- Given User visits login page # org.openmrs.contrib.qaframework.automation.LoginSteps.visitLoginPage()
- io.cucumber.core.exception.CucumberException: Failed to instantiate class org.openmrs.contrib.qaframework.automation.LoginSteps
- at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:140)
- at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.getInstance(ObjectFactoryServiceLoader.java:124)
- at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
- at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
- at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
- at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
- at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
- at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:92)
- at io.cucumber.core.runner.TestStep.run(TestStep.java:64)
- at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
- at io.cucumber.core.runner.TestCase.run(TestCase.java:104)
- at io.cucumber.core.runner.Runner.runPickle(Runner.java:71)
- at io.cucumber.core.runtime.Runtime.lambda$execute$5(Runtime.java:110)
- at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:117)
- at io.cucumber.core.runtime.Runtime.lambda$execute$6(Runtime.java:110)
- at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
- at java.util.concurrent.FutureTask.run(Unknown Source)
- at io.cucumber.core.runtime.Runtime$SameThreadExecutorService.execute(Runtime.java:233)
- at java.util.concurrent.AbstractExecutorService.submit(Unknown Source)
- at io.cucumber.core.runtime.Runtime.lambda$run$2(Runtime.java:86)
- at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
- at java.util.stream.SliceOps$1$1.accept(Unknown Source)
- at java.util.ArrayList$ArrayListSpliterator.tryAdvance(Unknown Source)
- at java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
- at java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
- at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
- at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
- at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
- at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
- at java.util.stream.ReferencePipeline.collect(Unknown Source)
- at io.cucumber.core.runtime.Runtime.run(Runtime.java:87)
- at io.cucumber.core.cli.Main.run(Main.java:79)
- at cucumber.api.cli.Main.run(Main.java:30)
- at cucumber.api.cli.Main.main(Main.java:15)
- Caused by: java.lang.reflect.InvocationTargetException
- at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
- at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
- at java.lang.reflect.Constructor.newInstance(Unknown Source)
- at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:132)
- ... 33 more
- 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".
- at org.junit.Assert.fail(Assert.java:89)
- at org.openmrs.uitestframework.test.TestBase.setupChromeDriver(TestBase.java:314)
- at org.openmrs.uitestframework.test.TestBase.launchBrowser(TestBase.java:174)
- at org.openmrs.uitestframework.test.TestBase.startWebDriver(TestBase.java:132)
- at org.openmrs.contrib.qaframework.automation.Steps.<init>(Steps.java:24)
- at org.openmrs.contrib.qaframework.automation.LoginSteps.<init>(LoginSteps.java:12)
- ... 38 more
- When Setup user rightly logs in # org.openmrs.contrib.qaframework.automation.LoginSteps.setupRightLogin()
- Then System logs in user # org.openmrs.contrib.qaframework.automation.LoginSteps.evaluateLogin()
- Failed scenarios:
- file:///C:/Users/Insookwa/openmrs-contrib-qaframework/src/test/resources/features/login.feature:15# Failing or Succeeding to Login
- file:///C:/Users/Insookwa/openmrs-contrib-qaframework/src/test/resources/features/login.feature:16# Failing or Succeeding to Login
- file:///C:/Users/Insookwa/openmrs-contrib-qaframework/src/test/resources/features/login.feature:17# Failing or Succeeding to Login
- file:///C:/Users/Insookwa/openmrs-contrib-qaframework/src/test/resources/features/login.feature:18# Failing or Succeeding to Login
- file:///C:/Users/Insookwa/openmrs-contrib-qaframework/src/test/resources/features/login.feature:19# Failing or Succeeding to Login
- file:///C:/Users/Insookwa/openmrs-contrib-qaframework/src/test/resources/features/login.feature:22# Right Login
- 6 Scenarios (6 failed)
- 33 Steps (6 failed, 27 skipped)
- 0m4.901s
- io.cucumber.core.exception.CucumberException: Failed to instantiate class org.openmrs.contrib.qaframework.automation.LoginSteps
- at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:140)
- at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.getInstance(ObjectFactoryServiceLoader.java:124)
- at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
- at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
- at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
- at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
- at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
- at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:92)
- at io.cucumber.core.runner.TestStep.run(TestStep.java:64)
- at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
- at io.cucumber.core.runner.TestCase.run(TestCase.java:104)
- at io.cucumber.core.runner.Runner.runPickle(Runner.java:71)
- at io.cucumber.core.runtime.Runtime.lambda$execute$5(Runtime.java:110)
- at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:117)
- at io.cucumber.core.runtime.Runtime.lambda$execute$6(Runtime.java:110)
- at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
- at java.util.concurrent.FutureTask.run(Unknown Source)
- at io.cucumber.core.runtime.Runtime$SameThreadExecutorService.execute(Runtime.java:233)
- at java.util.concurrent.AbstractExecutorService.submit(Unknown Source)
- at io.cucumber.core.runtime.Runtime.lambda$run$2(Runtime.java:86)
- at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
- at java.util.stream.SliceOps$1$1.accept(Unknown Source)
- at java.util.ArrayList$ArrayListSpliterator.tryAdvance(Unknown Source)
- at java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
- at java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
- at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
- at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
- at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
- at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
- at java.util.stream.ReferencePipeline.collect(Unknown Source)
- at io.cucumber.core.runtime.Runtime.run(Runtime.java:87)
- at io.cucumber.core.cli.Main.run(Main.java:79)
- at cucumber.api.cli.Main.run(Main.java:30)
- at cucumber.api.cli.Main.main(Main.java:15)
- Caused by: java.lang.reflect.InvocationTargetException
- at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
- at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
- at java.lang.reflect.Constructor.newInstance(Unknown Source)
- at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:132)
- ... 33 more
- 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".
- at org.junit.Assert.fail(Assert.java:89)
- at org.openmrs.uitestframework.test.TestBase.setupChromeDriver(TestBase.java:314)
- at org.openmrs.uitestframework.test.TestBase.launchBrowser(TestBase.java:174)
- at org.openmrs.uitestframework.test.TestBase.startWebDriver(TestBase.java:132)
- at org.openmrs.contrib.qaframework.automation.Steps.<init>(Steps.java:24)
- at org.openmrs.contrib.qaframework.automation.LoginSteps.<init>(LoginSteps.java:12)
- ... 38 more
- io.cucumber.core.exception.CucumberException: Failed to instantiate class org.openmrs.contrib.qaframework.automation.LoginSteps
- at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:140)
- at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.getInstance(ObjectFactoryServiceLoader.java:124)
- at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
- at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
- at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
- at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
- at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
- at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:92)
- at io.cucumber.core.runner.TestStep.run(TestStep.java:64)
- at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
- at io.cucumber.core.runner.TestCase.run(TestCase.java:104)
- at io.cucumber.core.runner.Runner.runPickle(Runner.java:71)
- at io.cucumber.core.runtime.Runtime.lambda$execute$5(Runtime.java:110)
- at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:117)
- at io.cucumber.core.runtime.Runtime.lambda$execute$6(Runtime.java:110)
- at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
- at java.util.concurrent.FutureTask.run(Unknown Source)
- at io.cucumber.core.runtime.Runtime$SameThreadExecutorService.execute(Runtime.java:233)
- at java.util.concurrent.AbstractExecutorService.submit(Unknown Source)
- at io.cucumber.core.runtime.Runtime.lambda$run$2(Runtime.java:86)
- at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
- at java.util.stream.SliceOps$1$1.accept(Unknown Source)
- at java.util.ArrayList$ArrayListSpliterator.tryAdvance(Unknown Source)
- at java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
- at java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
- at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
- at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
- at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
- at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
- at java.util.stream.ReferencePipeline.collect(Unknown Source)
- at io.cucumber.core.runtime.Runtime.run(Runtime.java:87)
- at io.cucumber.core.cli.Main.run(Main.java:79)
- at cucumber.api.cli.Main.run(Main.java:30)
- at cucumber.api.cli.Main.main(Main.java:15)
- Caused by: java.lang.reflect.InvocationTargetException
- at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
- at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
- at java.lang.reflect.Constructor.newInstance(Unknown Source)
- at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:132)
- ... 33 more
- 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".
- at org.junit.Assert.fail(Assert.java:89)
- at org.openmrs.uitestframework.test.TestBase.setupChromeDriver(TestBase.java:314)
- at org.openmrs.uitestframework.test.TestBase.launchBrowser(TestBase.java:174)
- at org.openmrs.uitestframework.test.TestBase.startWebDriver(TestBase.java:132)
- at org.openmrs.contrib.qaframework.automation.Steps.<init>(Steps.java:24)
- at org.openmrs.contrib.qaframework.automation.LoginSteps.<init>(LoginSteps.java:12)
- ... 38 more
- io.cucumber.core.exception.CucumberException: Failed to instantiate class org.openmrs.contrib.qaframework.automation.LoginSteps
- at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:140)
- at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.getInstance(ObjectFactoryServiceLoader.java:124)
- at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
- at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
- at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
- at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
- at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
- at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:92)
- at io.cucumber.core.runner.TestStep.run(TestStep.java:64)
- at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
- at io.cucumber.core.runner.TestCase.run(TestCase.java:104)
- at io.cucumber.core.runner.Runner.runPickle(Runner.java:71)
- at io.cucumber.core.runtime.Runtime.lambda$execute$5(Runtime.java:110)
- at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:117)
- at io.cucumber.core.runtime.Runtime.lambda$execute$6(Runtime.java:110)
- at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
- at java.util.concurrent.FutureTask.run(Unknown Source)
- at io.cucumber.core.runtime.Runtime$SameThreadExecutorService.execute(Runtime.java:233)
- at java.util.concurrent.AbstractExecutorService.submit(Unknown Source)
- at io.cucumber.core.runtime.Runtime.lambda$run$2(Runtime.java:86)
- at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
- at java.util.stream.SliceOps$1$1.accept(Unknown Source)
- at java.util.ArrayList$ArrayListSpliterator.tryAdvance(Unknown Source)
- at java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
- at java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
- at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
- at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
- at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
- at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
- at java.util.stream.ReferencePipeline.collect(Unknown Source)
- at io.cucumber.core.runtime.Runtime.run(Runtime.java:87)
- at io.cucumber.core.cli.Main.run(Main.java:79)
- at cucumber.api.cli.Main.run(Main.java:30)
- at cucumber.api.cli.Main.main(Main.java:15)
- Caused by: java.lang.reflect.InvocationTargetException
- at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
- at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
- at java.lang.reflect.Constructor.newInstance(Unknown Source)
- at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:132)
- ... 33 more
- 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".
- at org.junit.Assert.fail(Assert.java:89)
- at org.openmrs.uitestframework.test.TestBase.setupChromeDriver(TestBase.java:314)
- at org.openmrs.uitestframework.test.TestBase.launchBrowser(TestBase.java:174)
- at org.openmrs.uitestframework.test.TestBase.startWebDriver(TestBase.java:132)
- at org.openmrs.contrib.qaframework.automation.Steps.<init>(Steps.java:24)
- at org.openmrs.contrib.qaframework.automation.LoginSteps.<init>(LoginSteps.java:12)
- ... 38 more
- io.cucumber.core.exception.CucumberException: Failed to instantiate class org.openmrs.contrib.qaframework.automation.LoginSteps
- at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:140)
- at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.getInstance(ObjectFactoryServiceLoader.java:124)
- at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
- at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
- at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
- at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
- at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
- at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:92)
- at io.cucumber.core.runner.TestStep.run(TestStep.java:64)
- at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
- at io.cucumber.core.runner.TestCase.run(TestCase.java:104)
- at io.cucumber.core.runner.Runner.runPickle(Runner.java:71)
- at io.cucumber.core.runtime.Runtime.lambda$execute$5(Runtime.java:110)
- at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:117)
- at io.cucumber.core.runtime.Runtime.lambda$execute$6(Runtime.java:110)
- at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
- at java.util.concurrent.FutureTask.run(Unknown Source)
- at io.cucumber.core.runtime.Runtime$SameThreadExecutorService.execute(Runtime.java:233)
- at java.util.concurrent.AbstractExecutorService.submit(Unknown Source)
- at io.cucumber.core.runtime.Runtime.lambda$run$2(Runtime.java:86)
- at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
- at java.util.stream.SliceOps$1$1.accept(Unknown Source)
- at java.util.ArrayList$ArrayListSpliterator.tryAdvance(Unknown Source)
- at java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
- at java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
- at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
- at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
- at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
- at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
- at java.util.stream.ReferencePipeline.collect(Unknown Source)
- at io.cucumber.core.runtime.Runtime.run(Runtime.java:87)
- at io.cucumber.core.cli.Main.run(Main.java:79)
- at cucumber.api.cli.Main.run(Main.java:30)
- at cucumber.api.cli.Main.main(Main.java:15)
- Caused by: java.lang.reflect.InvocationTargetException
- at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
- at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
- at java.lang.reflect.Constructor.newInstance(Unknown Source)
- at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:132)
- ... 33 more
- 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".
- at org.junit.Assert.fail(Assert.java:89)
- at org.openmrs.uitestframework.test.TestBase.setupChromeDriver(TestBase.java:314)
- at org.openmrs.uitestframework.test.TestBase.launchBrowser(TestBase.java:174)
- at org.openmrs.uitestframework.test.TestBase.startWebDriver(TestBase.java:132)
- at org.openmrs.contrib.qaframework.automation.Steps.<init>(Steps.java:24)
- at org.openmrs.contrib.qaframework.automation.LoginSteps.<init>(LoginSteps.java:12)
- ... 38 more
- io.cucumber.core.exception.CucumberException: Failed to instantiate class org.openmrs.contrib.qaframework.automation.LoginSteps
- at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:140)
- at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.getInstance(ObjectFactoryServiceLoader.java:124)
- at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
- at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
- at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
- at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
- at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
- at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:92)
- at io.cucumber.core.runner.TestStep.run(TestStep.java:64)
- at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
- at io.cucumber.core.runner.TestCase.run(TestCase.java:104)
- at io.cucumber.core.runner.Runner.runPickle(Runner.java:71)
- at io.cucumber.core.runtime.Runtime.lambda$execute$5(Runtime.java:110)
- at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:117)
- at io.cucumber.core.runtime.Runtime.lambda$execute$6(Runtime.java:110)
- at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
- at java.util.concurrent.FutureTask.run(Unknown Source)
- at io.cucumber.core.runtime.Runtime$SameThreadExecutorService.execute(Runtime.java:233)
- at java.util.concurrent.AbstractExecutorService.submit(Unknown Source)
- at io.cucumber.core.runtime.Runtime.lambda$run$2(Runtime.java:86)
- at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
- at java.util.stream.SliceOps$1$1.accept(Unknown Source)
- at java.util.ArrayList$ArrayListSpliterator.tryAdvance(Unknown Source)
- at java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
- at java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
- at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
- at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
- at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
- at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
- at java.util.stream.ReferencePipeline.collect(Unknown Source)
- at io.cucumber.core.runtime.Runtime.run(Runtime.java:87)
- at io.cucumber.core.cli.Main.run(Main.java:79)
- at cucumber.api.cli.Main.run(Main.java:30)
- at cucumber.api.cli.Main.main(Main.java:15)
- Caused by: java.lang.reflect.InvocationTargetException
- at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
- at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
- at java.lang.reflect.Constructor.newInstance(Unknown Source)
- at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:132)
- ... 33 more
- 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".
- at org.junit.Assert.fail(Assert.java:89)
- at org.openmrs.uitestframework.test.TestBase.setupChromeDriver(TestBase.java:314)
- at org.openmrs.uitestframework.test.TestBase.launchBrowser(TestBase.java:174)
- at org.openmrs.uitestframework.test.TestBase.startWebDriver(TestBase.java:132)
- at org.openmrs.contrib.qaframework.automation.Steps.<init>(Steps.java:24)
- at org.openmrs.contrib.qaframework.automation.LoginSteps.<init>(LoginSteps.java:12)
- ... 38 more
- io.cucumber.core.exception.CucumberException: Failed to instantiate class org.openmrs.contrib.qaframework.automation.LoginSteps
- at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:140)
- at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.getInstance(ObjectFactoryServiceLoader.java:124)
- at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
- at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
- at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
- at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
- at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
- at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:92)
- at io.cucumber.core.runner.TestStep.run(TestStep.java:64)
- at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
- at io.cucumber.core.runner.TestCase.run(TestCase.java:104)
- at io.cucumber.core.runner.Runner.runPickle(Runner.java:71)
- at io.cucumber.core.runtime.Runtime.lambda$execute$5(Runtime.java:110)
- at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:117)
- at io.cucumber.core.runtime.Runtime.lambda$execute$6(Runtime.java:110)
- at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
- at java.util.concurrent.FutureTask.run(Unknown Source)
- at io.cucumber.core.runtime.Runtime$SameThreadExecutorService.execute(Runtime.java:233)
- at java.util.concurrent.AbstractExecutorService.submit(Unknown Source)
- at io.cucumber.core.runtime.Runtime.lambda$run$2(Runtime.java:86)
- at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
- at java.util.stream.SliceOps$1$1.accept(Unknown Source)
- at java.util.ArrayList$ArrayListSpliterator.tryAdvance(Unknown Source)
- at java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
- at java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
- at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
- at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
- at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
- at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
- at java.util.stream.ReferencePipeline.collect(Unknown Source)
- at io.cucumber.core.runtime.Runtime.run(Runtime.java:87)
- at io.cucumber.core.cli.Main.run(Main.java:79)
- at cucumber.api.cli.Main.run(Main.java:30)
- at cucumber.api.cli.Main.main(Main.java:15)
- Caused by: java.lang.reflect.InvocationTargetException
- at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
- at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
- at java.lang.reflect.Constructor.newInstance(Unknown Source)
- at io.cucumber.core.runtime.ObjectFactoryServiceLoader$DefaultJavaObjectFactory.cacheNewInstance(ObjectFactoryServiceLoader.java:132)
- ... 33 more
- 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".
- at org.junit.Assert.fail(Assert.java:89)
- at org.openmrs.uitestframework.test.TestBase.setupChromeDriver(TestBase.java:314)
- at org.openmrs.uitestframework.test.TestBase.launchBrowser(TestBase.java:174)
- at org.openmrs.uitestframework.test.TestBase.startWebDriver(TestBase.java:132)
- at org.openmrs.contrib.qaframework.automation.Steps.<init>(Steps.java:24)
- at org.openmrs.contrib.qaframework.automation.LoginSteps.<init>(LoginSteps.java:12)
- ... 38 more
- ???????????????????????????????????????????????????????????????????????????????
- ? Share your Cucumber Report with your team at https://reports.cucumber.io ?
- ? Activate publishing with one of the following: ?
- ? ?
- ? src/test/resources/cucumber.properties: cucumber.publish.enabled=true ?
- ? Environment variable: CUCUMBER_PUBLISH_ENABLED=true ?
- ? JUnit: @CucumberOptions(publish = true) ?
- ? ?
- ? More information at https://reports.cucumber.io/docs/cucumber-jvm ?
- ? ?
- ? To disable this message, add cucumber.publish.quiet=true to ?
- ? src/test/resources/cucumber.properties ?
- ???????????????????????????????????????????????????????????????????????????????
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement