Thanks Damien, I will check xpath. On Wed, Aug 5, 2015 at 10:47 PM, Corneau Damien <[email protected]> wrote:
> Check that the xpath selector exist. Xpath generated by tools are pretty > unreliable. Maybe new elements broke it > On Aug 5, 2015 11:36 AM, "madhuka udantha" <[email protected]> > wrote: > > > T E S T S > > ------------------------------------------------------- > > Running org.apache.zeppelin.ZeppelinIT > > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 59.655 > > sec <<< FAILURE! - in org.apache.zeppelin.ZeppelinIT > > testAngularDisplay(org.apache.zeppelin.ZeppelinIT) Time elapsed: > > 59.491 sec <<< ERROR! > > org.openqa.selenium.NoSuchElementException: Unable to locate element: > > > > > {"method":"xpath","selector":"//div[@ng-controller=\"ParagraphCtrl\"][1]//div[@id=\"angularTestButton\"]"} > > Command duration or timeout: 8 milliseconds > > For documentation on this error, please visit: > > http://seleniumhq.org/exceptions/no_such_element.html > > Build info: version: '2.44.0', revision: > > '76d78cf323ce037c5f92db6c1bba601c2ac43ad8', time: '2014-10-23 > > 13:11:40' > > System info: host: > > 'testing-worker-linux-docker-d09a0b39-3217-linux-3', ip: '172.17.4.4', > > os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-40-generic', > > java.version: '1.7.0_76' > > Session ID: 072086bc-b235-4aa4-87a0-1c5d1ba5c3e8 > > Driver info: org.openqa.selenium.firefox.FirefoxDriver > > Capabilities [{platform=LINUX, acceptSslCerts=true, > > javascriptEnabled=true, cssSelectorsEnabled=true, > > databaseEnabled=true, browserName=firefox, handlesAlerts=true, > > nativeEvents=false, webStorageEnabled=true, rotatable=false, > > locationContextEnabled=true, applicationCacheEnabled=true, > > takesScreenshot=true, version=31.0}] > > at sun.reflect.GeneratedConstructorAccessor12.newInstance(Unknown > > Source) > > at > > > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) > > at > java.lang.reflect.Constructor.newInstance(Constructor.java:526) > > at > > > org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:204) > > at > > > org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:156) > > at > > > org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:599) > > at > > > org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:352) > > at > > > org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:449) > > at org.openqa.selenium.By$ByXPath.findElement(By.java:357) > > at > > > org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:344) > > at > > org.apache.zeppelin.ZeppelinIT.testAngularDisplay(ZeppelinIT.java:229) > > Caused by: org.openqa.selenium.NoSuchElementException: Unable to > > locate element: > > > > > {"method":"xpath","selector":"//div[@ng-controller=\"ParagraphCtrl\"][1]//div[@id=\"angularTestButton\"]"} > > For documentation on this error, please visit: > > http://seleniumhq.org/exceptions/no_such_element.html > > Build info: version: '2.44.0', revision: > > '76d78cf323ce037c5f92db6c1bba601c2ac43ad8', time: '2014-10-23 > > 13:11:40' > > System info: host: > > 'testing-worker-linux-docker-d09a0b39-3217-linux-3', ip: '172.17.4.4', > > os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-40-generic', > > java.version: '1.7.0_76' > > Driver info: driver.version: unknown > > at <anonymous > > > class>.FirefoxDriver.prototype.findElementInternal_(file:///tmp/anonymous4390479120005767177webdriver-profile/extensions/ > > [email protected]/components/driver-component.js:9641:133) > > at <anonymous > > > class>.FirefoxDriver.prototype.findElement(file:///tmp/anonymous4390479120005767177webdriver-profile/extensions/ > > [email protected]/components/driver-component.js:9650:3) > > at <anonymous > > > class>.DelayedCommand.prototype.executeInternal_/h(file:///tmp/anonymous4390479120005767177webdriver-profile/extensions/ > > [email protected]/components/command-processor.js:11635:16) > > at <anonymous > > > class>.DelayedCommand.prototype.executeInternal_(file:///tmp/anonymous4390479120005767177webdriver-profile/extensions/ > > [email protected]/components/command-processor.js:11640:7) > > at <anonymous > > > class>.DelayedCommand.prototype.execute/<(file:///tmp/anonymous4390479120005767177webdriver-profile/extensions/ > > [email protected]/components/command-processor.js:11582:5) > > > > > > Results : > > > > Tests in error: > > ZeppelinIT.testAngularDisplay:229 » NoSuchElement Unable to locate > > element: {"... > > > > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0 > > > > > > [1] https://s3.amazonaws.com/archive.travis-ci.org/jobs/74188795/log.txt > > > > -- > > Cheers, > > Madhuka Udantha > > http://madhukaudantha.blogspot.com > > > -- Cheers, Madhuka Udantha http://madhukaudantha.blogspot.com
