Download as rtf, pdf, or txt
Download as rtf, pdf, or txt
You are on page 1of 4

Starting ChromeDriver 77.0.3865.

40 (f484704e052e0b556f8030b65b953dce96503217-
refs/branch-heads/3865@{#442}) on port 37317

Only local connections are allowed.

Please protect ports used by ChromeDriver and related test frameworks to


prevent access by malicious code.

[1572329984.301][WARNING]: Timed out connecting to Chrome, retrying...

Oct 29, 2019 11:49:46 AM org.openqa.selenium.remote.ProtocolHandshake


createSession

INFO: Detected dialect: W3C

[1572329988.451][WARNING]: Timed out connecting to Chrome, retrying...

FAILED CONFIGURATION: @AfterMethod AddUserTrainerTest

org.openqa.selenium.NoSuchElementException: no such element: Unable to locate


element: {"method":"xpath","selector":"//div[contains(text(),'Trainer')]"}

(Session info: chrome=77.0.3865.120)

For documentation on this error, please visit:


https://www.seleniumhq.org/exceptions/no_such_element.html

Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-


14T08:17:03'

System info: host: 'DESKTOP-93OHUQJ', ip: '192.168.225.170', os.name: 'Windows


10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_221'

Driver info: org.openqa.selenium.chrome.ChromeDriver

Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion:


77.0.3865.120, chrome: {chromedriverVersion: 77.0.3865.40 (f484704e052e0...,
userDataDir: C:\Users\MADHUR~1\AppData\L...}, goog:chromeOptions:
{debuggerAddress: localhost:49483}, javascriptEnabled: true,
networkConnectionEnabled: false, pageLoadStrategy: normal, platform: XP,
platformName: XP, proxy: Proxy(), setWindowRect: true,
strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000,
script: 30000}, unhandledPromptBehavior: dismiss and notify}

Session ID: 0efb19d22f78e9e9d181e49015f6d159

*** Element info: {Using=xpath, value=//div[contains(text(),'Trainer')]}

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.http.W3CHttpResponseCodec.createException(W3CHttpRe
sponseCodec.java:187)

at
org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCod
ec.java:122)

at
org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCod
ec.java:49)

at
org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.jav
a:158)

at
org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommand
Executor.java:83)

at
org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)

at
org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:32
3)

at
org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.
java:428)

at org.openqa.selenium.By$ByXPath.findElement(By.java:353)

at
org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:31
5)

at
org.openqa.selenium.support.pagefactory.DefaultElementLocator.findElement(Defa
ultElementLocator.java:69)

at
org.openqa.selenium.support.pagefactory.internal.LocatingElementHandler.invoke
(LocatingElementHandler.java:38)

at com.sun.proxy.$Proxy12.clear(Unknown Source)

at com.training.pom.AddUserELearnPOM.AddUser(AddUserELearnPOM.java:88)
at
com.training.sanity.tests.ELTC_020_AddNewUser.AddUserTrainerTest(ELTC_020_AddN
ewUser.java:74)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at
org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper
.java:108)

at
org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:523)

at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:224)

at org.testng.internal.Invoker.invokeMethod(Invoker.java:723)

at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)

at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)

at
org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:1
26)

at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)

at org.testng.TestRunner.privateRun(TestRunner.java:744)

at org.testng.TestRunner.run(TestRunner.java:602)

at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)

at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)

at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)

at org.testng.SuiteRunner.run(SuiteRunner.java:289)

at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)

at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)

at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)

at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)

at org.testng.TestNG.runSuites(TestNG.java:1144)
at org.testng.TestNG.run(TestNG.java:1115)

at
org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:132)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:236)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:81)

SKIPPED CONFIGURATION: @AfterTest UserListTest

PASSED: validLoginTest

===============================================

Default test

Tests run: 1, Failures: 0, Skips: 0

Configuration Failures: 1, Skips: 1

===============================================

===============================================

Default suite

Total tests run: 1, Failures: 0, Skips: 0

Configuration Failures: 1, Skips: 1

===============================================

You might also like