Closed muli09 closed 6 years ago
Use the latest version of Serenity.
what is the latest version?
will latest version of Serenity support headless browser of chrome?
i mean the following concept ChromeOptions options = new ChromeOptions(); options.addArguments("window-size=1400,800"); options.addArguments("headless");
upgraded to 1.9 but still getting the same error .
fileingetion-feature)
Jun 07, 2018 8:49:50 PM org.openqa.selenium.remote.DesiredCapabilities chrome
INFO: Using new ChromeOptions()
is preferred to DesiredCapabilities.chrome()
Starting ChromeDriver 2.37.544315 (730aa6a5fdba159ac9f4c1e8cbc59bf1b5ce12b7) on port 4854
Only local connections are allowed.
63690 [main] WARN net.serenitybdd.core.webdriver.servicepools.ChromeServicePool - Remote driver creation failed (unknown error: Chrome failed to start: exited abnormally), falling back on default driver creation
Starting ChromeDriver 2.37.544315 (730aa6a5fdba159ac9f4c1e8cbc59bf1b5ce12b7) on port 15601
Only local connections are allowed.
123784 [main] ERROR net.thucydides.core.webdriver.WebDriverFacade - FAILED TO CREATE NEW WEBDRIVER_DRIVER INSTANCE class org.openqa.selenium.chrome.ChromeDriver: Could not instantiate new WebDriver instance of type class org.openqa.selenium.chrome.ChromeDriver (unknown error: Chrome failed to start: exited abnormally
(Driver info: chromedriver=2.37.544315 (730aa6a5fdba159ac9f4c1e8cbc59bf1b5ce12b7),platform=Linux 3.10.0-514.21.2.el7.x86_64 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 60.02 seconds
Build info: version: '3.12.0', revision: '7c6e0b3', time: '2018-05-08T14:04:26.12Z'
System info: host: 'md-bdadev-190.verizon.com', ip: '127.0.0.1', os.name: 'Linux', os.arch: 'amd64', os.version: '3.10.0-514.21.2.el7.x86_64', java.version: '1.8.0_102'
Driver info: driver.version: ChromeDriver
net.thucydides.core.webdriver.UnsupportedDriverException: Could not instantiate new WebDriver instance of type class org.openqa.selenium.chrome.ChromeDriver (unknown error: Chrome failed to start: exited abnormally
(Driver info: chromedriver=2.37.544315 (730aa6a5fdba159ac9f4c1e8cbc59bf1b5ce12b7),platform=Linux 3.10.0-514.21.2.el7.x86_64 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 60.02 seconds
Build info: version: '3.12.0', revision: '7c6e0b3', time: '2018-05-08T14:04:26.12Z'
System info: host: 'md-bdadev-190.verizon.com', ip: '127.0.0.1', os.name: 'Linux', os.arch: 'amd64', os.version: '3.10.0-514.21.2.el7.x86_64', java.version: '1.8.0_102'
Driver info: driver.version: ChromeDriver
It looks like an issue with chrome or chromedriver - make sure you have the latest chromedriver binary in the server:
“Could not instantiate new WebDriver instance of type class org.openqa.selenium.chrome.ChromeDriver (unknown error: Chrome failed to start: exited abnormally (Driver info: chromedriver=2.37.544315 (730aa6a5fdba159ac9f4c1e8cbc59bf1b5ce12b7),platform=Linux 3.10.0-514.21.2.el7.x86_64 x86_64)”
i'm using chrome browser 65 and chrome driver 2.37.
I believe this not related to compatibility issue.
Getting this use while running script in linux through jenkins because of this we are not able to achieve Continuous integration and Continuous development .
All the Serenity smoke tests run on a Jenkins machine running Linux. The error is coming from WebDrivver, not Serenity. It is most likely a compatibility issue between the version of Selenium used by Serenity (3.12.0) and the version of Chromedriver in the server.
am i missing browser path setting?
linux machine is a VM
The message might indicate that it is unable to start the Chrome browser.
Got the issue but need some solution ..Issue is my chrome browser installed in "/bin/google-chrome" but as per the chrome driver documentation, it is suppose to be in "usr/bin/google-chrome".
Please give me suggestion.
Got the issue but need some solution ..Issue is my chrome browser installed in "/bin/google-chrome" but as per the chrome driver documentation, it is suppose to be in "usr/bin/google-chrome".
Please give me suggestion.
You can create a symbolic link. But the chrome documentation would be a better source of information for this.
When i user headless options ,its working fine and the issue when use normal.
tried without serenity(basic testng)its working fine.
Can you provide me the some solution.
It sounds like an environment or project specific issue. I would suggest seeing if you can see if anyone on https://serenity-bdd.rocket.chat can help, or getting some commercial support (https://johnfergusonsmart.com/serenity-bdd-mentoring/).
getting this only when i execute from jenkins.
| | __/ __| | / | |/ \ | _ | _| \ | | | | \ \ | | _ \ | | / \ | |) || | | | | | | | | | | | ) || | ) || |/ | < | | | || || | || ||/ || |____/ |// __| _|| |_|____/
2896 [main] INFO net.serenitybdd.core.Serenity - TEST NUMBER: 1
3102 [main] ERROR net.thucydides.core.webdriver.WebDriverFacade - FAILED TO CREATE NEW WEBDRIVER_DRIVER INSTANCE class org.openqa.selenium.chrome.ChromeDriver: Could not instantiate new WebDriver instance of type class org.openqa.selenium.chrome.ChromeDriver (The driver executable does not exist: /data0/home/mulayma/Drivers/chromedriver
net.thucydides.core.webdriver.UnsupportedDriverException: Could not instantiate new WebDriver instance of type class org.openqa.selenium.chrome.ChromeDriver (The driver executable does not exist: /data0/home/mulayma/Drivers/chromedriver
at net.thucydides.core.webdriver.WebDriverFactory.newWebdriverInstance(WebDriverFactory.java:135)
at net.thucydides.core.webdriver.WebDriverFacade.newDriverInstance(WebDriverFacade.java:147)
at net.thucydides.core.webdriver.WebDriverFacade.newProxyDriver(WebDriverFacade.java:138)
at net.thucydides.core.webdriver.WebDriverFacade.getProxiedDriver(WebDriverFacade.java:108)
at net.thucydides.core.webdriver.WebDriverFacade.manage(WebDriverFacade.java:378)
at net.palomar.showcase.cucumber.steps.serenity.SerenitySteps.do_login(SerenitySteps.java:35)
at net.palomar.showcase.cucumber.steps.serenity.SerenitySteps$$EnhancerByCGLIB$$5922f3f8.CGLIB$do_login$1(
“The driver executable does not exist: /data0/home/mulayma/Drivers/chromedriver”
the same path used when i execute locally(through command promat)
This is unrelated to Serenity - you need to make sure the chromedriver binary is available on Jenkins as well as in your local machine.
Closing this issue as it is not a Serenity defect - for further help, see the links mentioned above.
Hello @wakaleo I was trying to run below codebase. https://github.com/browserstack/serenity-browserstack
And I am getting below error:
/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/bin/java -ea -Xmx1024m -XX:MaxPermSize=256m -Didea.test.cyclic.buffer.size=1048576 "-javaagent:/Applications/IntelliJ IDEA CE.app/Contents/lib/idea_rt.jar=61632:/Applications/IntelliJ IDEA CE.app/Contents/bin" -Dfile.encoding=UTF-8 -classpath "/Applications/IntelliJ IDEA CE.app/Contents/lib/idea_rt.jar:/Applications/IntelliJ IDEA CE.app/Contents/plugins/junit/lib/junit-rt.jar:/Applications/IntelliJ IDEA CE.app/Contents/plugins/junit/lib/junit5-rt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/jre/lib/deploy.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/jre/lib/ext/cldrdata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/jre/lib/ext/dnsns.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/jre/lib/ext/jaccess.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/jre/lib/ext/jfxrt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/jre/lib/ext/localedata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/jre/lib/ext/nashorn.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/jre/lib/ext/sunec.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/jre/lib/ext/sunjce_provider.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/jre/lib/ext/sunpkcs11.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/jre/lib/ext/zipfs.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/jre/lib/javaws.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/jre/lib/jce.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/jre/lib/jfr.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/jre/lib/jfxswt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/jre/lib/management-agent.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/jre/lib/plugin.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/lib/ant-javafx.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/lib/dt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/lib/javafx-mx.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/lib/jconsole.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/lib/packager.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/lib/sa-jdi.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/lib/tools.jar:/Users/shinds01/serenity-browserstack-master/target/test-classes:/Users/shinds01/.m2/repository/net/serenity-bdd/serenity-core/1.1.10/serenity-core-1.1.10.jar:/Users/shinds01/.m2/repository/com/google/guava/guava/18.0/guava-18.0.jar:/Users/shinds01/.m2/repository/com/google/inject/guice/3.0/guice-3.0.jar:/Users/shinds01/.m2/repository/javax/inject/javax.inject/1/javax.inject-1.jar:/Users/shinds01/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar:/Users/shinds01/.m2/repository/cglib/cglib/3.1/cglib-3.1.jar:/Users/shinds01/.m2/repository/org/ow2/asm/asm/5.0.3/asm-5.0.3.jar:/Users/shinds01/.m2/repository/commons-codec/commons-codec/1.9/commons-codec-1.9.jar:/Users/shinds01/.m2/repository/org/objenesis/objenesis/2.1/objenesis-2.1.jar:/Users/shinds01/.m2/repository/org/slf4j/slf4j-api/1.7.7/slf4j-api-1.7.7.jar:/Users/shinds01/.m2/repository/xml-apis/xml-apis/1.4.01/xml-apis-1.4.01.jar:/Users/shinds01/.m2/repository/info/cukes/cucumber-core/1.2.4/cucumber-core-1.2.4.jar:/Users/shinds01/.m2/repository/info/cukes/cucumber-html/0.2.3/cucumber-html-0.2.3.jar:/Users/shinds01/.m2/repository/info/cukes/cucumber-jvm-deps/1.0.5/cucumber-jvm-deps-1.0.5.jar:/Users/shinds01/.m2/repository/info/cukes/gherkin/2.12.2/gherkin-2.12.2.jar:/Users/shinds01/.m2/repository/commons-logging/commons-logging/1.2/commons-logging-1.2.jar:/Users/shinds01/.m2/repository/org/mockito/mockito-core/1.9.5/mockito-core-1.9.5.jar:/Users/shinds01/.m2/repository/net/serenity-bdd/serenity-report-resources/1.1.10/serenity-report-resources-1.1.10.jar:/Users/shinds01/.m2/repository/com/google/code/gson/gson/2.3.1/gson-2.3.1.jar:/Users/shinds01/.m2/repository/commons-io/commons-io/2.4/commons-io-2.4.jar:/Users/shinds01/.m2/repository/com/opera/operadriver/1.5/operadriver-1.5.jar:/Users/shinds01/.m2/repository/com/opera/operalaunchers/1.1/operalaunchers-1.1.jar:/Users/shinds01/.m2/repository/com/google/protobuf/protobuf-java/2.4.1/protobuf-java-2.4.1.jar:/Users/shinds01/.m2/repository/commons-jxpath/commons-jxpath/1.3/commons-jxpath-1.3.jar:/Users/shinds01/.m2/repository/org/ini4j/ini4j/0.5.2/ini4j-0.5.2.jar:/Users/shinds01/.m2/repository/org/seleniumhq/selenium/selenium-server/2.46.0/selenium-server-2.46.0.jar:/Users/shinds01/.m2/repository/org/bouncycastle/bcprov-jdk15on/1.48/bcprov-jdk15on-1.48.jar:/Users/shinds01/.m2/repository/org/bouncycastle/bcpkix-jdk15on/1.48/bcpkix-jdk15on-1.48.jar:/Users/shinds01/.m2/repository/mx4j/mx4j-tools/3.0.1/mx4j-tools-3.0.1.jar:/Users/shinds01/.m2/repository/org/mortbay/jetty/servlet-api-2.5/6.1.9/servlet-api-2.5-6.1.9.jar:/Users/shinds01/.m2/repository/org/seleniumhq/selenium/jetty-repacked/7.6.1/jetty-repacked-7.6.1.jar:/Users/shinds01/.m2/repository/org/seleniumhq/selenium/jetty-rc-repacked/5/jetty-rc-repacked-5.jar:/Users/shinds01/.m2/repository/net/jcip/jcip-annotations/1.0/jcip-annotations-1.0.jar:/Users/shinds01/.m2/repository/org/seleniumhq/selenium/selenium-java/2.46.0/selenium-java-2.46.0.jar:/Users/shinds01/.m2/repository/org/seleniumhq/selenium/selenium-chrome-driver/2.46.0/selenium-chrome-driver-2.46.0.jar:/Users/shinds01/.m2/repository/org/seleniumhq/selenium/selenium-remote-driver/2.46.0/selenium-remote-driver-2.46.0.jar:/Users/shinds01/.m2/repository/org/seleniumhq/selenium/selenium-api/2.46.0/selenium-api-2.46.0.jar:/Users/shinds01/.m2/repository/org/seleniumhq/selenium/selenium-htmlunit-driver/2.46.0/selenium-htmlunit-driver-2.46.0.jar:/Users/shinds01/.m2/repository/org/seleniumhq/selenium/selenium-firefox-driver/2.46.0/selenium-firefox-driver-2.46.0.jar:/Users/shinds01/.m2/repository/org/apache/commons/commons-exec/1.3/commons-exec-1.3.jar:/Users/shinds01/.m2/repository/org/seleniumhq/selenium/selenium-ie-driver/2.46.0/selenium-ie-driver-2.46.0.jar:/Users/shinds01/.m2/repository/net/java/dev/jna/jna/4.1.0/jna-4.1.0.jar:/Users/shinds01/.m2/repository/net/java/dev/jna/jna-platform/4.1.0/jna-platform-4.1.0.jar:/Users/shinds01/.m2/repository/org/seleniumhq/selenium/selenium-safari-driver/2.46.0/selenium-safari-driver-2.46.0.jar:/Users/shinds01/.m2/repository/org/seleniumhq/selenium/selenium-support/2.46.0/selenium-support-2.46.0.jar:/Users/shinds01/.m2/repository/org/webbitserver/webbit/0.4.14/webbit-0.4.14.jar:/Users/shinds01/.m2/repository/io/netty/netty/3.5.2.Final/netty-3.5.2.Final.jar:/Users/shinds01/.m2/repository/org/seleniumhq/selenium/selenium-leg-rc/2.46.0/selenium-leg-rc-2.46.0.jar:/Users/shinds01/.m2/repository/org/yaml/snakeyaml/1.8/snakeyaml-1.8.jar:/Users/shinds01/.m2/repository/com/codeborne/phantomjsdriver/1.2.1/phantomjsdriver-1.2.1.jar:/Users/shinds01/.m2/repository/io/appium/java-client/3.1.0/java-client-3.1.0.jar:/Users/shinds01/.m2/repository/org/codehaus/groovy/groovy/2.3.9/groovy-2.3.9.jar:/Users/shinds01/.m2/repository/net/sf/opencsv/opencsv/2.0/opencsv-2.0.jar:/Users/shinds01/.m2/repository/commons-beanutils/commons-beanutils-core/1.8.3/commons-beanutils-core-1.8.3.jar:/Users/shinds01/.m2/repository/joda-time/joda-time/2.7/joda-time-2.7.jar:/Users/shinds01/.m2/repository/com/thoughtworks/xstream/xstream/1.4.5/xstream-1.4.5.jar:/Users/shinds01/.m2/repository/xmlpull/xmlpull/1.1.3.1/xmlpull-1.1.3.1.jar:/Users/shinds01/.m2/repository/xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c.jar:/Users/shinds01/.m2/repository/org/apache/commons/commons-lang3/3.3.2/commons-lang3-3.3.2.jar:/Users/shinds01/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar:/Users/shinds01/.m2/repository/org/freemarker/freemarker/2.3.21/freemarker-2.3.21.jar:/Users/shinds01/.m2/repository/net/sourceforge/jexcelapi/jxl/2.6.12/jxl-2.6.12.jar:/Users/shinds01/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:/Users/shinds01/.m2/repository/org/hamcrest/hamcrest-library/1.3/hamcrest-library-1.3.jar:/Users/shinds01/.m2/repository/net/sourceforge/htmlunit/htmlunit/2.17/htmlunit-2.17.jar:/Users/shinds01/.m2/repository/xalan/xalan/2.7.2/xalan-2.7.2.jar:/Users/shinds01/.m2/repository/xalan/serializer/2.7.2/serializer-2.7.2.jar:/Users/shinds01/.m2/repository/net/sourceforge/htmlunit/htmlunit-core-js/2.17/htmlunit-core-js-2.17.jar:/Users/shinds01/.m2/repository/xerces/xercesImpl/2.11.0/xercesImpl-2.11.0.jar:/Users/shinds01/.m2/repository/net/sourceforge/nekohtml/nekohtml/1.9.22/nekohtml-1.9.22.jar:/Users/shinds01/.m2/repository/net/sourceforge/cssparser/cssparser/0.9.16/cssparser-0.9.16.jar:/Users/shinds01/.m2/repository/org/w3c/css/sac/1.3/sac-1.3.jar:/Users/shinds01/.m2/repository/org/eclipse/jetty/websocket/websocket-client/9.2.11.v20150529/websocket-client-9.2.11.v20150529.jar:/Users/shinds01/.m2/repository/org/eclipse/jetty/jetty-util/9.2.11.v20150529/jetty-util-9.2.11.v20150529.jar:/Users/shinds01/.m2/repository/org/eclipse/jetty/jetty-io/9.2.11.v20150529/jetty-io-9.2.11.v20150529.jar:/Users/shinds01/.m2/repository/org/eclipse/jetty/websocket/websocket-common/9.2.11.v20150529/websocket-common-9.2.11.v20150529.jar:/Users/shinds01/.m2/repository/org/eclipse/jetty/websocket/websocket-api/9.2.11.v20150529/websocket-api-9.2.11.v20150529.jar:/Users/shinds01/.m2/repository/org/apache/httpcomponents/httpclient/4.4.1/httpclient-4.4.1.jar:/Users/shinds01/.m2/repository/org/apache/httpcomponents/httpcore/4.4.1/httpcore-4.4.1.jar:/Users/shinds01/.m2/repository/org/apache/httpcomponents/httpmime/4.4.1/httpmime-4.4.1.jar:/Users/shinds01/.m2/repository/org/fluentlenium/fluentlenium-core/0.10.2/fluentlenium-core-0.10.2.jar:/Users/shinds01/.m2/repository/com/jhlabs/filters/2.0.235/filters-2.0.235.jar:/Users/shinds01/.m2/repository/org/asciidoctor/asciidoctor-java-integration/0.1.3/asciidoctor-java-integration-0.1.3.jar:/Users/shinds01/.m2/repository/org/jruby/jruby-complete/1.7.4/jruby-complete-1.7.4.jar:/Users/shinds01/.m2/repository/com/beust/jcommander/1.30/jcommander-1.30.jar:/Users/shinds01/.m2/repository/javax/validation/validation-api/1.1.0.Final/validation-api-1.1.0.Final.jar:/Users/shinds01/.m2/repository/org/hibernate/hibernate-validator/5.1.1.Final/hibernate-validator-5.1.1.Final.jar:/Users/shinds01/.m2/repository/org/jboss/logging/jboss-logging/3.1.3.GA/jboss-logging-3.1.3.GA.jar:/Users/shinds01/.m2/repository/com/fasterxml/classmate/1.0.0/classmate-1.0.0.jar:/Users/shinds01/.m2/repository/javax/el/javax.el-api/2.2.4/javax.el-api-2.2.4.jar:/Users/shinds01/.m2/repository/org/glassfish/web/javax.el/2.2.4/javax.el-2.2.4.jar:/Users/shinds01/.m2/repository/com/jayway/awaitility/awaitility/1.6.3/awaitility-1.6.3.jar:/Users/shinds01/.m2/repository/com/typesafe/config/1.2.1/config-1.2.1.jar:/Users/shinds01/.m2/repository/org/jsoup/jsoup/1.8.3/jsoup-1.8.3.jar:/Users/shinds01/.m2/repository/com/browserstack/browserstack-local-java/0.1.0/browserstack-local-java-0.1.0.jar:/Users/shinds01/.m2/repository/net/serenity-bdd/serenity-junit/1.1.10/serenity-junit-1.1.10.jar:/Users/shinds01/.m2/repository/net/serenity-bdd/serenity-rest-assured/1.1.10/serenity-rest-assured-1.1.10.jar:/Users/shinds01/.m2/repository/com/jayway/restassured/rest-assured/2.4.1/rest-assured-2.4.1.jar:/Users/shinds01/.m2/repository/org/ccil/cowan/tagsoup/tagsoup/1.2.1/tagsoup-1.2.1.jar:/Users/shinds01/.m2/repository/com/jayway/restassured/json-path/2.4.1/json-path-2.4.1.jar:/Users/shinds01/.m2/repository/com/jayway/restassured/rest-assured-common/2.4.1/rest-assured-common-2.4.1.jar:/Users/shinds01/.m2/repository/com/jayway/restassured/xml-path/2.4.1/xml-path-2.4.1.jar:/Users/shinds01/.m2/repository/net/serenity-bdd/serenity-cucumber/1.1.1/serenity-cucumber-1.1.1.jar:/Users/shinds01/.m2/repository/info/cukes/cucumber-java/1.2.4/cucumber-java-1.2.4.jar:/Users/shinds01/.m2/repository/info/cukes/cucumber-junit/1.2.4/cucumber-junit-1.2.4.jar:/Users/shinds01/.m2/repository/org/slf4j/slf4j-simple/1.6.1/slf4j-simple-1.6.1.jar:/Users/shinds01/.m2/repository/org/codehaus/groovy/groovy-all/1.8.6/groovy-all-1.8.6.jar:/Users/shinds01/.m2/repository/junit/junit/4.11/junit-4.11.jar:/Users/shinds01/.m2/repository/com/googlecode/lambdaj/lambdaj/2.3.3/lambdaj-2.3.3.jar:/Users/shinds01/.m2/repository/org/hamcrest/hamcrest-all/1.1/hamcrest-all-1.1.jar:/Users/shinds01/.m2/repository/cglib/cglib-nodep/2.2/cglib-nodep-2.2.jar:/Users/shinds01/.m2/repository/org/assertj/assertj-core/1.7.0/assertj-core-1.7.0.jar" com.intellij.rt.execution.junit.JUnitStarter -ideVersion5 -junit4 com.browserstack.cucumber.SingleTest Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0 164 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - LOADING LOCAL PROPERTIES FROM /Users/shinds01/serenity-browserstack-master/serenity.properties 166 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - LOADING LOCAL PROPERTIES FROM /Users/shinds01/serenity-browserstack-master/serenity.properties 177 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - environment.parallel_4.browser=ie 177 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - serenity.dry.run=false 177 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - environment.parallel_2.browser=firefox 177 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - serenity.driver.capabilities=mydriver 177 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - environment.parallel_1.name=parallel_test 177 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - environment.parallel_1.browser=chrome 178 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - environment.single.name=single_test 178 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - browserstack.key=testteam123 178 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - environment.parallel_2.name=parallel_test 178 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - environment.parallel_3.name=parallel_test 178 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - environment.local.name=local_test 178 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - webdriver.provided.type=mydriver 178 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - environment.parallel_4.name=parallel_test 179 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - serenity.take.screenshots=AFTER_EACH_STEP 179 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - environment.parallel_3.browser=safari 179 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - serenity.use.unique.browser=false 179 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - bstack_debug=true 179 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - environment.local.browserstack.local=true 179 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - bstack_build=serenity-browserstack 179 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - webdriver.driver=provided 179 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - environment.single.browser=chrome 179 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - webdriver.provided.mydriver=com.browserstack.BrowserStackSerenityDriver 179 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - bstack_browserstack.console=verbose 179 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - browserstack.server=hub-cloud.browserstack.com 179 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - webdriver.timeouts.implicitlywait=5000 179 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - browserstack.user=testteam.psm@gmail.com 179 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - environment.local.browser=chrome 929 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - LOADING LOCAL PROPERTIES FROM /Users/shinds01/serenity-browserstack-master/serenity.properties 929 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - LOADING LOCAL PROPERTIES FROM /Users/shinds01/serenity-browserstack-master/serenity.properties 930 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - environment.parallel_4.browser=ie 930 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - serenity.dry.run=false 930 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - environment.parallel_2.browser=firefox 930 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - serenity.driver.capabilities=mydriver 930 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - environment.parallel_1.name=parallel_test 930 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - environment.parallel_1.browser=chrome 930 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - environment.single.name=single_test 930 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - browserstack.key=testteam123 930 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - environment.parallel_2.name=parallel_test 930 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - environment.parallel_3.name=parallel_test 930 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - environment.local.name=local_test 930 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - webdriver.provided.type=mydriver 930 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - environment.parallel_4.name=parallel_test 930 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - serenity.take.screenshots=AFTER_EACH_STEP 930 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - environment.parallel_3.browser=safari 930 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - serenity.use.unique.browser=false 930 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - bstack_debug=true 930 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - environment.local.browserstack.local=true 930 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - bstack_build=serenity-browserstack 930 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - webdriver.driver=provided 930 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - environment.single.browser=chrome 930 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - webdriver.provided.mydriver=com.browserstack.BrowserStackSerenityDriver 930 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - bstack_browserstack.console=verbose 930 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - browserstack.server=hub-cloud.browserstack.com 930 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - webdriver.timeouts.implicitlywait=5000 930 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - browserstack.user=testteam.psm@gmail.com 930 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - environment.local.browser=chrome 990 [main] INFO net.serenitybdd.core.Serenity -
_______. _______ .______ _______ .__ __. __ .___________.____ ____
/ || ____|| _ \ | ____|| \ | | | | | |\ \ / /
| |__ | |_) | | |__ | \| | | |
---| |----\ \/ / \ \ | __| | / | __| | .
| | | | | _ _/995 [main] INFO net.serenitybdd.core.Serenity - Test Suite Started: Google's Search Functionality 1084 [main] INFO net.serenitybdd.core.Serenity -
| | __/ __| | / | |/ \ | _ | _| \ | | | | \ \ | | _ \ | | / \ | |) || | | | | | | | | | | | ) || | ) || |/ | < | | | || || | || ||/ || |____/ |// __| _|| |_|____/
1370 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - LOADING LOCAL PROPERTIES FROM /Users/shinds01/serenity-browserstack-master/serenity.properties 1370 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - LOADING LOCAL PROPERTIES FROM /Users/shinds01/serenity-browserstack-master/serenity.properties 1371 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - environment.parallel_4.browser=ie 1371 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - serenity.dry.run=false 1371 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - environment.parallel_2.browser=firefox 1371 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - serenity.driver.capabilities=mydriver 1371 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - environment.parallel_1.name=parallel_test 1371 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - environment.parallel_1.browser=chrome 1371 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - environment.single.name=single_test 1371 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - browserstack.key=testteam123 1371 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - environment.parallel_2.name=parallel_test 1371 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - environment.parallel_3.name=parallel_test 1371 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - environment.local.name=local_test 1371 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - webdriver.provided.type=mydriver 1371 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - environment.parallel_4.name=parallel_test 1371 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - serenity.take.screenshots=AFTER_EACH_STEP 1371 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - environment.parallel_3.browser=safari 1371 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - serenity.use.unique.browser=false 1371 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - bstack_debug=true 1371 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - environment.local.browserstack.local=true 1371 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - bstack_build=serenity-browserstack 1371 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - webdriver.driver=provided 1371 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - environment.single.browser=chrome 1371 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - webdriver.provided.mydriver=com.browserstack.BrowserStackSerenityDriver 1371 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - bstack_browserstack.console=verbose 1371 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - browserstack.server=hub-cloud.browserstack.com 1371 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - webdriver.timeouts.implicitlywait=5000 1371 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - browserstack.user=testteam.psm@gmail.com 1371 [main] INFO net.thucydides.core.util.PropertiesFileLocalPreferences - environment.local.browser=chrome org.openqa.selenium.remote.UnreachableBrowserException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure. 1764 [main] ERROR net.thucydides.core.webdriver.WebDriverFacade - FAILED TO CREATE NEW WEBDRIVER_DRIVER INSTANCE class net.thucydides.core.webdriver.ProvidedDriver: Could not instantiate class net.thucydides.core.webdriver.ProvidedDriver net.thucydides.core.webdriver.UnsupportedDriverException: Could not instantiate class net.thucydides.core.webdriver.ProvidedDriver at net.thucydides.core.webdriver.WebDriverFactory.newWebdriverInstance(WebDriverFactory.java:202) at net.thucydides.core.webdriver.WebDriverFacade.newDriverInstance(WebDriverFacade.java:137) at net.thucydides.core.webdriver.WebDriverFacade.newProxyDriver(WebDriverFacade.java:128) at net.thucydides.core.webdriver.WebDriverFacade.getProxiedDriver(WebDriverFacade.java:100) at net.thucydides.core.webdriver.WebDriverFacade.openIgnoringHtmlUnitScriptErrors(WebDriverFacade.java:173) at net.thucydides.core.webdriver.WebDriverFacade.get(WebDriverFacade.java:168) at net.serenitybdd.core.pages.PageObject.openPageAtUrl(PageObject.java:836) at net.serenitybdd.core.pages.PageObject.open(PageObject.java:746) at net.serenitybdd.core.pages.PageObject.open(PageObject.java:734) at com.browserstack.cucumber.steps.GoogleSearchSteps.search_google_for(GoogleSearchSteps.java:16) 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 cucumber.runtime.Utils$1.call(Utils.java:37) at cucumber.runtime.Timeout.timeout(Timeout.java:13) at cucumber.runtime.Utils.invoke(Utils.java:31) at cucumber.runtime.java.JavaStepDefinition.execute(JavaStepDefinition.java:38) at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:37) at cucumber.runtime.Runtime.runStep(Runtime.java:299) at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44) at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39) at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:44) at cucumber.runtime.junit.ExecutionUnitRunner.run(ExecutionUnitRunner.java:91) at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:63) at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:18) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) Build info: version: '2.46.0', revision: '61506a4624b13675f24581e453592342b7485d71', time: '2015-06-04 10:22:50' System info: host: 'mc-s103361.national.core.bbc.co.uk', ip: '10.56.124.203', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.12.6', java.version: '1.8.0_152' at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:70)
Driver info: driver.version: BrowserStackSerenityDriver
at cucumber.api.junit.Cucumber.runChild(Cucumber.java:93)
at cucumber.api.junit.Cucumber.runChild(Cucumber.java:37)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at cucumber.api.junit.Cucumber.run(Cucumber.java:98)
at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
Caused by: java.lang.NullPointerException at net.thucydides.core.webdriver.WebDriverFactory.setImplicitTimeoutsIfSpecified(WebDriverFactory.java:259) at net.thucydides.core.webdriver.WebDriverFactory.newWebdriverInstance(WebDriverFactory.java:194) ... 48 more
net.thucydides.core.webdriver.UnsupportedDriverException: Could not instantiate class net.thucydides.core.webdriver.ProvidedDriver
at net.thucydides.core.webdriver.WebDriverFacade.newDriverInstance(WebDriverFacade.java:141)
at net.thucydides.core.webdriver.WebDriverFacade.newProxyDriver(WebDriverFacade.java:128)
at net.thucydides.core.webdriver.WebDriverFacade.getProxiedDriver(WebDriverFacade.java:100)
at net.thucydides.core.webdriver.WebDriverFacade.openIgnoringHtmlUnitScriptErrors(WebDriverFacade.java:173)
at net.thucydides.core.webdriver.WebDriverFacade.get(WebDriverFacade.java:168)
at net.serenitybdd.core.pages.PageObject.openPageAtUrl(PageObject.java:836)
at net.serenitybdd.core.pages.PageObject.open(PageObject.java:746)
at net.serenitybdd.core.pages.PageObject.open(PageObject.java:734)
at com.browserstack.cucumber.steps.GoogleSearchSteps.search_google_for(GoogleSearchSteps.java:16)
at ✽.When I type query as "BrowserStack"(src/test/resources/features/single.feature:4)
Caused by: net.thucydides.core.webdriver.UnsupportedDriverException: Could not instantiate class net.thucydides.core.webdriver.ProvidedDriver at net.thucydides.core.webdriver.WebDriverFactory.newWebdriverInstance(WebDriverFactory.java:202) at net.thucydides.core.webdriver.WebDriverFacade.newDriverInstance(WebDriverFacade.java:137) at net.thucydides.core.webdriver.WebDriverFacade.newProxyDriver(WebDriverFacade.java:128) at net.thucydides.core.webdriver.WebDriverFacade.getProxiedDriver(WebDriverFacade.java:100) at net.thucydides.core.webdriver.WebDriverFacade.openIgnoringHtmlUnitScriptErrors(WebDriverFacade.java:173) at net.thucydides.core.webdriver.WebDriverFacade.get(WebDriverFacade.java:168) at net.serenitybdd.core.pages.PageObject.openPageAtUrl(PageObject.java:836) at net.serenitybdd.core.pages.PageObject.open(PageObject.java:746) at net.serenitybdd.core.pages.PageObject.open(PageObject.java:734) at com.browserstack.cucumber.steps.GoogleSearchSteps.search_google_for(GoogleSearchSteps.java:16) 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 cucumber.runtime.Utils$1.call(Utils.java:37) at cucumber.runtime.Timeout.timeout(Timeout.java:13) at cucumber.runtime.Utils.invoke(Utils.java:31) at cucumber.runtime.java.JavaStepDefinition.execute(JavaStepDefinition.java:38) at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:37) at cucumber.runtime.Runtime.runStep(Runtime.java:299) at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44) at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39) at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:44) at cucumber.runtime.junit.ExecutionUnitRunner.run(ExecutionUnitRunner.java:91) at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:63) at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:18) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:70) at cucumber.api.junit.Cucumber.runChild(Cucumber.java:93) at cucumber.api.junit.Cucumber.runChild(Cucumber.java:37) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at cucumber.api.junit.Cucumber.run(Cucumber.java:98) at org.junit.runner.JUnitCore.run(JUnitCore.java:160) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68) at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47) at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242) at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70) Caused by: java.lang.NullPointerException at net.thucydides.core.webdriver.WebDriverFactory.setImplicitTimeoutsIfSpecified(WebDriverFactory.java:259) at net.thucydides.core.webdriver.WebDriverFactory.newWebdriverInstance(WebDriverFactory.java:194) ... 48 more
net.thucydides.core.webdriver.UnsupportedDriverException: Could not instantiate class net.thucydides.core.webdriver.ProvidedDriver
at net.thucydides.core.webdriver.WebDriverFacade.newDriverInstance(WebDriverFacade.java:141)
at net.thucydides.core.webdriver.WebDriverFacade.newProxyDriver(WebDriverFacade.java:128)
at net.thucydides.core.webdriver.WebDriverFacade.getProxiedDriver(WebDriverFacade.java:100)
at net.thucydides.core.webdriver.WebDriverFacade.openIgnoringHtmlUnitScriptErrors(WebDriverFacade.java:173)
at net.thucydides.core.webdriver.WebDriverFacade.get(WebDriverFacade.java:168)
at net.serenitybdd.core.pages.PageObject.openPageAtUrl(PageObject.java:836)
at net.serenitybdd.core.pages.PageObject.open(PageObject.java:746)
at net.serenitybdd.core.pages.PageObject.open(PageObject.java:734)
at com.browserstack.cucumber.steps.GoogleSearchSteps.search_google_for(GoogleSearchSteps.java:16)
at ✽.When I type query as "BrowserStack"(src/test/resources/features/single.feature:4)
Caused by: net.thucydides.core.webdriver.UnsupportedDriverException: Could not instantiate class net.thucydides.core.webdriver.ProvidedDriver at net.thucydides.core.webdriver.WebDriverFactory.newWebdriverInstance(WebDriverFactory.java:202) at net.thucydides.core.webdriver.WebDriverFacade.newDriverInstance(WebDriverFacade.java:137) at net.thucydides.core.webdriver.WebDriverFacade.newProxyDriver(WebDriverFacade.java:128) at net.thucydides.core.webdriver.WebDriverFacade.getProxiedDriver(WebDriverFacade.java:100) at net.thucydides.core.webdriver.WebDriverFacade.openIgnoringHtmlUnitScriptErrors(WebDriverFacade.java:173) at net.thucydides.core.webdriver.WebDriverFacade.get(WebDriverFacade.java:168) at net.serenitybdd.core.pages.PageObject.openPageAtUrl(PageObject.java:836) at net.serenitybdd.core.pages.PageObject.open(PageObject.java:746) at net.serenitybdd.core.pages.PageObject.open(PageObject.java:734) at com.browserstack.cucumber.steps.GoogleSearchSteps.search_google_for(GoogleSearchSteps.java:16) 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 cucumber.runtime.Utils$1.call(Utils.java:37) at cucumber.runtime.Timeout.timeout(Timeout.java:13) at cucumber.runtime.Utils.invoke(Utils.java:31) at cucumber.runtime.java.JavaStepDefinition.execute(JavaStepDefinition.java:38) at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:37) at cucumber.runtime.Runtime.runStep(Runtime.java:299) at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44) at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39) at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:44) at cucumber.runtime.junit.ExecutionUnitRunner.run(ExecutionUnitRunner.java:91) at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:63) at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:18) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:70) at cucumber.api.junit.Cucumber.runChild(Cucumber.java:93) at cucumber.api.junit.Cucumber.runChild(Cucumber.java:37) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at cucumber.api.junit.Cucumber.run(Cucumber.java:98) at org.junit.runner.JUnitCore.run(JUnitCore.java:160) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68) at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47) at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242) at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70) Caused by: java.lang.NullPointerException at net.thucydides.core.webdriver.WebDriverFactory.setImplicitTimeoutsIfSpecified(WebDriverFactory.java:259) at net.thucydides.core.webdriver.WebDriverFactory.newWebdriverInstance(WebDriverFactory.java:194) ... 48 more
1782 [main] INFO net.serenitybdd.core.Serenity - STEP FAILED: net.thucydides.core.webdriver.UnsupportedDriverException: Could not instantiate class net.thucydides.core.webdriver.ProvidedDriver
Test ignored.
Test ignored. 1797 [main] INFO net.thucydides.core.reports.ReportService - Reporting formats: [JSON, XML, HTML] 1805 [main] INFO net.thucydides.core.reports.ReportService - Found reporter: net.thucydides.core.reports.xml.XMLTestOutcomeReporter@537b32ef(format = Optional.of(XML)) 1805 [main] INFO net.thucydides.core.reports.ReportService - Registering reporter: net.thucydides.core.reports.xml.XMLTestOutcomeReporter@537b32ef 1807 [main] INFO net.thucydides.core.reports.ReportService - Found reporter: net.thucydides.core.reports.json.JSONTestOutcomeReporter@62315f22(format = Optional.of(JSON)) 1807 [main] INFO net.thucydides.core.reports.ReportService - Registering reporter: net.thucydides.core.reports.json.JSONTestOutcomeReporter@62315f22 1861 [main] INFO net.thucydides.core.reports.ReportService - Found reporter: net.thucydides.core.reports.html.HtmlAcceptanceTestReporter@78c7f9b3(format = Optional.of(HTML)) 1861 [main] INFO net.thucydides.core.reports.ReportService - Registering reporter: net.thucydides.core.reports.html.HtmlAcceptanceTestReporter@78c7f9b3 2099 [main] INFO net.thucydides.core.reports.ReportService - Generating reports for 1 test outcomes using: net.thucydides.core.reports.xml.XMLTestOutcomeReporter@537b32ef 2100 [pool-1-thread-1] INFO net.thucydides.core.reports.ReportService - Processing test outcome Google's Search Functionality:Can find search results 2100 [pool-1-thread-1] INFO net.thucydides.core.reports.ReportService - net.thucydides.core.reports.xml.XMLTestOutcomeReporter@537b32ef: Generating report for test outcome: Google's Search Functionality:Can find search results 2102 [main] INFO net.thucydides.core.reports.junit.JUnitXMLOutcomeReporter - GENERATING JUNIT REPORTS 2109 [main] INFO net.thucydides.core.reports.junit.JUnitXMLOutcomeReporter - GENERATING JUNIT REPORT SERENITY-JUNIT-f101ae9dd5e21b6fbbe9db9d5b1b1888ce4746ec8b907401392f6e6021adb40a.xml 2187 [pool-1-thread-1] INFO net.thucydides.core.reports.xml.XMLTestOutcomeReporter - Generating XML report for Can find search results to file /Users/shinds01/serenity-browserstack-master/target/site/serenity/f101ae9dd5e21b6fbbe9db9d5b1b1888ce4746ec8b907401392f6e6021adb40a.xml 2233 [pool-1-thread-1] INFO net.thucydides.core.reports.xml.XMLTestOutcomeReporter - XML report generated (/Users/shinds01/serenity-browserstack-master/target/site/serenity/f101ae9dd5e21b6fbbe9db9d5b1b1888ce4746ec8b907401392f6e6021adb40a.xml bytes) 1304 2234 [pool-1-thread-1] INFO net.thucydides.core.reports.ReportService - Processing test outcome Google's Search Functionality:Can find search results done 2412 [main] INFO net.thucydides.core.reports.ReportService - Reports generated in: 313 ms 2412 [main] INFO net.thucydides.core.reports.ReportService - Generating reports for 1 test outcomes using: net.thucydides.core.reports.json.JSONTestOutcomeReporter@62315f22 2412 [main] INFO net.thucydides.core.reports.junit.JUnitXMLOutcomeReporter - GENERATING JUNIT REPORTS 2412 [pool-1-thread-2] INFO net.thucydides.core.reports.ReportService - Processing test outcome Google's Search Functionality:Can find search results 2412 [pool-1-thread-2] INFO net.thucydides.core.reports.ReportService - net.thucydides.core.reports.json.JSONTestOutcomeReporter@62315f22: Generating report for test outcome: Google's Search Functionality:Can find search results 2412 [main] INFO net.thucydides.core.reports.junit.JUnitXMLOutcomeReporter - GENERATING JUNIT REPORT SERENITY-JUNIT-f101ae9dd5e21b6fbbe9db9d5b1b1888ce4746ec8b907401392f6e6021adb40a.xml 2432 [pool-1-thread-2] INFO net.thucydides.core.reports.ReportService - Processing test outcome Google's Search Functionality:Can find search results done 2470 [main] INFO net.thucydides.core.reports.ReportService - Reports generated in: 58 ms 2471 [main] INFO net.thucydides.core.reports.ReportService - Generating reports for 1 test outcomes using: net.thucydides.core.reports.html.HtmlAcceptanceTestReporter@78c7f9b3 2471 [main] INFO net.thucydides.core.reports.junit.JUnitXMLOutcomeReporter - GENERATING JUNIT REPORTS 2471 [pool-1-thread-3] INFO net.thucydides.core.reports.ReportService - Processing test outcome Google's Search Functionality:Can find search results 2471 [pool-1-thread-3] INFO net.thucydides.core.reports.ReportService - net.thucydides.core.reports.html.HtmlAcceptanceTestReporter@78c7f9b3: Generating report for test outcome: Google's Search Functionality:Can find search results 2471 [main] INFO net.thucydides.core.reports.junit.JUnitXMLOutcomeReporter - GENERATING JUNIT REPORT SERENITY-JUNIT-f101ae9dd5e21b6fbbe9db9d5b1b1888ce4746ec8b907401392f6e6021adb40a.xml 2472 [pool-1-thread-3] INFO net.thucydides.core.requirements.RequirementsTagProvider - Reading requirements from net.thucydides.core.requirements.FileSystemRequirementsTagProvider@c0e8572 2472 [pool-1-thread-3] INFO net.thucydides.core.requirements.RequirementsTagProvider - Reading requirements from net.thucydides.core.requirements.PackageAnnotationBasedTagProvider@6cd06be5 2472 [pool-1-thread-3] INFO net.thucydides.core.requirements.RequirementsTagProvider - Requirement ancestors for:Requirement{name='Browser stack local testing', type='feature' parent = 'null', cardNumber='null'} = [Requirement{name='Browser stack local testing', type='feature' parent = 'null', cardNumber='null'}] 2472 [pool-1-thread-3] INFO net.thucydides.core.requirements.RequirementsTagProvider - Requirement ancestors for:Requirement{name='Google's search functionality', type='feature' parent = 'null', cardNumber='null'} = [Requirement{name='Google's search functionality', type='feature' parent = 'null', cardNumber='null'}] 2472 [pool-1-thread-3] INFO net.thucydides.core.requirements.RequirementsTagProvider - Requirements found:[Requirement{name='Browser stack local testing', type='feature' parent = 'null', cardNumber='null'}, Requirement{name='Google's search functionality', type='feature' parent = 'null', cardNumber='null'}] 3360 [pool-1-thread-3] INFO net.thucydides.core.reports.html.HtmlAcceptanceTestReporter - GENERATING HTML REPORT FOR Google's Search Functionality:Can find search results => f101ae9dd5e21b6fbbe9db9d5b1b1888ce4746ec8b907401392f6e6021adb40a.html 3372 [pool-1-thread-3] INFO net.thucydides.core.reports.ReportService - Processing test outcome Google's Search Functionality:Can find search results done 3417 [main] INFO net.thucydides.core.reports.ReportService - Reports generated in: 946 ms
Failed scenarios: src/test/resources/features/single.feature:3 # Scenario: Can find search results
1 Scenarios (1 failed) 3 Steps (1 failed, 2 skipped) 0m0.503s
net.thucydides.core.webdriver.UnsupportedDriverException: Could not instantiate class net.thucydides.core.webdriver.ProvidedDriver at net.thucydides.core.webdriver.WebDriverFacade.newDriverInstance(WebDriverFacade.java:141) at net.thucydides.core.webdriver.WebDriverFacade.newProxyDriver(WebDriverFacade.java:128) at net.thucydides.core.webdriver.WebDriverFacade.getProxiedDriver(WebDriverFacade.java:100) at net.thucydides.core.webdriver.WebDriverFacade.openIgnoringHtmlUnitScriptErrors(WebDriverFacade.java:173) at net.thucydides.core.webdriver.WebDriverFacade.get(WebDriverFacade.java:168) at net.serenitybdd.core.pages.PageObject.openPageAtUrl(PageObject.java:836) at net.serenitybdd.core.pages.PageObject.open(PageObject.java:746) at net.serenitybdd.core.pages.PageObject.open(PageObject.java:734) at com.browserstack.cucumber.steps.GoogleSearchSteps.search_google_for(GoogleSearchSteps.java:16) at ✽.When I type query as "BrowserStack"(src/test/resources/features/single.feature:4) Caused by: net.thucydides.core.webdriver.UnsupportedDriverException: Could not instantiate class net.thucydides.core.webdriver.ProvidedDriver at net.thucydides.core.webdriver.WebDriverFactory.newWebdriverInstance(WebDriverFactory.java:202) at net.thucydides.core.webdriver.WebDriverFacade.newDriverInstance(WebDriverFacade.java:137) at net.thucydides.core.webdriver.WebDriverFacade.newProxyDriver(WebDriverFacade.java:128) at net.thucydides.core.webdriver.WebDriverFacade.getProxiedDriver(WebDriverFacade.java:100) at net.thucydides.core.webdriver.WebDriverFacade.openIgnoringHtmlUnitScriptErrors(WebDriverFacade.java:173) at net.thucydides.core.webdriver.WebDriverFacade.get(WebDriverFacade.java:168) at net.serenitybdd.core.pages.PageObject.openPageAtUrl(PageObject.java:836) at net.serenitybdd.core.pages.PageObject.open(PageObject.java:746) at net.serenitybdd.core.pages.PageObject.open(PageObject.java:734) at com.browserstack.cucumber.steps.GoogleSearchSteps.search_google_for(GoogleSearchSteps.java:16) 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 cucumber.runtime.Utils$1.call(Utils.java:37) at cucumber.runtime.Timeout.timeout(Timeout.java:13) at cucumber.runtime.Utils.invoke(Utils.java:31) at cucumber.runtime.java.JavaStepDefinition.execute(JavaStepDefinition.java:38) at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:37) at cucumber.runtime.Runtime.runStep(Runtime.java:299) at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44) at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39) at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:44) at cucumber.runtime.junit.ExecutionUnitRunner.run(ExecutionUnitRunner.java:91) at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:63) at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:18) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:70) at cucumber.api.junit.Cucumber.runChild(Cucumber.java:93) at cucumber.api.junit.Cucumber.runChild(Cucumber.java:37) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at cucumber.api.junit.Cucumber.run(Cucumber.java:98) at org.junit.runner.JUnitCore.run(JUnitCore.java:160) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68) at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47) at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242) at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70) Caused by: java.lang.NullPointerException at net.thucydides.core.webdriver.WebDriverFactory.setImplicitTimeoutsIfSpecified(WebDriverFactory.java:259) at net.thucydides.core.webdriver.WebDriverFactory.newWebdriverInstance(WebDriverFactory.java:194) ... 48 more
Process finished with exit code 255
Hi @savita20; that looks quite project-specific (you have a provided driver, the failing code seems to be being called from an @After method or hook of some sort). We would need to look at the project code.
Hi @wakaleo I have took https://github.com/browserstack/serenity-browserstack this code from github and just added my browser stack user name & password.. Actually my goal is to migrate my Serenity Screenplay test cases with browserstack.
"C:\Program Files\Java\jdk1.8.0_201\bin\java.exe" "-Dmaven.multiModuleProjectDirectory=C:\Users\Rumah Cawang\IdeaProjects\blibliautomationtraining" "-Dmaven.home=C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2018.3.4\plugins\maven\lib\maven3" "-Dclassworlds.conf=C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2018.3.4\plugins\maven\lib\maven3\bin\m2.conf" "-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2018.3.4\lib\idea_rt.jar=62263:C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2018.3.4\bin" -Dfile.encoding=UTF-8 -classpath "C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2018.3.4\plugins\maven\lib\maven3\boot\plexus-classworlds-2.5.2.jar" org.codehaus.classworlds.Launcher -Didea.version=2018.3.4 verify
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Sample Serenity project using Cucumber and WebDriver 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ blibli-automation-training ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\Users\Rumah Cawang\IdeaProjects\blibliautomationtraining\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ blibli-automation-training ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ blibli-automation-training ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ blibli-automation-training ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ blibli-automation-training ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ blibli-automation-training ---
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO]
[INFO] --- maven-failsafe-plugin:2.19.1:integration-test (default) @ blibli-automation-training ---
Running com.blibli.DefinitionTestSuite [main] INFO net.serenitybdd.core.Serenity -
_______. _______ .______ _______ .__ __. __ .___________.____ ____
/ || ____|| _ \ | ____|| \ | | | | | |\ \ / /
| (----| |__ | |_) | | |__ | \| | | |
---| |----\ \/ / \ \ | __| | / | __| | .
| | | | | _ _/
.----) | | | | |\ ----.| | | |\ | | | | | | |
|/ ||| | `.____||__||_| \| || || |__|
[main] INFO net.serenitybdd.core.Serenity - Test Suite Started: Lookup a definition [main] INFO net.serenitybdd.core.Serenity -
| | __/ __| | / | |/ \ | _ | _| \ | | | | \ \ | | _ \ | | / \ | |) || | | | | | | | | | | | ) || | ) || |/ | < | | | || || | || ||/ || |____/ |// __| _|| |_|____/
TEST STARTED: Looking up the definition of 'apple'
-------------------------------------------------------------------(lookup-a-definition;looking-up-the-definition-of--apple-)
[main] ERROR net.thucydides.core.webdriver.WebDriverFacade - FAILED TO CREATE NEW WEBDRIVER_DRIVER INSTANCE class org.openqa.selenium.chrome.ChromeDriver: Could not instantiate new WebDriver instance of type class org.openqa.selenium.chrome.ChromeDriver (The path to the chromedriver driver executable must be set by the webdriver.chrome.driver system property; for more information, see https://sites.google.com/a/chromium.org/chromedriver/downloads. The latest version can be downloaded from https://sites.google.com/a/chromium.org/chromedriver/downloads
net.thucydides.core.webdriver.UnsupportedDriverException: Could not instantiate new WebDriver instance of type class org.openqa.selenium.chrome.ChromeDriver (The path to the chromedriver driver executable must be set by the webdriver.chrome.driver system property; for more information, see https://sites.google.com/a/chromium.org/chromedriver/downloads. The latest version can be downloaded from https://sites.google.com/a/chromium.org/chromedriver/downloads
at net.thucydides.core.webdriver.WebDriverFactory.newWebdriverInstance(WebDriverFactory.java:133)
at net.thucydides.core.webdriver.WebDriverFacade.newDriverInstance(WebDriverFacade.java:153)
at net.thucydides.core.webdriver.WebDriverFacade.newProxyDriver(WebDriverFacade.java:144)
at net.thucydides.core.webdriver.WebDriverFacade.getProxiedDriver(WebDriverFacade.java:114)
at net.thucydides.core.webdriver.WebDriverFacade.openIgnoringHtmlUnitScriptErrors(WebDriverFacade.java:189)
at net.thucydides.core.webdriver.WebDriverFacade.get(WebDriverFacade.java:184)
at net.serenitybdd.core.pages.PageObject.openPageAtUrl(PageObject.java:838)
at net.serenitybdd.core.pages.PageObject.open(PageObject.java:742)
at net.serenitybdd.core.pages.PageObject.open(PageObject.java:730)
at com.blibli.steps.serenity.EndUserSteps.is_the_home_page(EndUserSteps.java:32)
at com.blibli.steps.serenity.EndUserSteps$$EnhancerByCGLIB$$536c369a.CGLIB$is_the_home_page$1(
/ / | _| __/ __| | | / \ | | | | _| \ ()____| | | | | | \ \ | | | | / \ | || | | | | | | | |__| | | | | | ) || | | / __ \ | || || || || | () | | || ||/ || ||// __|||___/ \\
[main] ERROR net.serenitybdd.core.Serenity - TEST FAILED AT STEP Is the home page [main] ERROR net.serenitybdd.core.Serenity - Could not instantiate new WebDriver instance of type class org.openqa.selenium.chrome.ChromeDriver (The path to the chromedriver driver executable must be set by the webdriver.chrome.driver system property; for more information, see https://sites.google.com/a/chromium.org/chromedriver/downloads. The latest version can be downloaded from https://sites.google.com/a/chromium.org/chromedriver/downloads [main] ERROR net.serenitybdd.core.Serenity -
/ / | _| __/ __| | | / \ | | | | _| \ ()____| | | | | | \ \ | | | | / \ | || | | | | | | | |__| | | | | | ) || | | / __ \ | || || || || | () | | || ||/ || ||// __|||___/ \\
[main] ERROR net.serenitybdd.core.Serenity - TEST FAILED AT STEP Is the home page [main] ERROR net.serenitybdd.core.Serenity - Could not instantiate new WebDriver instance of type class org.openqa.selenium.chrome.ChromeDriver (The path to the chromedriver driver executable must be set by the webdriver.chrome.driver system property; for more information, see https://sites.google.com/a/chromium.org/chromedriver/downloads. The latest version can be downloaded from https://sites.google.com/a/chromium.org/chromedriver/downloads [main] INFO net.serenitybdd.core.Serenity -
| | __/ __| | / | |/ \ | _ | _| \ | | | | \ \ | | _ \ | | / \ | |) || | | | | | | | | | | | ) || | ) || |/ | < | | | || || | || ||/ || |____/ |// __| _|| |_|____/
TEST STARTED: Looking up the definition of 'pear'
-------------------------------------------------------------------(lookup-a-definition;looking-up-the-definition-of--pear-)
[main] ERROR net.thucydides.core.webdriver.WebDriverFacade - FAILED TO CREATE NEW WEBDRIVER_DRIVER INSTANCE class org.openqa.selenium.chrome.ChromeDriver: Could not instantiate new WebDriver instance of type class org.openqa.selenium.chrome.ChromeDriver (The path to the chromedriver driver executable must be set by the webdriver.chrome.driver system property; for more information, see https://sites.google.com/a/chromium.org/chromedriver/downloads. The latest version can be downloaded from https://sites.google.com/a/chromium.org/chromedriver/downloads
net.thucydides.core.webdriver.UnsupportedDriverException: Could not instantiate new WebDriver instance of type class org.openqa.selenium.chrome.ChromeDriver (The path to the chromedriver driver executable must be set by the webdriver.chrome.driver system property; for more information, see https://sites.google.com/a/chromium.org/chromedriver/downloads. The latest version can be downloaded from https://sites.google.com/a/chromium.org/chromedriver/downloads
at net.thucydides.core.webdriver.WebDriverFactory.newWebdriverInstance(WebDriverFactory.java:133)
at net.thucydides.core.webdriver.WebDriverFacade.newDriverInstance(WebDriverFacade.java:153)
at net.thucydides.core.webdriver.WebDriverFacade.newProxyDriver(WebDriverFacade.java:144)
at net.thucydides.core.webdriver.WebDriverFacade.getProxiedDriver(WebDriverFacade.java:114)
at net.thucydides.core.webdriver.WebDriverFacade.openIgnoringHtmlUnitScriptErrors(WebDriverFacade.java:189)
at net.thucydides.core.webdriver.WebDriverFacade.get(WebDriverFacade.java:184)
at net.serenitybdd.core.pages.PageObject.openPageAtUrl(PageObject.java:838)
at net.serenitybdd.core.pages.PageObject.open(PageObject.java:742)
at net.serenitybdd.core.pages.PageObject.open(PageObject.java:730)
at com.blibli.steps.serenity.EndUserSteps.is_the_home_page(EndUserSteps.java:32)
at com.blibli.steps.serenity.EndUserSteps$$EnhancerByCGLIB$$536c369a.CGLIB$is_the_home_page$1(
/ / | _| __/ __| | | / \ | | | | _| \ ()____| | | | | | \ \ | | | | / \ | || | | | | | | | |__| | | | | | ) || | | / __ \ | || || || || | () | | || ||/ || ||// __|||___/ \\
[main] ERROR net.serenitybdd.core.Serenity - TEST FAILED AT STEP Is the home page [main] ERROR net.serenitybdd.core.Serenity - Could not instantiate new WebDriver instance of type class org.openqa.selenium.chrome.ChromeDriver (The path to the chromedriver driver executable must be set by the webdriver.chrome.driver system property; for more information, see https://sites.google.com/a/chromium.org/chromedriver/downloads. The latest version can be downloaded from https://sites.google.com/a/chromium.org/chromedriver/downloads [main] ERROR net.serenitybdd.core.Serenity -
/ / | _| __/ __| | | / \ | | | | _| \ ()____| | | | | | \ \ | | | | / \ | || | | | | | | | |__| | | | | | ) || | | / __ \ | || || || || | () | | || ||/ || ||// __|||___/ \\
[main] ERROR net.serenitybdd.core.Serenity - TEST FAILED AT STEP Is the home page [main] ERROR net.serenitybdd.core.Serenity - Could not instantiate new WebDriver instance of type class org.openqa.selenium.chrome.ChromeDriver (The path to the chromedriver driver executable must be set by the webdriver.chrome.driver system property; for more information, see https://sites.google.com/a/chromium.org/chromedriver/downloads. The latest version can be downloaded from https://sites.google.com/a/chromium.org/chromedriver/downloads
Failed scenarios: src/test/resources/features/consult_dictionary/LookupADefinition.feature:6 # Looking up the definition of 'apple' src/test/resources/features/consult_dictionary/LookupADefinition.feature:11 # Looking up the definition of 'pear'
2 Scenarios (2 failed) 6 Steps (2 failed, 4 skipped) 0m1.163s
net.thucydides.core.webdriver.UnsupportedDriverException: Could not instantiate class org.openqa.selenium.chrome.ChromeDriver
at net.thucydides.core.webdriver.WebDriverFacade.newDriverInstance(WebDriverFacade.java:157)
at net.thucydides.core.webdriver.WebDriverFacade.newProxyDriver(WebDriverFacade.java:144)
at net.thucydides.core.webdriver.WebDriverFacade.getProxiedDriver(WebDriverFacade.java:114)
at net.thucydides.core.webdriver.WebDriverFacade.openIgnoringHtmlUnitScriptErrors(WebDriverFacade.java:189)
at net.thucydides.core.webdriver.WebDriverFacade.get(WebDriverFacade.java:184)
at net.serenitybdd.core.pages.PageObject.openPageAtUrl(PageObject.java:838)
at net.serenitybdd.core.pages.PageObject.open(PageObject.java:742)
at net.serenitybdd.core.pages.PageObject.open(PageObject.java:730)
at com.blibli.steps.serenity.EndUserSteps.is_the_home_page(EndUserSteps.java:32)
at com.blibli.steps.serenity.EndUserSteps$$EnhancerByCGLIB$$536c369a.CGLIB$is_the_home_page$1(
net.thucydides.core.webdriver.UnsupportedDriverException: Could not instantiate class org.openqa.selenium.chrome.ChromeDriver
at net.thucydides.core.webdriver.WebDriverFacade.newDriverInstance(WebDriverFacade.java:157)
at net.thucydides.core.webdriver.WebDriverFacade.newProxyDriver(WebDriverFacade.java:144)
at net.thucydides.core.webdriver.WebDriverFacade.getProxiedDriver(WebDriverFacade.java:114)
at net.thucydides.core.webdriver.WebDriverFacade.openIgnoringHtmlUnitScriptErrors(WebDriverFacade.java:189)
at net.thucydides.core.webdriver.WebDriverFacade.get(WebDriverFacade.java:184)
at net.serenitybdd.core.pages.PageObject.openPageAtUrl(PageObject.java:838)
at net.serenitybdd.core.pages.PageObject.open(PageObject.java:742)
at net.serenitybdd.core.pages.PageObject.open(PageObject.java:730)
at com.blibli.steps.serenity.EndUserSteps.is_the_home_page(EndUserSteps.java:32)
at com.blibli.steps.serenity.EndUserSteps$$EnhancerByCGLIB$$536c369a.CGLIB$is_the_home_page$1(
Tests run: 8, Failures: 0, Errors: 4, Skipped: 4, Time elapsed: 3.096 sec <<< FAILURE! - in com.blibli.DefinitionTestSuite the user is on the Wikionary home page(Looking up the definition of 'apple') Time elapsed: 0.547 sec <<< ERROR! net.thucydides.core.webdriver.UnsupportedDriverException: Could not instantiate class org.openqa.selenium.chrome.ChromeDriver Caused by: net.thucydides.core.webdriver.UnsupportedDriverException: Could not instantiate new WebDriver instance of type class org.openqa.selenium.chrome.ChromeDriver (The path to the chromedriver driver executable must be set by the webdriver.chrome.driver system property; for more information, see https://sites.google.com/a/chromium.org/chromedriver/downloads. The latest version can be downloaded from https://sites.google.com/a/chromium.org/chromedriver/downloads Caused by: java.lang.IllegalStateException: The path to the chromedriver driver executable must be set by the webdriver.chrome.driver system property; for more information, see https://sites.google.com/a/chromium.org/chromedriver/downloads. The latest version can be downloaded from https://sites.google.com/a/chromium.org/chromedriver/downloads
Looking up the definition of 'apple' Time elapsed: 0.111 sec <<< ERROR! net.thucydides.core.webdriver.UnsupportedDriverException: Could not instantiate class org.openqa.selenium.chrome.ChromeDriver Caused by: net.thucydides.core.webdriver.UnsupportedDriverException: Could not instantiate new WebDriver instance of type class org.openqa.selenium.chrome.ChromeDriver (The path to the chromedriver driver executable must be set by the webdriver.chrome.driver system property; for more information, see https://sites.google.com/a/chromium.org/chromedriver/downloads. The latest version can be downloaded from https://sites.google.com/a/chromium.org/chromedriver/downloads Caused by: java.lang.IllegalStateException: The path to the chromedriver driver executable must be set by the webdriver.chrome.driver system property; for more information, see https://sites.google.com/a/chromium.org/chromedriver/downloads. The latest version can be downloaded from https://sites.google.com/a/chromium.org/chromedriver/downloads
the user is on the Wikionary home page(Looking up the definition of 'pear') Time elapsed: 0.094 sec <<< ERROR! net.thucydides.core.webdriver.UnsupportedDriverException: Could not instantiate class org.openqa.selenium.chrome.ChromeDriver Caused by: net.thucydides.core.webdriver.UnsupportedDriverException: Could not instantiate new WebDriver instance of type class org.openqa.selenium.chrome.ChromeDriver (The path to the chromedriver driver executable must be set by the webdriver.chrome.driver system property; for more information, see https://sites.google.com/a/chromium.org/chromedriver/downloads. The latest version can be downloaded from https://sites.google.com/a/chromium.org/chromedriver/downloads Caused by: java.lang.IllegalStateException: The path to the chromedriver driver executable must be set by the webdriver.chrome.driver system property; for more information, see https://sites.google.com/a/chromium.org/chromedriver/downloads. The latest version can be downloaded from https://sites.google.com/a/chromium.org/chromedriver/downloads
Looking up the definition of 'pear' Time elapsed: 0.015 sec <<< ERROR! net.thucydides.core.webdriver.UnsupportedDriverException: Could not instantiate class org.openqa.selenium.chrome.ChromeDriver Caused by: net.thucydides.core.webdriver.UnsupportedDriverException: Could not instantiate new WebDriver instance of type class org.openqa.selenium.chrome.ChromeDriver (The path to the chromedriver driver executable must be set by the webdriver.chrome.driver system property; for more information, see https://sites.google.com/a/chromium.org/chromedriver/downloads. The latest version can be downloaded from https://sites.google.com/a/chromium.org/chromedriver/downloads Caused by: java.lang.IllegalStateException: The path to the chromedriver driver executable must be set by the webdriver.chrome.driver system property; for more information, see https://sites.google.com/a/chromium.org/chromedriver/downloads. The latest version can be downloaded from https://sites.google.com/a/chromium.org/chromedriver/downloads
Results :
Tests in error: Could not instantiate class org.openqa.selenium.chrome.ChromeDriver Could not instantiate class org.openqa.selenium.chrome.ChromeDriver Could not instantiate class org.openqa.selenium.chrome.ChromeDriver Could not instantiate class org.openqa.selenium.chrome.ChromeDriver
Tests run: 8, Failures: 0, Errors: 4, Skipped: 4
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent! The file encoding for reports output files should be provided by the POM property ${project.reporting.outputEncoding}. [INFO] [INFO] --- serenity-maven-plugin:1.8.3:aggregate (serenity-reports) @ blibli-automation-training --- [INFO] current_project.base.dir: C:\Users\Rumah Cawang\IdeaProjects\blibliautomationtraining [INFO] Generating test results for 2 tests [INFO] 3 requirements loaded after 174 ms [INFO] 3 related requirements found after 174 ms [INFO] Generating test outcome reports: false [INFO] Starting generating reports: 232 ms [INFO] Configured report threads: 20 [INFO] Test results for 2 tests generated in 1868 ms [INFO] [INFO] --- maven-failsafe-plugin:2.19.1:verify (default) @ blibli-automation-training --- [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent! The file encoding for reports output files should be provided by the POM property ${project.reporting.outputEncoding}. [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 9.926 s [INFO] Finished at: 2019-02-03T19:34:33+07:00 [INFO] Final Memory: 23M/314M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.19.1:verify (default) on project blibli-automation-training: There are test failures. [ERROR] [ERROR] Please refer to C:\Users\Rumah Cawang\IdeaProjects\blibliautomationtraining\target\failsafe-reports for the individual test results. [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Process finished with exit code 1
can you help me to solve this? thank you so much! I frustated about installed chromedriver, but still are the same like that :(
As it says, "The path to the chromedriver driver executable must be set by the webdriver.chrome.driver system property"
As it says, "The path to the chromedriver driver executable must be set by the webdriver.chrome.driver system property"
where should I put "webdriver.chrome.driver" ? in pom.xml or new java class? sorry I beginner for this.
Getting the following Error while executing my script in centos(linux) machine through jenkins but when i execute the plan selenium script with out Serinity BDD was able to execute them.
Following is the my pom.xml file
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
| | __/ __| | / | |/ \ | _ | _| \ | | | | \ \ | | _ \ | | / \ | |) || | | | | | | | | | | | ) || | ) || |/ | < | | | || || | || ||/ || |____/ |// __| _|| |_|____/
TEST STARTED: Various tests for FileIngetion Feature
Starting ChromeDriver 2.37.544315 (730aa6a5fdba159ac9f4c1e8cbc59bf1b5ce12b7) on port 17048 Only local connections are allowed. log4j:WARN No appenders could be found for logger (org.apache.http.client.protocol.RequestAddCookies). log4j:WARN Please initialize the log4j system properly. 63906 [main] WARN net.serenitybdd.core.webdriver.servicepools.ChromeServicePool - Remote driver creation failed (unknown error: Chrome failed to start: exited abnormally), falling back on default driver creation Starting ChromeDriver 2.37.544315 (730aa6a5fdba159ac9f4c1e8cbc59bf1b5ce12b7) on port 23144 Only local connections are allowed. 124009 [main] ERROR net.thucydides.core.webdriver.WebDriverFacade - FAILED TO CREATE NEW WEBDRIVER_DRIVER INSTANCE class org.openqa.selenium.chrome.ChromeDriver: Could not instantiate new WebDriver instance of type class org.openqa.selenium.chrome.ChromeDriver (unknown error: Chrome failed to start: exited abnormally (Driver info: chromedriver=2.37.544315 (730aa6a5fdba159ac9f4c1e8cbc59bf1b5ce12b7),platform=Linux 3.10.0-514.21.2.el7.x86_64 x86_64) (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 60.06 seconds Build info: version: '3.4.0', revision: 'unknown', time: 'unknown' System info: host: 'md-bdadev-190.verizon.com', ip: '127.0.0.1', os.name: 'Linux', os.arch: 'amd64', os.version: '3.10.0-514.21.2.el7.x86_64', java.version: '1.8.0_102' Driver info: driver.version: ChromeDriver net.thucydides.core.webdriver.UnsupportedDriverException: Could not instantiate new WebDriver instance of type class org.openqa.selenium.chrome.ChromeDriver (unknown error: Chrome failed to start: exited abnormally (Driver info: chromedriver=2.37.544315 (730aa6a5fdba159ac9f4c1e8cbc59bf1b5ce12b7),platform=Linux 3.10.0-514.21.2.el7.x86_64 x86_64) (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 60.06 seconds Build info: version: '3.4.0', revision: 'unknown', time: 'unknown' System info: host: 'md-bdadev-190.verizon.com', ip: '127.0.0.1', os.name: 'Linux', os.arch: 'amd64', os.version: '3.10.0-514.21.2.el7.x86_64', java.version: '1.8.0_102' Driver info: driver.version: ChromeDriver at net.thucydides.core.webdriver.WebDriverFactory.newWebdriverInstance(WebDriverFactory.java:135) at net.thucydides.core.webdriver.WebDriverFacade.newDriverInstance(WebDriverFacade.java:147) at net.thucydides.core.webdriver.WebDriverFacade.newProxyDriver(WebDriverFacade.java:138) at net.thucydides.core.webdriver.WebDriverFacade.getProxiedDriver(WebDriverFacade.java:108) at net.thucydides.core.webdriver.WebDriverFacade.manage(WebDriverFacade.java:378) at net.palomar.showcase.cucumber.steps.serenity.SerenitySteps.do_login(SerenitySteps.java:35) at net.palomar.showcase.cucumber.steps.serenity.SerenitySteps$$EnhancerByCGLIB$$5922f3f8.CGLIB$do_login$126()
at net.palomar.showcase.cucumber.steps.serenity.SerenitySteps$$EnhancerByCGLIB$$5922f3f8$$FastClassByCGLIB$$b371414d.invoke()
at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
at net.thucydides.core.steps.StepInterceptor.invokeMethod(StepInterceptor.java:395)
at net.thucydides.core.steps.StepInterceptor.executeTestStepMethod(StepInterceptor.java:380)
at net.thucydides.core.steps.StepInterceptor.runTestStep(StepInterceptor.java:355)
at net.thucydides.core.steps.StepInterceptor.testStepResult(StepInterceptor.java:132)
at net.thucydides.core.steps.StepInterceptor.intercept(StepInterceptor.java:61)
at net.palomar.showcase.cucumber.steps.serenity.SerenitySteps$$EnhancerByCGLIB$$5922f3f8.do_login()
at net.palomar.showcase.cucumber.steps.LoginPageSteps.I_login_to_the_application(LoginPageSteps.java:40)
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 cucumber.runtime.Utils$1.call(Utils.java:40)
at cucumber.runtime.Timeout.timeout(Timeout.java:16)
at cucumber.runtime.Utils.invoke(Utils.java:34)
at cucumber.runtime.java.JavaStepDefinition.execute(JavaStepDefinition.java:38)
at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:37)
at cucumber.runtime.Runtime.runStep(Runtime.java:300)
at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:44)
at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:39)
at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:44)
at cucumber.runtime.junit.ExecutionUnitRunner.run(ExecutionUnitRunner.java:91)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at cucumber.runtime.junit.ExamplesRunner.run(ExamplesRunner.java:59)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at cucumber.runtime.junit.ScenarioOutlineRunner.run(ScenarioOutlineRunner.java:53)
at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:63)
at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:18)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:70)
at cucumber.api.junit.Cucumber.runChild(Cucumber.java:93)
at cucumber.api.junit.Cucumber.runChild(Cucumber.java:37)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at cucumber.api.junit.Cucumber.run(Cucumber.java:98)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provid