Unable to launch test run

109 views
Skip to first unread message

Prabhjot Singh Bawa

unread,
Sep 28, 2017, 2:34:50 AM9/28/17
to Cognizant Intelligent Test Scripter
I am getting below error on running script

Run Information
========================
cognizant.intelligent.test.scripter.engine : 1.0
java.runtime.name    : Java(TM) SE Runtime Environment
java.version         : 1.8.0_31
java.home            : C:\Program Files\Java\jre1.8.0_31
os.name              : Windows 7
os.arch              : x86
os.version           : 6.1
file.encoding        : UTF-8
========================
Run Started on Tue Sep 26 15:14:37 BST 2017
Loading Browser Profile
Loading RunManager
[Scenario:AccessibilityTesting] [TestCase: AccessibilityActions] [Description: Test Run] [Browser: Firefox] [BrowserVersion: default] [Platform: ANY][ExistingBrowser: false]
Initializing Report
ApiLink not available!!
Shutting Down Thread as there is no need for SelectiveThreading
Running Iteration 1
Launching Firefox
Launching Local Driver
1506435278365 geckodriver INFO Listening on 127.0.0.1:42930
2017-09-26 15:14:38:09S +0100 [SEVERE] com.cognizant.cognizantits.engine.core.Task onError:Unable to find a matching set of capabilities
Build info: version: '3.4.0', revision: 'unknown', time: 'unknown'
System info: host: 'GGL7XN1', ip: '10.145.215.130', os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.8.0_31'
Driver info: driver.version: SeleniumDriver
remote stacktrace: stack backtrace:
   0:   0x49dbf6 - <no info>
   1:   0x436d16 - <no info>
   2:   0x43f00f - <no info>
   3:   0x41bb48 - <no info>
   4:   0x404309 - <no info>
   5:   0x4066b7 - <no info>
   6:   0x687086 - <no info>
   7:   0x413b48 - <no info>
   8:   0x6823d1 - <no info>
   9: 0x76d1ef8c - BaseThreadInitThunk
  10: 0x7740367a - RtlInitializeExceptionChain
org.openqa.selenium.SessionNotCreatedException: Unable to find a matching set of capabilities
Build info: version: '3.4.0', revision: 'unknown', time: 'unknown'
System info: host: 'GGL7XN1', ip: '10.145.215.130', os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.8.0_31'
Driver info: driver.version: SeleniumDriver
remote stacktrace: stack backtrace:
   0:   0x49dbf6 - <no info>
   1:   0x436d16 - <no info>
   2:   0x43f00f - <no info>
   3:   0x41bb48 - <no info>
   4:   0x404309 - <no info>
   5:   0x4066b7 - <no info>
   6:   0x687086 - <no info>
   7:   0x413b48 - <no info>
   8:   0x6823d1 - <no info>
   9: 0x76d1ef8c - BaseThreadInitThunk
  10: 0x7740367a - RtlInitializeExceptionChain
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.openqa.selenium.remote.W3CHandshakeResponse.lambda$new$0(W3CHandshakeResponse.java:57)
at org.openqa.selenium.remote.W3CHandshakeResponse$$Lambda$307/20702885.apply(Unknown Source)
at org.openqa.selenium.remote.W3CHandshakeResponse.lambda$getResponseFunction$2(W3CHandshakeResponse.java:104)
at org.openqa.selenium.remote.W3CHandshakeResponse$$Lambda$309/93515.apply(Unknown Source)
at org.openqa.selenium.remote.ProtocolHandshake.lambda$createSession$22(ProtocolHandshake.java:365)
at org.openqa.selenium.remote.ProtocolHandshake$$Lambda$310/31191551.apply(Unknown Source)
at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
at java.util.Spliterators$ArraySpliterator.tryAdvance(Unknown Source)
at java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
at java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)
at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
at java.util.stream.FindOps$FindOp.evaluateSequential(Unknown Source)
at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
at java.util.stream.ReferencePipeline.findFirst(Unknown Source)
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:368)
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:159)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:142)
at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:82)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:637)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:250)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:236)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:137)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:191)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:108)
at com.cognizant.cognizantits.engine.drivers.WebDriverFactory.create(WebDriverFactory.java:162)
at com.cognizant.cognizantits.engine.drivers.WebDriverFactory.create(WebDriverFactory.java:151)
at com.cognizant.cognizantits.engine.drivers.WebDriverFactory.create(WebDriverFactory.java:141)
at com.cognizant.cognizantits.engine.drivers.SeleniumDriver.launchDriver(SeleniumDriver.java:65)
at com.cognizant.cognizantits.engine.core.Task.launchBrowser(Task.java:159)
at com.cognizant.cognizantits.engine.core.Task.runIteration(Task.java:120)
at com.cognizant.cognizantits.engine.core.Task.run(Task.java:79)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)


[DEBUG]   | Unable to find a matching set of capabilities
Build info: version: '3.4.0', revision: 'unknown', time: 'unknown'
System info: host: 'GGL7XN1', ip: '10.145.215.130', os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.8.0_31'
Driver info: driver.version: SeleniumDriver
remote stacktrace: stack backtrace:
   0:   0x49dbf6 - <no info>
   1:   0x436d16 - <no info>
   2:   0x43f00f - <no info>
   3:   0x41bb48 - <no info>
   4:   0x404309 - <no info>
   5:   0x4066b7 - <no info>
   6:   0x687086 - <no info>
   7:   0x413b48 - <no info>
   8:   0x6823d1 - <no info>
   9: 0x76d1ef8c - BaseThreadInitThunk
  10: 0x7740367a - RtlInitializeExceptionChain
[Breaking execution!]

===================================================================================================
2017-09-26 15:14:38:09S +0100 [SEVERE] com.cognizant.cognizantits.engine.reporting.impl.html.HtmlTestCaseHandler updateTestLog:null
java.lang.NullPointerException
at com.cognizant.cognizantits.engine.reporting.impl.html.HtmlTestCaseHandler.updateTestLog(HtmlTestCaseHandler.java:103)
at com.cognizant.cognizantits.engine.reporting.TestCaseReport.updateTestLog(TestCaseReport.java:134)
at com.cognizant.cognizantits.engine.reporting.TestCaseReport.updateTestLog(TestCaseReport.java:105)
at com.cognizant.cognizantits.engine.core.Task.onError(Task.java:192)
at com.cognizant.cognizantits.engine.core.Task.onError(Task.java:184)
at com.cognizant.cognizantits.engine.core.Task.runIteration(Task.java:141)
at com.cognizant.cognizantits.engine.core.Task.run(Task.java:79)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)



---------------------------------------------------
Testcase Name        : AccessibilityTesting:AccessibilityActions
Executed Steps       : 1
Passed Steps         : 0
Failed Steps         : 0
Time Taken           : 00:00:00
-----------------------------------------------------

Run Finished on Tue Sep 26 15:14:38 BST 2017
Performance log not found. Make sure "capturePageTimings" action is included in testcase. 
-----------------------------------------------------
ExecutionDate        : 26-Sep-2017 15-14-37
Executed TestCases   : 1
Passed TestCases     : 0
Failed TestCases     : 1
Time Taken           : 00:00:00
ReportPath           : file:///C:\Users\pbawa\Downloads\cognizant-intelligent-test-scripter-1.0-setup\cognizant-intelligent-test-scripter-1.0\Projects\DemoProject\Results\TestDesign\AccessibilityTesting\AccessibilityActions\26-Sep-2017 15-14-37\summary.html
-----------------------------------------------------

Please advice,

shantha laxmi kumar

unread,
Sep 28, 2017, 2:37:06 AM9/28/17
to Cognizant Intelligent Test Scripter
Hi Prabhjot Singh Bawa,

Please mention your Firefox browser version and gecko driver version used.

Madhan Raj

unread,
Sep 28, 2017, 5:46:56 AM9/28/17
to Cognizant Intelligent Test Scripter
Prabhjot You can go through this GitHub issue as well



Reply all
Reply to author
Forward
0 new messages