vikramvi / AppiumSerenityPOC

POC showing native android app automation with Appium & Serenity BDD framework
https://www.linkedin.com/pulse/managing-automation-projects-efficiently-one-best-bdd-v-ingleshwar/
36 stars 26 forks source link

Getting error while running Serenity Junit test #9

Open jitin03 opened 6 years ago

jitin03 commented 6 years ago

Hi @vikramvi ,

Thanks for sharing good work, But while executing the test getting below error, do let me know what wrong here.`"C:\Program Files\Java\jdk1.8.0_171\bin\java.exe" -ea -Dfile=Flipkart.3.0.apk -Dappium.host=127.0.0.1 -Dappium.port=4723 -Dimplicit.wait=20 -Dplatform.name=Android -Ddevice.name=d6e4f8d6 -Dno.reset=true -Dappium.log=info -Xmx512m -Didea.test.cyclic.buffer.size=1048576 "-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2018.1.2\lib\idea_rt.jar=55601:C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2018.1.2\bin" -Dfile.encoding=UTF-8 -classpath "C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2018.1.2\lib\idea_rt.jar;C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2018.1.2\plugins\junit\lib\junit-rt.jar;C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2018.1.2\plugins\junit\lib\junit5-rt.jar;C:\Program Files\Java\jdk1.8.0_171\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_171\jre\lib\deploy.jar;C:\Program Files\Java\jdk1.8.0_171\jre\lib\ext\access-bridge-64.jar;C:\Program Files\Java\jdk1.8.0_171\jre\lib\ext\cldrdata.jar;C:\Program Files\Java\jdk1.8.0_171\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.8.0_171\jre\lib\ext\jaccess.jar;C:\Program Files\Java\jdk1.8.0_171\jre\lib\ext\jfxrt.jar;C:\Program Files\Java\jdk1.8.0_171\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.8.0_171\jre\lib\ext\nashorn.jar;C:\Program Files\Java\jdk1.8.0_171\jre\lib\ext\sunec.jar;C:\Program Files\Java\jdk1.8.0_171\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.8.0_171\jre\lib\ext\sunmscapi.jar;C:\Program Files\Java\jdk1.8.0_171\jre\lib\ext\sunpkcs11.jar;C:\Program Files\Java\jdk1.8.0_171\jre\lib\ext\zipfs.jar;C:\Program Files\Java\jdk1.8.0_171\jre\lib\javaws.jar;C:\Program Files\Java\jdk1.8.0_171\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_171\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_171\jre\lib\jfxswt.jar;C:\Program Files\Java\jdk1.8.0_171\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_171\jre\lib\management-agent.jar;C:\Program Files\Java\jdk1.8.0_171\jre\lib\plugin.jar;C:\Program Files\Java\jdk1.8.0_171\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_171\jre\lib\rt.jar;D:\auto-tnation\auto-tnation\target\test-classes;C:\Users\Administrator.m2\repository\org\testng\testng\6.11\testng-6.11.jar;C:\Users\Administrator.m2\repository\com\beust\jcommander\1.64\jcommander-1.64.jar;C:\Users\Administrator.m2\repository\com\github\wasiqb\coteafs\appium\2.2.0\appium-2.2.0.jar;C:\Users\Administrator.m2\repository\com\github\wasiqb\coteafs\configs\1.5.0\configs-1.5.0.jar;C:\Users\Administrator.m2\repository\com\github\wasiqb\coteafs\error\1.4.0\error-1.4.0.jar;C:\Users\Administrator.m2\repository\com\github\wasiqb\coteafs\logger\1.5.0\logger-1.5.0.jar;C:\Users\Administrator.m2\repository\org\apache\logging\log4j\log4j-core\2.10.0\log4j-core-2.10.0.jar;C:\Users\Administrator.m2\repository\org\apache\logging\log4j\log4j-api\2.10.0\log4j-api-2.10.0.jar;C:\Users\Administrator.m2\repository\org\yaml\snakeyaml\1.19\snakeyaml-1.19.jar;C:\Users\Administrator.m2\repository\org\apache\commons\commons-lang3\3.7\commons-lang3-3.7.jar;C:\Users\Administrator.m2\repository\com\google\truth\truth\0.37\truth-0.37.jar;C:\Users\Administrator.m2\repository\com\google\errorprone\error_prone_annotations\2.0.19\error_prone_annotations-2.0.19.jar;C:\Users\Administrator.m2\repository\org\seleniumhq\selenium\selenium-java\3.10.0\selenium-java-3.10.0.jar;C:\Users\Administrator.m2\repository\org\seleniumhq\selenium\selenium-api\3.10.0\selenium-api-3.10.0.jar;C:\Users\Administrator.m2\repository\org\seleniumhq\selenium\selenium-chrome-driver\3.10.0\selenium-chrome-driver-3.10.0.jar;C:\Users\Administrator.m2\repository\org\seleniumhq\selenium\selenium-edge-driver\3.10.0\selenium-edge-driver-3.10.0.jar;C:\Users\Administrator.m2\repository\org\seleniumhq\selenium\selenium-firefox-driver\3.10.0\selenium-firefox-driver-3.10.0.jar;C:\Users\Administrator.m2\repository\org\seleniumhq\selenium\selenium-ie-driver\3.10.0\selenium-ie-driver-3.10.0.jar;C:\Users\Administrator.m2\repository\org\seleniumhq\selenium\selenium-opera-driver\3.10.0\selenium-opera-driver-3.10.0.jar;C:\Users\Administrator.m2\repository\org\seleniumhq\selenium\selenium-remote-driver\3.10.0\selenium-remote-driver-3.10.0.jar;C:\Users\Administrator.m2\repository\org\seleniumhq\selenium\selenium-safari-driver\3.10.0\selenium-safari-driver-3.10.0.jar;C:\Users\Administrator.m2\repository\org\seleniumhq\selenium\selenium-support\3.10.0\selenium-support-3.10.0.jar;C:\Users\Administrator.m2\repository\org\apache\commons\commons-exec\1.3\commons-exec-1.3.jar;C:\Users\Administrator.m2\repository\org\apache\httpcomponents\httpcore\4.4.6\httpcore-4.4.6.jar;C:\Users\Administrator.m2\repository\com\squareup\okhttp3\okhttp\3.9.1\okhttp-3.9.1.jar;C:\Users\Administrator.m2\repository\com\squareup\okio\okio\1.13.0\okio-1.13.0.jar;C:\Users\Administrator.m2\repository\com\google\guava\guava\23.0\guava-23.0.jar;C:\Users\Administrator.m2\repository\com\google\code\findbugs\jsr305\1.3.9\jsr305-1.3.9.jar;C:\Users\Administrator.m2\repository\com\google\j2objc\j2objc-annotations\1.1\j2objc-annotations-1.1.jar;C:\Users\Administrator.m2\repository\org\codehaus\mojo\animal-sniffer-annotations\1.14\animal-sniffer-annotations-1.14.jar;C:\Users\Administrator.m2\repository\io\appium\java-client\4.1.2\java-client-4.1.2.jar;C:\Users\Administrator.m2\repository\com\google\code\gson\gson\2.7\gson-2.7.jar;C:\Users\Administrator.m2\repository\org\apache\httpcomponents\httpclient\4.5.2\httpclient-4.5.2.jar;C:\Users\Administrator.m2\repository\commons-validator\commons-validator\1.5.1\commons-validator-1.5.1.jar;C:\Users\Administrator.m2\repository\commons-beanutils\commons-beanutils\1.9.2\commons-beanutils-1.9.2.jar;C:\Users\Administrator.m2\repository\commons-digester\commons-digester\1.8.1\commons-digester-1.8.1.jar;C:\Users\Administrator.m2\repository\cglib\cglib-nodep\3.2.4\cglib-nodep-3.2.4.jar;C:\Users\Administrator.m2\repository\org\springframework\spring-context\4.3.2.RELEASE\spring-context-4.3.2.RELEASE.jar;C:\Users\Administrator.m2\repository\org\springframework\spring-aop\4.3.2.RELEASE\spring-aop-4.3.2.RELEASE.jar;C:\Users\Administrator.m2\repository\org\springframework\spring-beans\4.3.2.RELEASE\spring-beans-4.3.2.RELEASE.jar;C:\Users\Administrator.m2\repository\org\springframework\spring-core\4.3.2.RELEASE\spring-core-4.3.2.RELEASE.jar;C:\Users\Administrator.m2\repository\org\springframework\spring-expression\4.3.2.RELEASE\spring-expression-4.3.2.RELEASE.jar;C:\Users\Administrator.m2\repository\org\aspectj\aspectjweaver\1.8.9\aspectjweaver-1.8.9.jar;C:\Users\Administrator.m2\repository\log4j\log4j\1.2.17\log4j-1.2.17.jar;C:\Users\Administrator.m2\repository\com\googlecode\json-simple\json-simple\1.1.1\json-simple-1.1.1.jar;C:\Users\Administrator.m2\repository\net\serenity-bdd\serenity-core\1.5.12\serenity-core-1.5.12.jar;C:\Users\Administrator.m2\repository\com\google\inject\guice\4.1.0\guice-4.1.0.jar;C:\Users\Administrator.m2\repository\javax\inject\javax.inject\1\javax.inject-1.jar;C:\Users\Administrator.m2\repository\aopalliance\aopalliance\1.0\aopalliance-1.0.jar;C:\Users\Administrator.m2\repository\cglib\cglib\3.2.5\cglib-3.2.5.jar;C:\Users\Administrator.m2\repository\org\apache\ant\ant\1.9.6\ant-1.9.6.jar;C:\Users\Administrator.m2\repository\org\apache\ant\ant-launcher\1.9.6\ant-launcher-1.9.6.jar;C:\Users\Administrator.m2\repository\org\ow2\asm\asm\5.0.3\asm-5.0.3.jar;C:\Users\Administrator.m2\repository\commons-codec\commons-codec\1.10\commons-codec-1.10.jar;C:\Users\Administrator.m2\repository\org\objenesis\objenesis\2.6\objenesis-2.6.jar;C:\Users\Administrator.m2\repository\org\slf4j\slf4j-api\1.7.21\slf4j-api-1.7.21.jar;C:\Users\Administrator.m2\repository\xml-apis\xml-apis\1.4.01\xml-apis-1.4.01.jar;C:\Users\Administrator.m2\repository\info\cukes\cucumber-core\1.2.5\cucumber-core-1.2.5.jar;C:\Users\Administrator.m2\repository\info\cukes\cucumber-html\0.2.3\cucumber-html-0.2.3.jar;C:\Users\Administrator.m2\repository\info\cukes\cucumber-jvm-deps\1.0.5\cucumber-jvm-deps-1.0.5.jar;C:\Users\Administrator.m2\repository\info\cukes\gherkin\2.12.2\gherkin-2.12.2.jar;C:\Users\Administrator.m2\repository\commons-logging\commons-logging\1.2\commons-logging-1.2.jar;C:\Users\Administrator.m2\repository\org\mockito\mockito-core\1.10.19\mockito-core-1.10.19.jar;C:\Users\Administrator.m2\repository\net\bytebuddy\byte-buddy\1.7.1\byte-buddy-1.7.1.jar;C:\Users\Administrator.m2\repository\io\vavr\vavr\0.9.0\vavr-0.9.0.jar;C:\Users\Administrator.m2\repository\io\vavr\vavr-match\0.9.0\vavr-match-0.9.0.jar;C:\Users\Administrator.m2\repository\net\serenity-bdd\serenity-report-resources\1.5.12\serenity-report-resources-1.5.12.jar;C:\Users\Administrator.m2\repository\commons-io\commons-io\2.5\commons-io-2.5.jar;C:\Users\Administrator.m2\repository\com\opera\operadriver\1.5\operadriver-1.5.jar;C:\Users\Administrator.m2\repository\com\opera\operalaunchers\1.1\operalaunchers-1.1.jar;C:\Users\Administrator.m2\repository\com\google\protobuf\protobuf-java\2.4.1\protobuf-java-2.4.1.jar;C:\Users\Administrator.m2\repository\commons-jxpath\commons-jxpath\1.3\commons-jxpath-1.3.jar;C:\Users\Administrator.m2\repository\org\ini4j\ini4j\0.5.2\ini4j-0.5.2.jar;C:\Users\Administrator.m2\repository\org\seleniumhq\selenium\selenium-server\3.5.3\selenium-server-3.5.3.jar;C:\Users\Administrator.m2\repository\org\w3c\css\sac\1.3\sac-1.3.jar;C:\Users\Administrator.m2\repository\net\sourceforge\cssparser\cssparser\0.9.23\cssparser-0.9.23.jar;C:\Users\Administrator.m2\repository\net\sourceforge\htmlunit\htmlunit-core-js\2.27\htmlunit-core-js-2.27.jar;C:\Users\Administrator.m2\repository\net\sourceforge\htmlunit\neko-htmlunit\2.27\neko-htmlunit-2.27.jar;C:\Users\Administrator.m2\repository\net\jcip\jcip-annotations\1.0\jcip-annotations-1.0.jar;C:\Users\Administrator.m2\repository\org\seleniumhq\selenium\jetty-repacked\9.4.5.v20170502\jetty-repacked-9.4.5.v20170502.jar;C:\Users\Administrator.m2\repository\org\eclipse\jetty\jetty-client\9.4.5.v20170502\jetty-client-9.4.5.v20170502.jar;C:\Users\Administrator.m2\repository\org\eclipse\jetty\jetty-http\9.4.5.v20170502\jetty-http-9.4.5.v20170502.jar;C:\Users\Administrator.m2\repository\net\java\dev\jna\jna\4.1.0\jna-4.1.0.jar;C:\Users\Administrator.m2\repository\net\java\dev\jna\jna-platform\4.1.0\jna-platform-4.1.0.jar;C:\Users\Administrator.m2\repository\javax\servlet\javax.servlet-api\3.1.0\javax.servlet-api-3.1.0.jar;C:\Users\Administrator.m2\repository\org\eclipse\jetty\websocket\websocket-api\9.4.5.v20170502\websocket-api-9.4.5.v20170502.jar;C:\Users\Administrator.m2\repository\org\eclipse\jetty\websocket\websocket-client\9.4.5.v20170502\websocket-client-9.4.5.v20170502.jar;C:\Users\Administrator.m2\repository\org\eclipse\jetty\websocket\websocket-common\9.4.5.v20170502\websocket-common-9.4.5.v20170502.jar;C:\Users\Administrator.m2\repository\xerces\xercesImpl\2.11.0\xercesImpl-2.11.0.jar;C:\Users\Administrator.m2\repository\com\codeborne\phantomjsdriver\1.4.3\phantomjsdriver-1.4.3.jar;C:\Users\Administrator.m2\repository\org\eclipse\jetty\jetty-util\9.4.5.v20170502\jetty-util-9.4.5.v20170502.jar;C:\Users\Administrator.m2\repository\org\eclipse\jetty\jetty-io\9.4.5.v20170502\jetty-io-9.4.5.v20170502.jar;C:\Users\Administrator.m2\repository\org\seleniumhq\selenium\htmlunit-driver\2.27\htmlunit-driver-2.27.jar;C:\Users\Administrator.m2\repository\org\codehaus\groovy\groovy\2.4.11\groovy-2.4.11.jar;C:\Users\Administrator.m2\repository\net\sf\opencsv\opencsv\2.0\opencsv-2.0.jar;C:\Users\Administrator.m2\repository\commons-beanutils\commons-beanutils-core\1.8.3\commons-beanutils-core-1.8.3.jar;C:\Users\Administrator.m2\repository\joda-time\joda-time\2.7\joda-time-2.7.jar;C:\Users\Administrator.m2\repository\com\thoughtworks\xstream\xstream\1.4.9\xstream-1.4.9.jar;C:\Users\Administrator.m2\repository\xmlpull\xmlpull\1.1.3.1\xmlpull-1.1.3.1.jar;C:\Users\Administrator.m2\repository\xpp3\xpp3_min\1.1.4c\xpp3_min-1.1.4c.jar;C:\Users\Administrator.m2\repository\commons-collections\commons-collections\3.2.2\commons-collections-3.2.2.jar;C:\Users\Administrator.m2\repository\org\freemarker\freemarker\2.3.23\freemarker-2.3.23.jar;C:\Users\Administrator.m2\repository\net\sourceforge\jexcelapi\jxl\2.6.12\jxl-2.6.12.jar;C:\Users\Administrator.m2\repository\org\hamcrest\hamcrest-core\1.3\hamcrest-core-1.3.jar;C:\Users\Administrator.m2\repository\org\hamcrest\hamcrest-library\1.3\hamcrest-library-1.3.jar;C:\Users\Administrator.m2\repository\net\sourceforge\htmlunit\htmlunit\2.27\htmlunit-2.27.jar;C:\Users\Administrator.m2\repository\org\apache\httpcomponents\httpmime\4.5.3\httpmime-4.5.3.jar;C:\Users\Administrator.m2\repository\org\fluentlenium\fluentlenium-core\0.10.2\fluentlenium-core-0.10.2.jar;C:\Users\Administrator.m2\repository\com\jhlabs\filters\2.0.235\filters-2.0.235.jar;C:\Users\Administrator.m2\repository\org\asciidoctor\asciidoctor-java-integration\0.1.4\asciidoctor-java-integration-0.1.4.jar;C:\Users\Administrator.m2\repository\org\jruby\jruby-complete\1.7.4\jruby-complete-1.7.4.jar;C:\Users\Administrator.m2\repository\org\imgscalr\imgscalr-lib\4.2\imgscalr-lib-4.2.jar;C:\Users\Administrator.m2\repository\javax\validation\validation-api\1.1.0.Final\validation-api-1.1.0.Final.jar;C:\Users\Administrator.m2\repository\org\hibernate\hibernate-validator\5.1.1.Final\hibernate-validator-5.1.1.Final.jar;C:\Users\Administrator.m2\repository\org\jboss\logging\jboss-logging\3.1.3.GA\jboss-logging-3.1.3.GA.jar;C:\Users\Administrator.m2\repository\com\fasterxml\classmate\1.0.0\classmate-1.0.0.jar;C:\Users\Administrator.m2\repository\javax\el\javax.el-api\2.2.4\javax.el-api-2.2.4.jar;C:\Users\Administrator.m2\repository\org\glassfish\web\javax.el\2.2.4\javax.el-2.2.4.jar;C:\Users\Administrator.m2\repository\xalan\xalan\2.7.2\xalan-2.7.2.jar;C:\Users\Administrator.m2\repository\xalan\serializer\2.7.2\serializer-2.7.2.jar;C:\Users\Administrator.m2\repository\org\awaitility\awaitility\3.0.0\awaitility-3.0.0.jar;C:\Users\Administrator.m2\repository\com\typesafe\config\1.3.1\config-1.3.1.jar;C:\Users\Administrator.m2\repository\org\jsoup\jsoup\1.10.3\jsoup-1.10.3.jar;C:\Users\Administrator.m2\repository\com\google\jimfs\jimfs\1.1\jimfs-1.1.jar;C:\Users\Administrator.m2\repository\es\nitaur\markdown\txtmark\0.16\txtmark-0.16.jar;C:\Users\Administrator.m2\repository\com\vladsch\flexmark\flexmark-all\0.26.4\flexmark-all-0.26.4.jar;C:\Users\Administrator.m2\repository\com\vladsch\flexmark\flexmark\0.26.4\flexmark-0.26.4.jar;C:\Users\Administrator.m2\repository\com\vladsch\flexmark\flexmark-ext-abbreviation\0.26.4\flexmark-ext-abbreviation-0.26.4.jar;C:\Users\Administrator.m2\repository\com\vladsch\flexmark\flexmark-ext-anchorlink\0.26.4\flexmark-ext-anchorlink-0.26.4.jar;C:\Users\Administrator.m2\repository\com\vladsch\flexmark\flexmark-ext-aside\0.26.4\flexmark-ext-aside-0.26.4.jar;C:\Users\Administrator.m2\repository\com\vladsch\flexmark\flexmark-ext-autolink\0.26.4\flexmark-ext-autolink-0.26.4.jar;C:\Users\Administrator.m2\repository\org\nibor\autolink\autolink\0.6.0\autolink-0.6.0.jar;C:\Users\Administrator.m2\repository\com\vladsch\flexmark\flexmark-ext-definition\0.26.4\flexmark-ext-definition-0.26.4.jar;C:\Users\Administrator.m2\repository\com\vladsch\flexmark\flexmark-ext-emoji\0.26.4\flexmark-ext-emoji-0.26.4.jar;C:\Users\Administrator.m2\repository\com\vladsch\flexmark\flexmark-ext-escaped-character\0.26.4\flexmark-ext-escaped-character-0.26.4.jar;C:\Users\Administrator.m2\repository\com\vladsch\flexmark\flexmark-ext-footnotes\0.26.4\flexmark-ext-footnotes-0.26.4.jar;C:\Users\Administrator.m2\repository\com\vladsch\flexmark\flexmark-ext-gfm-issues\0.26.4\flexmark-ext-gfm-issues-0.26.4.jar;C:\Users\Administrator.m2\repository\com\vladsch\flexmark\flexmark-ext-gfm-strikethrough\0.26.4\flexmark-ext-gfm-strikethrough-0.26.4.jar;C:\Users\Administrator.m2\repository\com\vladsch\flexmark\flexmark-ext-gfm-tables\0.26.4\flexmark-ext-gfm-tables-0.26.4.jar;C:\Users\Administrator.m2\repository\com\vladsch\flexmark\flexmark-ext-gfm-tasklist\0.26.4\flexmark-ext-gfm-tasklist-0.26.4.jar;C:\Users\Administrator.m2\repository\com\vladsch\flexmark\flexmark-ext-gfm-users\0.26.4\flexmark-ext-gfm-users-0.26.4.jar;C:\Users\Administrator.m2\repository\com\vladsch\flexmark\flexmark-ext-jekyll-front-matter\0.26.4\flexmark-ext-jekyll-front-matter-0.26.4.jar;C:\Users\Administrator.m2\repository\com\vladsch\flexmark\flexmark-ext-jekyll-tag\0.26.4\flexmark-ext-jekyll-tag-0.26.4.jar;C:\Users\Administrator.m2\repository\com\vladsch\flexmark\flexmark-ext-ins\0.26.4\flexmark-ext-ins-0.26.4.jar;C:\Users\Administrator.m2\repository\com\vladsch\flexmark\flexmark-ext-xwiki-macros\0.26.4\flexmark-ext-xwiki-macros-0.26.4.jar;C:\Users\Administrator.m2\repository\com\vladsch\flexmark\flexmark-ext-superscript\0.26.4\flexmark-ext-superscript-0.26.4.jar;C:\Users\Administrator.m2\repository\com\vladsch\flexmark\flexmark-ext-tables\0.26.4\flexmark-ext-tables-0.26.4.jar;C:\Users\Administrator.m2\repository\com\vladsch\flexmark\flexmark-ext-toc\0.26.4\flexmark-ext-toc-0.26.4.jar;C:\Users\Administrator.m2\repository\com\vladsch\flexmark\flexmark-ext-typographic\0.26.4\flexmark-ext-typographic-0.26.4.jar;C:\Users\Administrator.m2\repository\com\vladsch\flexmark\flexmark-ext-wikilink\0.26.4\flexmark-ext-wikilink-0.26.4.jar;C:\Users\Administrator.m2\repository\com\vladsch\flexmark\flexmark-ext-yaml-front-matter\0.26.4\flexmark-ext-yaml-front-matter-0.26.4.jar;C:\Users\Administrator.m2\repository\com\vladsch\flexmark\flexmark-formatter\0.26.4\flexmark-formatter-0.26.4.jar;C:\Users\Administrator.m2\repository\com\vladsch\flexmark\flexmark-html-parser\0.26.4\flexmark-html-parser-0.26.4.jar;C:\Users\Administrator.m2\repository\com\vladsch\flexmark\flexmark-jira-converter\0.26.4\flexmark-jira-converter-0.26.4.jar;C:\Users\Administrator.m2\repository\com\vladsch\flexmark\flexmark-pdf-converter\0.26.4\flexmark-pdf-converter-0.26.4.jar;C:\Users\Administrator.m2\repository\com\openhtmltopdf\openhtmltopdf-core\0.0.1-RC9\openhtmltopdf-core-0.0.1-RC9.jar;C:\Users\Administrator.m2\repository\com\openhtmltopdf\openhtmltopdf-pdfbox\0.0.1-RC9\openhtmltopdf-pdfbox-0.0.1-RC9.jar;C:\Users\Administrator.m2\repository\org\apache\pdfbox\pdfbox\2.0.4\pdfbox-2.0.4.jar;C:\Users\Administrator.m2\repository\org\apache\pdfbox\fontbox\2.0.4\fontbox-2.0.4.jar;C:\Users\Administrator.m2\repository\com\openhtmltopdf\openhtmltopdf-rtl-support\0.0.1-RC9\openhtmltopdf-rtl-support-0.0.1-RC9.jar;C:\Users\Administrator.m2\repository\com\ibm\icu\icu4j\58.1\icu4j-58.1.jar;C:\Users\Administrator.m2\repository\com\openhtmltopdf\openhtmltopdf-jsoup-dom-converter\0.0.1-RC9\openhtmltopdf-jsoup-dom-converter-0.0.1-RC9.jar;C:\Users\Administrator.m2\repository\com\vladsch\flexmark\flexmark-profile-pegdown\0.26.4\flexmark-profile-pegdown-0.26.4.jar;C:\Users\Administrator.m2\repository\com\vladsch\flexmark\flexmark-util\0.26.4\flexmark-util-0.26.4.jar;C:\Users\Administrator.m2\repository\com\vladsch\flexmark\flexmark-youtrack-converter\0.26.4\flexmark-youtrack-converter-0.26.4.jar;C:\Users\Administrator.m2\repository\org\slf4j\slf4j-simple\1.7.7\slf4j-simple-1.7.7.jar;C:\Users\Administrator.m2\repository\net\serenity-bdd\serenity-junit\1.5.12\serenity-junit-1.5.12.jar;C:\Users\Administrator.m2\repository\junit\junit\4.12\junit-4.12.jar;C:\Users\Administrator.m2\repository\org\assertj\assertj-core\1.7.0\assertj-core-1.7.0.jar" com.intellij.rt.execution.junit.JUnitStarter -ideVersion5 -junit4 com.tnation.appium.tests.WordPressAppTest,verifyInvalidLogin [main] INFO net.serenitybdd.core.Serenity -


 _______. _______ .______       _______ .__   __.  __  .___________.____    ____ 
/       ||   ____||   _  \     |   ____||  \ |  | |  | |           |\   \  /   / 

| (----| |__ | |_) | | |__ | \| | | |---| |----\ \/ / \ \ | __| | / | __| | . | | | | | _ _/
.----) | | | | |\ ----.| | | |\ | | | | | | |
|/ ||| | `.____||__||_| \| || || |__|

log4j:WARN No appenders could be found for logger (org.apache.http.client.protocol.RequestAddCookies). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. [main] ERROR net.thucydides.core.webdriver.WebDriverFacade - FAILED TO CREATE NEW WEBDRIVER_DRIVER INSTANCE class io.appium.java_client.AppiumDriver: Could not instantiate new WebDriver instance of type class io.appium.java_client.AppiumDriver (An unknown server-side error occurred while processing the command. Original error: Error occured while starting App. Original error: Error executing adbExec. Original error: 'Command 'C\:\Users\Administrator\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am start -W -n org.wordpress.android/org.wordpress.android.ui.accounts.LoginActivity -S' exited with code 1'; Stderr: 'java.lang.SecurityException: Permission Denial: starting Intent { flg=0x10000000 cmp=org.wordpress.android/.ui.accounts.LoginActivity } from null (pid=18217, uid=2000) not exported from uid 10081 at android.os.Parcel.readException(Parcel.java:1683) at android.os.Parcel.readException(Parcel.java:1636) at android.app.ActivityManagerProxy.startActivityAndWait(ActivityManagerNative.java:3178) at com.android.commands.am.Am.runStart(Am.java:630) at com.android.commands.am.Am.onRun(Am.java:388) at com.android.internal.os.BaseCommand.run(BaseCommand.java:51) at com.android.commands.am.Am.main(Am.java:121) at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method) at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:262)'; Code: '1' (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 44.42 seconds Build info: version: '3.10.0', revision: '176b4a9', time: '2018-03-02T19:03:16.397Z' System info: host: 'USABOS210959L', ip: '10.0.0.77', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_171' Driver info: driver.version: AndroidDriver net.thucydides.core.webdriver.UnsupportedDriverException: Could not instantiate new WebDriver instance of type class io.appium.java_client.AppiumDriver (An unknown server-side error occurred while processing the command. Original error: Error occured while starting App. Original error: Error executing adbExec. Original error: 'Command 'C\:\Users\Administrator\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am start -W -n org.wordpress.android/org.wordpress.android.ui.accounts.LoginActivity -S' exited with code 1'; Stderr: 'java.lang.SecurityException: Permission Denial: starting Intent { flg=0x10000000 cmp=org.wordpress.android/.ui.accounts.LoginActivity } from null (pid=18217, uid=2000) not exported from uid 10081 at android.os.Parcel.readException(Parcel.java:1683) at android.os.Parcel.readException(Parcel.java:1636) at android.app.ActivityManagerProxy.startActivityAndWait(ActivityManagerNative.java:3178) at com.android.commands.am.Am.runStart(Am.java:630) at com.android.commands.am.Am.onRun(Am.java:388) at com.android.internal.os.BaseCommand.run(BaseCommand.java:51) at com.android.commands.am.Am.main(Am.java:121) at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method) at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:262)'; Code: '1' (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 44.42 seconds Build info: version: '3.10.0', revision: '176b4a9', time: '2018-03-02T19:03:16.397Z' System info: host: 'USABOS210959L', ip: '10.0.0.77', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_171' Driver info: driver.version: AndroidDriver at net.thucydides.core.webdriver.WebDriverFactory.newWebdriverInstance(WebDriverFactory.java:135) at net.thucydides.core.webdriver.WebDriverFacade.newDriverInstance(WebDriverFacade.java:148) at net.thucydides.core.webdriver.WebDriverFacade.newProxyDriver(WebDriverFacade.java:139) at net.thucydides.core.webdriver.WebDriverFacade.getProxiedDriver(WebDriverFacade.java:109) at com.tnation.appium.pages.MobilePageObject$1.apply(MobilePageObject.java:20) at com.tnation.appium.pages.MobilePageObject$1.apply(MobilePageObject.java:15) at net.serenitybdd.core.pages.PageObject.(PageObject.java:128) at com.tnation.appium.pages.MobilePageObject.(MobilePageObject.java:15) at com.tnation.appium.pages.WordPressLoginPage.(WordPressLoginPage.java:29) 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 net.thucydides.core.pages.Pages.createFromConstructorWithWebdriver(Pages.java:246) at net.thucydides.core.pages.Pages.getCurrentPageOfType(Pages.java:204) at net.thucydides.core.pages.Pages.getPage(Pages.java:88) at net.thucydides.core.steps.PageObjectDependencyInjector.instantiatePageObjectIfNotAssigned(PageObjectDependencyInjector.java:55) at net.thucydides.core.steps.PageObjectDependencyInjector.injectDependenciesInto(PageObjectDependencyInjector.java:33) at net.thucydides.core.steps.StepFactory.injectOtherDependenciesInto(StepFactory.java:141) at net.thucydides.core.steps.StepFactory.instantiateNewStepLibraryFor(StepFactory.java:131) at net.thucydides.core.steps.StepFactory.instantiateNewStepLibraryFor(StepFactory.java:117) at net.thucydides.core.steps.StepFactory.getNewStepLibraryFor(StepFactory.java:82) at net.thucydides.core.steps.StepFactory.getStepLibraryFor(StepFactory.java:76) at net.thucydides.core.steps.StepAnnotations.instantiateAnyUnitiaializedSteps(StepAnnotations.java:52) at net.thucydides.core.steps.StepAnnotations.instanciateScenarioStepFields(StepAnnotations.java:41) at net.thucydides.core.steps.StepAnnotations.injectScenarioStepsInto(StepAnnotations.java:23) at net.serenitybdd.junit.runners.SerenityRunner.injectScenarioStepsInto(SerenityRunner.java:598) at net.serenitybdd.junit.runners.SerenityRunner.methodInvoker(SerenityRunner.java:562) at org.junit.runners.BlockJUnit4ClassRunner.methodBlock(BlockJUnit4ClassRunner.java:273) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at net.serenitybdd.junit.runners.SerenityRunner.performRunChild(SerenityRunner.java:471) at net.serenitybdd.junit.runners.SerenityRunner.runChild(SerenityRunner.java:446) at net.serenitybdd.junit.runners.SerenityRunner.runChild(SerenityRunner.java:55) 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.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:363) at net.serenitybdd.junit.runners.SerenityRunner.run(SerenityRunner.java:252) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) 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: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Error occured while starting App. Original error: Error executing adbExec. Original error: 'Command 'C\:\Users\Administrator\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am start -W -n org.wordpress.android/org.wordpress.android.ui.accounts.LoginActivity -S' exited with code 1'; Stderr: 'java.lang.SecurityException: Permission Denial: starting Intent { flg=0x10000000 cmp=org.wordpress.android/.ui.accounts.LoginActivity } from null (pid=18217, uid=2000) not exported from uid 10081 at android.os.Parcel.readException(Parcel.java:1683) at android.os.Parcel.readException(Parcel.java:1636) at android.app.ActivityManagerProxy.startActivityAndWait(ActivityManagerNative.java:3178) at com.android.commands.am.Am.runStart(Am.java:630) at com.android.commands.am.Am.onRun(Am.java:388) at com.android.internal.os.BaseCommand.run(BaseCommand.java:51) at com.android.commands.am.Am.main(Am.java:121) at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method) at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:262)'; Code: '1' (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 44.42 seconds Build info: version: '3.10.0', revision: '176b4a9', time: '2018-03-02T19:03:16.397Z' System info: host: 'USABOS210959L', ip: '10.0.0.77', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_171' Driver info: driver.version: AndroidDriver 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:214) at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:166) at org.openqa.selenium.remote.JsonWireProtocolResponse.lambda$new$0(JsonWireProtocolResponse.java:53) at org.openqa.selenium.remote.JsonWireProtocolResponse.lambda$getResponseFunction$2(JsonWireProtocolResponse.java:91) at org.openqa.selenium.remote.ProtocolHandshake.lambda$createSession$0(ProtocolHandshake.java:123) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464) at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:126) at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:73) at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:138) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:69) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:601) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:40) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:219) at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:142) at io.appium.java_client.DefaultGenericMobileDriver.(DefaultGenericMobileDriver.java:36) at io.appium.java_client.AppiumDriver.(AppiumDriver.java:114) at io.appium.java_client.AppiumDriver.(AppiumDriver.java:132) at io.appium.java_client.android.AndroidDriver.(AndroidDriver.java:92) at net.serenitybdd.core.webdriver.driverproviders.AppiumDriverProvider.newInstance(AppiumDriverProvider.java:38) at net.thucydides.core.webdriver.WebDriverFactory.newWebdriverInstance(WebDriverFactory.java:125) ... 46 more [main] WARN net.thucydides.core.pages.Pages - Failed to instantiate page of type class com.tnation.appium.pages.WordPressLoginPage ({}) net.thucydides.core.webdriver.UnsupportedDriverException: Could not instantiate class io.appium.java_client.AppiumDriver at net.thucydides.core.webdriver.WebDriverFacade.newDriverInstance(WebDriverFacade.java:152) at net.thucydides.core.webdriver.WebDriverFacade.newProxyDriver(WebDriverFacade.java:139) at net.thucydides.core.webdriver.WebDriverFacade.getProxiedDriver(WebDriverFacade.java:109) at com.tnation.appium.pages.MobilePageObject$1.apply(MobilePageObject.java:20) at com.tnation.appium.pages.MobilePageObject$1.apply(MobilePageObject.java:15) at net.serenitybdd.core.pages.PageObject.(PageObject.java:128) at com.tnation.appium.pages.MobilePageObject.(MobilePageObject.java:15) at com.tnation.appium.pages.WordPressLoginPage.(WordPressLoginPage.java:29) 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 net.thucydides.core.pages.Pages.createFromConstructorWithWebdriver(Pages.java:246) at net.thucydides.core.pages.Pages.getCurrentPageOfType(Pages.java:204) at net.thucydides.core.pages.Pages.getPage(Pages.java:88) at net.thucydides.core.steps.PageObjectDependencyInjector.instantiatePageObjectIfNotAssigned(PageObjectDependencyInjector.java:55) at net.thucydides.core.steps.PageObjectDependencyInjector.injectDependenciesInto(PageObjectDependencyInjector.java:33) at net.thucydides.core.steps.StepFactory.injectOtherDependenciesInto(StepFactory.java:141) at net.thucydides.core.steps.StepFactory.instantiateNewStepLibraryFor(StepFactory.java:131) at net.thucydides.core.steps.StepFactory.instantiateNewStepLibraryFor(StepFactory.java:117) at net.thucydides.core.steps.StepFactory.getNewStepLibraryFor(StepFactory.java:82) at net.thucydides.core.steps.StepFactory.getStepLibraryFor(StepFactory.java:76) at net.thucydides.core.steps.StepAnnotations.instantiateAnyUnitiaializedSteps(StepAnnotations.java:52) at net.thucydides.core.steps.StepAnnotations.instanciateScenarioStepFields(StepAnnotations.java:41) at net.thucydides.core.steps.StepAnnotations.injectScenarioStepsInto(StepAnnotations.java:23) at net.serenitybdd.junit.runners.SerenityRunner.injectScenarioStepsInto(SerenityRunner.java:598) at net.serenitybdd.junit.runners.SerenityRunner.methodInvoker(SerenityRunner.java:562) at org.junit.runners.BlockJUnit4ClassRunner.methodBlock(BlockJUnit4ClassRunner.java:273) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at net.serenitybdd.junit.runners.SerenityRunner.performRunChild(SerenityRunner.java:471) at net.serenitybdd.junit.runners.SerenityRunner.runChild(SerenityRunner.java:446) at net.serenitybdd.junit.runners.SerenityRunner.runChild(SerenityRunner.java:55) 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.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:363) at net.serenitybdd.junit.runners.SerenityRunner.run(SerenityRunner.java:252) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) 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: net.thucydides.core.webdriver.UnsupportedDriverException: Could not instantiate new WebDriver instance of type class io.appium.java_client.AppiumDriver (An unknown server-side error occurred while processing the command. Original error: Error occured while starting App. Original error: Error executing adbExec. Original error: 'Command 'C\:\Users\Administrator\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am start -W -n org.wordpress.android/org.wordpress.android.ui.accounts.LoginActivity -S' exited with code 1'; Stderr: 'java.lang.SecurityException: Permission Denial: starting Intent { flg=0x10000000 cmp=org.wordpress.android/.ui.accounts.LoginActivity } from null (pid=18217, uid=2000) not exported from uid 10081 at android.os.Parcel.readException(Parcel.java:1683) at android.os.Parcel.readException(Parcel.java:1636) at android.app.ActivityManagerProxy.startActivityAndWait(ActivityManagerNative.java:3178) at com.android.commands.am.Am.runStart(Am.java:630) at com.android.commands.am.Am.onRun(Am.java:388) at com.android.internal.os.BaseCommand.run(BaseCommand.java:51) at com.android.commands.am.Am.main(Am.java:121) at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method) at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:262)'; Code: '1' (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 44.42 seconds Build info: version: '3.10.0', revision: '176b4a9', time: '2018-03-02T19:03:16.397Z' System info: host: 'USABOS210959L', ip: '10.0.0.77', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_171' Driver info: driver.version: AndroidDriver at net.thucydides.core.webdriver.WebDriverFactory.newWebdriverInstance(WebDriverFactory.java:135) at net.thucydides.core.webdriver.WebDriverFacade.newDriverInstance(WebDriverFacade.java:148) ... 45 more 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: Error executing adbExec. Original error: 'Command 'C\:\Users\Administrator\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am start -W -n org.wordpress.android/org.wordpress.android.ui.accounts.LoginActivity -S' exited with code 1'; Stderr: 'java.lang.SecurityException: Permission Denial: starting Intent { flg=0x10000000 cmp=org.wordpress.android/.ui.accounts.LoginActivity } from null (pid=18217, uid=2000) not exported from uid 10081 at android.os.Parcel.readException(Parcel.java:1683) at android.os.Parcel.readException(Parcel.java:1636) at android.app.ActivityManagerProxy.startActivityAndWait(ActivityManagerNative.java:3178) at com.android.commands.am.Am.runStart(Am.java:630) at com.android.commands.am.Am.onRun(Am.java:388) at com.android.internal.os.BaseCommand.run(BaseCommand.java:51) at com.android.commands.am.Am.main(Am.java:121) at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method) at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:262)'; Code: '1' (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 44.42 seconds Build info: version: '3.10.0', revision: '176b4a9', time: '2018-03-02T19:03:16.397Z' System info: host: 'USABOS210959L', ip: '10.0.0.77', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_171' Driver info: driver.version: AndroidDriver 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:214) at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:166) at org.openqa.selenium.remote.JsonWireProtocolResponse.lambda$new$0(JsonWireProtocolResponse.java:53) at org.openqa.selenium.remote.JsonWireProtocolResponse.lambda$getResponseFunction$2(JsonWireProtocolResponse.java:91) at org.openqa.selenium.remote.ProtocolHandshake.lambda$createSession$0(ProtocolHandshake.java:123) at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126) at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464) at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:126) at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:73) at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:138) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:69) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:601) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:40) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:219) at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:142) at io.appium.java_client.DefaultGenericMobileDriver.(DefaultGenericMobileDriver.java:36) at io.appium.java_client.AppiumDriver.(AppiumDriver.java:114) at io.appium.java_client.AppiumDriver.(AppiumDriver.java:132) at io.appium.java_client.android.AndroidDriver.(AndroidDriver.java:92) at net.serenitybdd.core.webdriver.driverproviders.AppiumDriverProvider.newInstance(AppiumDriverProvider.java:38) at net.thucydides.core.webdriver.WebDriverFactory.newWebdriverInstance(WebDriverFactory.java:125) ... 46 more [main] INFO net.serenitybdd.core.Serenity - Test Suite Started: Word press app test

net.thucydides.core.pages.WrongPageError: The page object class com.tnation.appium.pages.WordPressLoginPage looks dodgy: Failed to instantiate page (net.thucydides.core.webdriver.UnsupportedDriverException: Could not instantiate class io.appium.java_client.AppiumDriver)

at net.thucydides.core.pages.Pages.thisPageObjectLooksDodgy(Pages.java:273)
at net.thucydides.core.pages.Pages.getCurrentPageOfType(Pages.java:217)
at net.thucydides.core.pages.Pages.getPage(Pages.java:88)
at net.thucydides.core.steps.PageObjectDependencyInjector.instantiatePageObjectIfNotAssigned(PageObjectDependencyInjector.java:55)
at net.thucydides.core.steps.PageObjectDependencyInjector.injectDependenciesInto(PageObjectDependencyInjector.java:33)
at net.thucydides.core.steps.StepFactory.injectOtherDependenciesInto(StepFactory.java:141)
at net.thucydides.core.steps.StepFactory.instantiateNewStepLibraryFor(StepFactory.java:131)
at net.thucydides.core.steps.StepFactory.instantiateNewStepLibraryFor(StepFactory.java:117)
at net.thucydides.core.steps.StepFactory.getNewStepLibraryFor(StepFactory.java:82)
at net.thucydides.core.steps.StepFactory.getStepLibraryFor(StepFactory.java:76)
at net.thucydides.core.steps.StepAnnotations.instantiateAnyUnitiaializedSteps(StepAnnotations.java:52)
at net.thucydides.core.steps.StepAnnotations.instanciateScenarioStepFields(StepAnnotations.java:41)
at net.thucydides.core.steps.StepAnnotations.injectScenarioStepsInto(StepAnnotations.java:23)
at net.serenitybdd.junit.runners.SerenityRunner.injectScenarioStepsInto(SerenityRunner.java:598)
at net.serenitybdd.junit.runners.SerenityRunner.methodInvoker(SerenityRunner.java:562)
at org.junit.runners.BlockJUnit4ClassRunner.methodBlock(BlockJUnit4ClassRunner.java:273)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at net.serenitybdd.junit.runners.SerenityRunner.performRunChild(SerenityRunner.java:471)
at net.serenitybdd.junit.runners.SerenityRunner.runChild(SerenityRunner.java:446)
at net.serenitybdd.junit.runners.SerenityRunner.runChild(SerenityRunner.java:55)
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.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:363)
at net.serenitybdd.junit.runners.SerenityRunner.run(SerenityRunner.java:252)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
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)

Test ignored. [main] INFO net.serenitybdd.core.Serenity -


| | __/ __| | / | |/ \ | _ | _| \ | | | | \ \ | | _ \ | | / \ | |) || | | | | | | | | | | | ) || | ) || |/ | < | | | || || | || ||/ || |____/ |// __| _|| |_|____/

TEST STARTED: Initialisation

[main] INFO net.serenitybdd.core.Serenity - TEST NUMBER: 1 [pool-1-thread-1] INFO net.thucydides.core.reports.json.JSONTestOutcomeReporter - Generating JSON report for Initialisation to file D:\auto-tnation\auto-tnation\target\site\serenity\3b2457d647eaae36102a33b81c5dd45923a21cd87f462e1255b40eebe2f7c2d9.json (using temp file D:\auto-tnation\auto-tnation\target\site\serenity\3b2457d647eaae36102a33b81c5dd45923a21cd87f462e1255b40eebe2f7c2d9.json75069899-39ed-46c9-830f-b5bf76b5bb7c) [pool-2-thread-1] INFO net.thucydides.core.reports.html.HtmlAcceptanceTestReporter - GENERATING HTML REPORT FOR Word press app test:Initialisation in 3b2457d647eaae36102a33b81c5dd45923a21cd87f462e1255b40eebe2f7c2d9.html in directory target\site\serenity

Process finished with exit code -1 `

vikramvi commented 6 years ago

@jitin03 can you post error in github gist format, as it's easier to read and debug.

jitin03 commented 6 years ago

Thanks @vikramvi , Issue is resolved for me..I was struggling on ubuntu for appium setup. Now It's working fine. Can you please help for parallel execution of tests?.what need to do..as seeing pom file has comment on forkcount attribute.

vikramvi commented 6 years ago

@jitin03 you can check https://github.com/vikramvi/appium-parallel-execution-seleniumGrid for parallel execution.