Created
December 23, 2016 11:25
-
-
Save vikramvi/dec09cdadffda81935a49e495dd708eb to your computer and use it in GitHub Desktop.
Serenity + Appium + Grid setup for parallel run on android emulators
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mvn clean verify -Drun.parallel=true -Dwebdriver.remote.url=http://127.0.0.1:4444/wd/hub -Dwebdriver.remote.driver=appium -Dappium.platformName=Android -Dappium.app=Flipkart.3.0.apk -Dappium.deviceName="iPhone 5" | |
[pool-1-thread-2] INFO net.serenitybdd.core.webdriver.driverproviders.RemoteDriverProvider - Building remote driver with capabilitites Capabilities [{app=Flipkart.3.0.apk, record-screenshots=false, idle-timeout=180, platformName=Android, deviceName=iPhone 5}] | |
[pool-1-thread-2] ERROR net.thucydides.core.webdriver.WebDriverFacade - FAILED TO CREATE NEW WEBDRIVER_DRIVER INSTANCE class org.openqa.selenium.firefox.FirefoxDriver: Could not instantiate new webdriver instance of type class org.openqa.selenium.firefox.FirefoxDriver (An unknown server-side error occurred while processing the command. Original error: Error occured while starting App. Original error: com.flipkart.android/com.flipkart.android.SplashActivity or .SplashActivity or .com.flipkart.android.SplashActivity never started (WARNING: The server did not provide any stacktrace information) | |
Command duration or timeout: 48.94 seconds | |
Build info: version: '2.53.1', revision: 'a36b8b1cd5757287168e54b817830adce9b0158d', time: '2016-06-30 19:26:09' | |
System info: host: 'Vikrams-MacBook-Pro.local', ip: '192.168.2.48', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.11.6', java.version: '1.8.0_102' | |
Driver info: org.openqa.selenium.remote.RemoteWebDriver | |
net.thucydides.core.webdriver.UnsupportedDriverException: Could not instantiate new webdriver instance of type class org.openqa.selenium.firefox.FirefoxDriver (An unknown server-side error occurred while processing the command. Original error: Error occured while starting App. Original error: com.flipkart.android/com.flipkart.android.SplashActivity or .SplashActivity or .com.flipkart.android.SplashActivity never started (WARNING: The server did not provide any stacktrace information) | |
Command duration or timeout: 48.94 seconds | |
Build info: version: '2.53.1', revision: 'a36b8b1cd5757287168e54b817830adce9b0158d', time: '2016-06-30 19:26:09' | |
System info: host: 'Vikrams-MacBook-Pro.local', ip: '192.168.2.48', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.11.6', java.version: '1.8.0_102' | |
Driver info: org.openqa.selenium.remote.RemoteWebDriver | |
[pool-1-thread-1] INFO net.serenitybdd.core.webdriver.driverproviders.RemoteDriverProvider - Building remote driver with capabilitites Capabilities [{app=Flipkart.3.0.apk, record-screenshots=false, idle-timeout=180, platformName=Android, deviceName=iPhone 5}] | |
at net.thucydides.core.webdriver.WebDriverFactory.newWebdriverInstance(WebDriverFactory.java:135) | |
at net.thucydides.core.webdriver.WebDriverFacade.newDriverInstance(WebDriverFacade.java:144) | |
at net.thucydides.core.webdriver.WebDriverFacade.newProxyDriver(WebDriverFacade.java:135) | |
at net.thucydides.core.webdriver.WebDriverFacade.getProxiedDriver(WebDriverFacade.java:105) | |
at net.thucydides.core.webdriver.WebDriverFacade.findElement(WebDriverFacade.java:268) | |
at org.openqa.selenium.support.ui.ExpectedConditions.findElement(ExpectedConditions.java:899) | |
at org.openqa.selenium.support.ui.ExpectedConditions.access$000(ExpectedConditions.java:41) | |
at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:205) | |
at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:201) | |
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:238) | |
at com.serenity.appium.poc.FlipkartLoginPage.gotoLoginPage(FlipkartLoginPage.java:31) | |
at com.serenity.appium.poc.cucumber_related.FlipkartLoginSteps.loginPageInvalidDataInput(FlipkartLoginSteps.java:15) | |
at com.serenity.appium.poc.cucumber_related.FlipkartLoginSteps$$EnhancerByCGLIB$$3208cdae.CGLIB$loginPageInvalidDataInput$0(<generated>) | |
at com.serenity.appium.poc.cucumber_related.FlipkartLoginSteps$$EnhancerByCGLIB$$3208cdae$$FastClassByCGLIB$$175511ef.invoke(<generated>) | |
at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228) | |
at net.thucydides.core.steps.StepInterceptor.invokeMethod(StepInterceptor.java:372) | |
at net.thucydides.core.steps.StepInterceptor.executeTestStepMethod(StepInterceptor.java:357) | |
at net.thucydides.core.steps.StepInterceptor.runTestStep(StepInterceptor.java:332) | |
at net.thucydides.core.steps.StepInterceptor.testStepResult(StepInterceptor.java:134) | |
at net.thucydides.core.steps.StepInterceptor.intercept(StepInterceptor.java:61) | |
at com.serenity.appium.poc.cucumber_related.FlipkartLoginSteps$$EnhancerByCGLIB$$3208cdae.loginPageInvalidDataInput(<generated>) | |
at com.serenity.appium.poc.FlipkartAppTest.verifyInvalidLogin2(FlipkartAppTest.java:54) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:498) | |
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) | |
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) | |
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) | |
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) | |
at net.serenitybdd.junit.runners.SerenityStatement.evaluate(SerenityStatement.java:24) | |
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) | |
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) | |
at net.serenitybdd.junit.runners.SerenityRunner.performRunChild(SerenityRunner.java:460) | |
at net.serenitybdd.junit.runners.SerenityRunner.runChild(SerenityRunner.java:433) | |
at net.serenitybdd.junit.runners.SerenityRunner.runChild(SerenityRunner.java:53) | |
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) | |
at org.apache.maven.surefire.junitcore.pc.Scheduler$1.run(Scheduler.java:393) | |
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) | |
at java.util.concurrent.FutureTask.run(FutureTask.java:266) | |
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) | |
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) | |
at java.lang.Thread.run(Thread.java:745) | |
Caused by: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Error occured while starting App. Original error: com.flipkart.android/com.flipkart.android.SplashActivity or .SplashActivity or .com.flipkart.android.SplashActivity never started (WARNING: The server did not provide any stacktrace information) | |
Command duration or timeout: 48.94 seconds | |
Build info: version: '2.53.1', revision: 'a36b8b1cd5757287168e54b817830adce9b0158d', time: '2016-06-30 19:26:09' | |
System info: host: 'Vikrams-MacBook-Pro.local', ip: '192.168.2.48', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.11.6', java.version: '1.8.0_102' | |
Driver info: org.openqa.selenium.remote.RemoteWebDriver | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) | |
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) | |
at java.lang.reflect.Constructor.newInstance(Constructor.java:423) | |
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206) | |
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158) | |
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:678) | |
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:249) | |
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:131) | |
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:158) | |
at net.serenitybdd.core.webdriver.driverproviders.RemoteDriverProvider.newRemoteDriver(RemoteDriverProvider.java:145) | |
at net.serenitybdd.core.webdriver.driverproviders.RemoteDriverProvider.buildRemoteDriver(RemoteDriverProvider.java:107) | |
at net.serenitybdd.core.webdriver.driverproviders.RemoteDriverProvider.newInstance(RemoteDriverProvider.java:71) | |
at net.thucydides.core.webdriver.WebDriverFactory.newWebdriverInstance(WebDriverFactory.java:125) | |
... 42 more | |
[pool-1-thread-1] ERROR net.thucydides.core.webdriver.WebDriverFacade - FAILED TO CREATE NEW WEBDRIVER_DRIVER INSTANCE class org.openqa.selenium.firefox.FirefoxDriver: Could not instantiate new webdriver instance of type class org.openqa.selenium.firefox.FirefoxDriver (An unknown server-side error occurred while processing the command. Original error: Error occured while starting App. Original error: com.flipkart.android/com.flipkart.android.SplashActivity or .SplashActivity or .com.flipkart.android.SplashActivity never started (WARNING: The server did not provide any stacktrace information) | |
Command duration or timeout: 45.37 seconds | |
Build info: version: '2.53.1', revision: 'a36b8b1cd5757287168e54b817830adce9b0158d', time: '2016-06-30 19:26:09' | |
System info: host: 'Vikrams-MacBook-Pro.local', ip: '192.168.2.48', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.11.6', java.version: '1.8.0_102' | |
Driver info: org.openqa.selenium.remote.RemoteWebDriver | |
net.thucydides.core.webdriver.UnsupportedDriverException: Could not instantiate new webdriver instance of type class org.openqa.selenium.firefox.FirefoxDriver (An unknown server-side error occurred while processing the command. Original error: Error occured while starting App. Original error: com.flipkart.android/com.flipkart.android.SplashActivity or .SplashActivity or .com.flipkart.android.SplashActivity never started (WARNING: The server did not provide any stacktrace information) | |
Command duration or timeout: 45.37 seconds | |
Build info: version: '2.53.1', revision: 'a36b8b1cd5757287168e54b817830adce9b0158d', time: '2016-06-30 19:26:09' | |
System info: host: 'Vikrams-MacBook-Pro.local', ip: '192.168.2.48', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.11.6', java.version: '1.8.0_102' | |
Driver info: org.openqa.selenium.remote.RemoteWebDriver | |
at net.thucydides.core.webdriver.WebDriverFactory.newWebdriverInstance(WebDriverFactory.java:135) | |
at net.thucydides.core.webdriver.WebDriverFacade.newDriverInstance(WebDriverFacade.java:144) | |
at net.thucydides.core.webdriver.WebDriverFacade.newProxyDriver(WebDriverFacade.java:135) | |
at net.thucydides.core.webdriver.WebDriverFacade.getProxiedDriver(WebDriverFacade.java:105) | |
at net.thucydides.core.webdriver.WebDriverFacade.findElement(WebDriverFacade.java:268) | |
at org.openqa.selenium.support.ui.ExpectedConditions.findElement(ExpectedConditions.java:899) | |
at org.openqa.selenium.support.ui.ExpectedConditions.access$000(ExpectedConditions.java:41) | |
at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:205) | |
at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:201) | |
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:238)[pool-1-thread-2] INFO net.serenitybdd.core.webdriver.driverproviders.RemoteDriverProvider - Building remote driver with capabilitites Capabilities [{app=Flipkart.3.0.apk, record-screenshots=false, idle-timeout=180, platformName=Android, deviceName=iPhone 5}] | |
at com.serenity.appium.poc.FlipkartLoginPage.gotoLoginPage(FlipkartLoginPage.java:31) | |
at com.serenity.appium.poc.cucumber_related.FlipkartLoginSteps.loginPageInvalidDataInput(FlipkartLoginSteps.java:15) | |
at com.serenity.appium.poc.cucumber_related.FlipkartLoginSteps$$EnhancerByCGLIB$$3208cdae.CGLIB$loginPageInvalidDataInput$0(<generated>) | |
at com.serenity.appium.poc.cucumber_related.FlipkartLoginSteps$$EnhancerByCGLIB$$3208cdae$$FastClassByCGLIB$$175511ef.invoke(<generated>) | |
at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228) | |
at net.thucydides.core.steps.StepInterceptor.invokeMethod(StepInterceptor.java:372) | |
at net.thucydides.core.steps.StepInterceptor.executeTestStepMethod(StepInterceptor.java:357) | |
at net.thucydides.core.steps.StepInterceptor.runTestStep(StepInterceptor.java:332) | |
at net.thucydides.core.steps.StepInterceptor.testStepResult(StepInterceptor.java:134) | |
at net.thucydides.core.steps.StepInterceptor.intercept(StepInterceptor.java:61) | |
at com.serenity.appium.poc.cucumber_related.FlipkartLoginSteps$$EnhancerByCGLIB$$3208cdae.loginPageInvalidDataInput(<generated>) | |
at com.serenity.appium.poc.FlipkartAppTest.verifyInvalidLogin(FlipkartAppTest.java:43) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:498) | |
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) | |
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) | |
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) | |
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) | |
at net.serenitybdd.junit.runners.SerenityStatement.evaluate(SerenityStatement.java:24) | |
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) | |
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) | |
at net.serenitybdd.junit.runners.SerenityRunner.performRunChild(SerenityRunner.java:460) | |
at net.serenitybdd.junit.runners.SerenityRunner.runChild(SerenityRunner.java:433) | |
at net.serenitybdd.junit.runners.SerenityRunner.runChild(SerenityRunner.java:53) | |
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) | |
at org.apache.maven.surefire.junitcore.pc.Scheduler$1.run(Scheduler.java:393) | |
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) | |
at java.util.concurrent.FutureTask.run(FutureTask.java:266) | |
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) | |
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) | |
at java.lang.Thread.run(Thread.java:745) | |
Caused by: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Error occured while starting App. Original error: com.flipkart.android/com.flipkart.android.SplashActivity or .SplashActivity or .com.flipkart.android.SplashActivity never started (WARNING: The server did not provide any stacktrace information) | |
Command duration or timeout: 45.37 seconds | |
Build info: version: '2.53.1', revision: 'a36b8b1cd5757287168e54b817830adce9b0158d', time: '2016-06-30 19:26:09' | |
System info: host: 'Vikrams-MacBook-Pro.local', ip: '192.168.2.48', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.11.6', java.version: '1.8.0_102' | |
Driver info: org.openqa.selenium.remote.RemoteWebDriver | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) | |
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) | |
at java.lang.reflect.Constructor.newInstance(Constructor.java:423) | |
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206) | |
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158) | |
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:678) | |
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:249) | |
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:131) | |
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:158) | |
at net.serenitybdd.core.webdriver.driverproviders.RemoteDriverProvider.newRemoteDriver(RemoteDriverProvider.java:145) | |
at net.serenitybdd.core.webdriver.driverproviders.RemoteDriverProvider.buildRemoteDriver(RemoteDriverProvider.java:107) | |
at net.serenitybdd.core.webdriver.driverproviders.RemoteDriverProvider.newInstance(RemoteDriverProvider.java:71) | |
at net.thucydides.core.webdriver.WebDriverFactory.newWebdriverInstance(WebDriverFactory.java:125) | |
... 42 more | |
[pool-1-thread-2] ERROR net.thucydides.core.webdriver.WebDriverFacade - FAILED TO CREATE NEW WEBDRIVER_DRIVER INSTANCE class org.openqa.selenium.firefox.FirefoxDriver: Could not instantiate new webdriver instance of type class org.openqa.selenium.firefox.FirefoxDriver (An unknown server-side error occurred while processing the command. Original error: Error occured while starting App. Original error: com.flipkart.android/com.flipkart.android.SplashActivity or .SplashActivity or .com.flipkart.android.SplashActivity never started (WARNING: The server did not provide any stacktrace information) | |
Command duration or timeout: 45.38 seconds | |
Build info: version: '2.53.1', revision: 'a36b8b1cd5757287168e54b817830adce9b0158d', time: '2016-06-30 19:26:09' | |
System info: host: 'Vikrams-MacBook-Pro.local', ip: '192.168.2.48', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.11.6', java.version: '1.8.0_102' | |
Driver info: org.openqa.selenium.remote.RemoteWebDriver | |
net.thucydides.core.webdriver.UnsupportedDriverException: Could not instantiate new webdriver instance of type class org.openqa.selenium.firefox.FirefoxDriver (An unknown server-side error occurred while processing the command. Original error: Error occured while starting App. Original error: com.flipkart.android/com.flipkart.android.SplashActivity or .SplashActivity or .com.flipkart.android.SplashActivity never started (WARNING: The server did not provide any stacktrace information) | |
Command duration or timeout: 45.38 seconds | |
Build info: version: '2.53.1', revision: 'a36b8b1cd5757287168e54b817830adce9b0158d', time: '2016-06-30 19:26:09' | |
System info: host: 'Vikrams-MacBook-Pro.local', ip: '192.168.2.48', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.11.6', java.version: '1.8.0_102' | |
Driver info: org.openqa.selenium.remote.RemoteWebDriver | |
at net.thucydides.core.webdriver.WebDriverFactory.newWebdriverInstance(WebDriverFactory.java:135) | |
at net.thucydides.core.webdriver.WebDriverFacade.newDriverInstance(WebDriverFacade.java:144) | |
at net.thucydides.core.webdriver.WebDriverFacade.newProxyDriver(WebDriverFacade.java:135) | |
at net.thucydides.core.webdriver.WebDriverFacade.getProxiedDriver(WebDriverFacade.java:105) | |
at net.thucydides.core.webdriver.WebDriverFacade.findElement(WebDriverFacade.java:273) | |
at org.openqa.selenium.support.ui.ExpectedConditions.findElement(ExpectedConditions.java:899)[pool-1-thread-1] INFO net.serenitybdd.core.webdriver.driverproviders.RemoteDriverProvider - Building remote driver with capabilitites Capabilities [{app=Flipkart.3.0.apk, record-screenshots=false, idle-timeout=180, platformName=Android, deviceName=iPhone 5}] | |
at org.openqa.selenium.support.ui.ExpectedConditions.access$000(ExpectedConditions.java:41) | |
at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:205) | |
at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:201) | |
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:238) | |
at com.serenity.appium.poc.FlipkartLoginPage.gotoLoginPage(FlipkartLoginPage.java:31) | |
at com.serenity.appium.poc.cucumber_related.FlipkartLoginSteps.loginPageInvalidDataInput(FlipkartLoginSteps.java:15) | |
at com.serenity.appium.poc.cucumber_related.FlipkartLoginSteps$$EnhancerByCGLIB$$3208cdae.CGLIB$loginPageInvalidDataInput$0(<generated>) | |
at com.serenity.appium.poc.cucumber_related.FlipkartLoginSteps$$EnhancerByCGLIB$$3208cdae$$FastClassByCGLIB$$175511ef.invoke(<generated>) | |
at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228) | |
at net.thucydides.core.steps.StepInterceptor.invokeMethod(StepInterceptor.java:372) | |
at net.thucydides.core.steps.StepInterceptor.executeTestStepMethod(StepInterceptor.java:357) | |
at net.thucydides.core.steps.StepInterceptor.runTestStep(StepInterceptor.java:332) | |
at net.thucydides.core.steps.StepInterceptor.testStepResult(StepInterceptor.java:134) | |
at net.thucydides.core.steps.StepInterceptor.intercept(StepInterceptor.java:61) | |
at com.serenity.appium.poc.cucumber_related.FlipkartLoginSteps$$EnhancerByCGLIB$$3208cdae.loginPageInvalidDataInput(<generated>) | |
at com.serenity.appium.poc.FlipkartAppTest.verifyInvalidLogin2(FlipkartAppTest.java:54) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:498) | |
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) | |
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) | |
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) | |
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) | |
at net.serenitybdd.junit.runners.SerenityStatement.evaluate(SerenityStatement.java:24) | |
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) | |
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) | |
at net.serenitybdd.junit.runners.SerenityRunner.performRunChild(SerenityRunner.java:460) | |
at net.serenitybdd.junit.runners.SerenityRunner.runChild(SerenityRunner.java:433) | |
at net.serenitybdd.junit.runners.SerenityRunner.runChild(SerenityRunner.java:53) | |
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) | |
at org.apache.maven.surefire.junitcore.pc.Scheduler$1.run(Scheduler.java:393) | |
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) | |
at java.util.concurrent.FutureTask.run(FutureTask.java:266) | |
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) | |
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) | |
at java.lang.Thread.run(Thread.java:745) | |
Caused by: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Error occured while starting App. Original error: com.flipkart.android/com.flipkart.android.SplashActivity or .SplashActivity or .com.flipkart.android.SplashActivity never started (WARNING: The server did not provide any stacktrace information) | |
Command duration or timeout: 45.38 seconds | |
Build info: version: '2.53.1', revision: 'a36b8b1cd5757287168e54b817830adce9b0158d', time: '2016-06-30 19:26:09' | |
System info: host: 'Vikrams-MacBook-Pro.local', ip: '192.168.2.48', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.11.6', java.version: '1.8.0_102' | |
Driver info: org.openqa.selenium.remote.RemoteWebDriver | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) | |
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) | |
at java.lang.reflect.Constructor.newInstance(Constructor.java:423) | |
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206) | |
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158) | |
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:678) | |
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:249) | |
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:131) | |
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:158) | |
at net.serenitybdd.core.webdriver.driverproviders.RemoteDriverProvider.newRemoteDriver(RemoteDriverProvider.java:145) | |
at net.serenitybdd.core.webdriver.driverproviders.RemoteDriverProvider.buildRemoteDriver(RemoteDriverProvider.java:107) | |
at net.serenitybdd.core.webdriver.driverproviders.RemoteDriverProvider.newInstance(RemoteDriverProvider.java:71) | |
at net.thucydides.core.webdriver.WebDriverFactory.newWebdriverInstance(WebDriverFactory.java:125) | |
... 42 more | |
Test mechanismjava.lang.NullPointerException: No BaseStepListener has been registered | |
at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:228) | |
at net.thucydides.core.steps.StepEventBus.getBaseStepListener(StepEventBus.java:108) | |
at net.thucydides.core.steps.StepEventBus.exceptionExpected(StepEventBus.java:638) | |
at net.thucydides.junit.listeners.JUnitStepListener.updateResultsForExpectedException(JUnitStepListener.java:106) | |
at net.thucydides.junit.listeners.JUnitStepListener.updateResultsUsingTestAnnotations(JUnitStepListener.java:101) | |
at net.thucydides.junit.listeners.JUnitStepListener.testFinished(JUnitStepListener.java:91) | |
at org.junit.runner.notification.SynchronizedRunListener.testFinished(SynchronizedRunListener.java:56) | |
at org.junit.runner.notification.RunNotifier$7.notifyListener(RunNotifier.java:190) | |
at org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:72) | |
at org.junit.runner.notification.RunNotifier.fireTestFinished(RunNotifier.java:187) | |
at org.junit.internal.runners.model.EachTestNotifier.fireTestFinished(EachTestNotifier.java:38) | |
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:331) | |
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) | |
at net.serenitybdd.junit.runners.SerenityRunner.performRunChild(SerenityRunner.java:460) | |
at net.serenitybdd.junit.runners.SerenityRunner.runChild(SerenityRunner.java:433) | |
at net.serenitybdd.junit.runners.SerenityRunner.runChild(SerenityRunner.java:53) | |
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) | |
at org.apache.maven.surefire.junitcore.pc.Scheduler$1.run(Scheduler.java:393) | |
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) | |
at java.util.concurrent.FutureTask.run(FutureTask.java:266) | |
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) | |
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) | |
at java.lang.Thread.run(Thread.java:745) | |
[pool-1-thread-1] ERROR net.thucydides.core.webdriver.WebDriverFacade - FAILED TO CREATE NEW WEBDRIVER_DRIVER INSTANCE class org.openqa.selenium.firefox.FirefoxDriver: Could not instantiate new webdriver instance of type class org.openqa.selenium.firefox.FirefoxDriver (An unknown server-side error occurred while processing the command. Original error: Error occured while starting App. Original error: com.flipkart.android/com.flipkart.android.SplashActivity or .SplashActivity or .com.flipkart.android.SplashActivity never started (WARNING: The server did not provide any stacktrace information) | |
Command duration or timeout: 45.54 seconds | |
Build info: version: '2.53.1', revision: 'a36b8b1cd5757287168e54b817830adce9b0158d', time: '2016-06-30 19:26:09' | |
System info: host: 'Vikrams-MacBook-Pro.local', ip: '192.168.2.48', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.11.6', java.version: '1.8.0_102' | |
Driver info: org.openqa.selenium.remote.RemoteWebDriver | |
net.thucydides.core.webdriver.UnsupportedDriverException: Could not instantiate new webdriver instance of type class org.openqa.selenium.firefox.FirefoxDriver (An unknown server-side error occurred while processing the command. Original error: Error occured while starting App. Original error: com.flipkart.android/com.flipkart.android.SplashActivity or .SplashActivity or .com.flipkart.android.SplashActivity never started (WARNING: The server did not provide any stacktrace information) | |
Command duration or timeout: 45.54 seconds | |
Build info: version: '2.53.1', revision: 'a36b8b1cd5757287168e54b817830adce9b0158d', time: '2016-06-30 19:26:09' | |
System info: host: 'Vikrams-MacBook-Pro.local', ip: '192.168.2.48', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.11.6', java.version: '1.8.0_102' | |
Driver info: org.openqa.selenium.remote.RemoteWebDriver | |
at net.thucydides.core.webdriver.WebDriverFactory.newWebdriverInstance(WebDriverFactory.java:135) | |
at net.thucydides.core.webdriver.WebDriverFacade.newDriverInstance(WebDriverFacade.java:144) | |
at net.thucydides.core.webdriver.WebDriverFacade.newProxyDriver(WebDriverFacade.java:135) | |
at net.thucydides.core.webdriver.WebDriverFacade.getProxiedDriver(WebDriverFacade.java:105) | |
at net.thucydides.core.webdriver.WebDriverFacade.findElement(WebDriverFacade.java:273) | |
at org.openqa.selenium.support.ui.ExpectedConditions.findElement(ExpectedConditions.java:899) | |
at org.openqa.selenium.support.ui.ExpectedConditions.access$000(ExpectedConditions.java:41) | |
at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:205) | |
at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:201) | |
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:238) | |
at com.serenity.appium.poc.FlipkartLoginPage.gotoLoginPage(FlipkartLoginPage.java:31) | |
at com.serenity.appium.poc.cucumber_related.FlipkartLoginSteps.loginPageInvalidDataInput(FlipkartLoginSteps.java:15) | |
at com.serenity.appium.poc.cucumber_related.FlipkartLoginSteps$$EnhancerByCGLIB$$3208cdae.CGLIB$loginPageInvalidDataInput$0(<generated>) | |
at com.serenity.appium.poc.cucumber_related.FlipkartLoginSteps$$EnhancerByCGLIB$$3208cdae$$FastClassByCGLIB$$175511ef.invoke(<generated>) | |
at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228) | |
at net.thucydides.core.steps.StepInterceptor.invokeMethod(StepInterceptor.java:372) | |
at net.thucydides.core.steps.StepInterceptor.executeTestStepMethod(StepInterceptor.java:357) | |
at net.thucydides.core.steps.StepInterceptor.runTestStep(StepInterceptor.java:332) | |
at net.thucydides.core.steps.StepInterceptor.testStepResult(StepInterceptor.java:134) | |
at net.thucydides.core.steps.StepInterceptor.intercept(StepInterceptor.java:61) | |
at com.serenity.appium.poc.cucumber_related.FlipkartLoginSteps$$EnhancerByCGLIB$$3208cdae.loginPageInvalidDataInput(<generated>) | |
at com.serenity.appium.poc.FlipkartAppTest.verifyInvalidLogin(FlipkartAppTest.java:43) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:498) | |
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) | |
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) | |
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) | |
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) | |
at net.serenitybdd.junit.runners.SerenityStatement.evaluate(SerenityStatement.java:24) | |
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) | |
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) | |
at net.serenitybdd.junit.runners.SerenityRunner.performRunChild(SerenityRunner.java:460) | |
at net.serenitybdd.junit.runners.SerenityRunner.runChild(SerenityRunner.java:433) | |
at net.serenitybdd.junit.runners.SerenityRunner.runChild(SerenityRunner.java:53) | |
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) | |
at org.apache.maven.surefire.junitcore.pc.Scheduler$1.run(Scheduler.java:393) | |
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) | |
at java.util.concurrent.FutureTask.run(FutureTask.java:266) | |
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) | |
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) | |
at java.lang.Thread.run(Thread.java:745) | |
Caused by: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Error occured while starting App. Original error: com.flipkart.android/com.flipkart.android.SplashActivity or .SplashActivity or .com.flipkart.android.SplashActivity never started (WARNING: The server did not provide any stacktrace information) | |
Command duration or timeout: 45.54 seconds | |
Build info: version: '2.53.1', revision: 'a36b8b1cd5757287168e54b817830adce9b0158d', time: '2016-06-30 19:26:09' | |
System info: host: 'Vikrams-MacBook-Pro.local', ip: '192.168.2.48', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.11.6', java.version: '1.8.0_102' | |
Driver info: org.openqa.selenium.remote.RemoteWebDriver | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) | |
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) | |
at java.lang.reflect.Constructor.newInstance(Constructor.java:423) | |
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206) | |
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158) | |
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:678) | |
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:249) | |
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:131) | |
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:158) | |
at net.serenitybdd.core.webdriver.driverproviders.RemoteDriverProvider.newRemoteDriver(RemoteDriverProvider.java:145) | |
at net.serenitybdd.core.webdriver.driverproviders.RemoteDriverProvider.buildRemoteDriver(RemoteDriverProvider.java:107) | |
at net.serenitybdd.core.webdriver.driverproviders.RemoteDriverProvider.newInstance(RemoteDriverProvider.java:71) | |
at net.thucydides.core.webdriver.WebDriverFactory.newWebdriverInstance(WebDriverFactory.java:125) | |
... 42 more | |
Test mechanismjava.lang.NullPointerException: No BaseStepListener has been registered | |
at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:228) | |
at net.thucydides.core.steps.StepEventBus.getBaseStepListener(StepEventBus.java:108) | |
at net.thucydides.core.steps.StepEventBus.exceptionExpected(StepEventBus.java:638) | |
at net.thucydides.junit.listeners.JUnitStepListener.updateResultsForExpectedException(JUnitStepListener.java:106) | |
at net.thucydides.junit.listeners.JUnitStepListener.updateResultsUsingTestAnnotations(JUnitStepListener.java:101) | |
at net.thucydides.junit.listeners.JUnitStepListener.testFinished(JUnitStepListener.java:91) | |
at org.junit.runner.notification.SynchronizedRunListener.testFinished(SynchronizedRunListener.java:56) | |
at org.junit.runner.notification.RunNotifier$7.notifyListener(RunNotifier.java:190) | |
at org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:72) | |
at org.junit.runner.notification.RunNotifier.fireTestFinished(RunNotifier.java:187) | |
at org.junit.internal.runners.model.EachTestNotifier.fireTestFinished(EachTestNotifier.java:38) | |
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:331) | |
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) | |
at net.serenitybdd.junit.runners.SerenityRunner.performRunChild(SerenityRunner.java:460) | |
at net.serenitybdd.junit.runners.SerenityRunner.runChild(SerenityRunner.java:433) | |
at net.serenitybdd.junit.runners.SerenityRunner.runChild(SerenityRunner.java:53) | |
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) | |
at org.apache.maven.surefire.junitcore.pc.Scheduler$1.run(Scheduler.java:393) | |
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) | |
at java.util.concurrent.FutureTask.run(FutureTask.java:266) | |
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) | |
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) | |
at java.lang.Thread.run(Thread.java:745) | |
Running com.serenity.appium.poc.FlipkartAppTest | |
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.056 sec <<< FAILURE! - in com.serenity.appium.poc.FlipkartAppTest | |
Test mechanism Time elapsed: 0.056 sec <<< ERROR! | |
java.lang.NullPointerException: No BaseStepListener has been registered | |
Test mechanism Time elapsed: 0.001 sec <<< ERROR! | |
java.lang.NullPointerException: No BaseStepListener has been registered | |
Results : | |
Tests in error: | |
Test mechanism.Test mechanism | |
Run 1: No BaseStepListener has been registered | |
Run 2: No BaseStepListener has been registered | |
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment