org.openqa.selenium.NoSuchElementException: Cann't locate an element by this strategy: By.xpath: //UIAApplication[1]/UIAWindow[1]/UIATableView[2]/UIATableCell[1]/UIATextField[1]/UIATextField[1] For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html Build info: version: '2.43.1', revision: '5163bceef1bc36d43f3dc0b83c88998168a363a0', time: '2014-09-10 09:43:55' System info: host: 'Adityas-Mac-mini.local', ip: '192.168.0.2', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.11.3', java.version: '1.7.0_79' Driver info: driver.version: unknown

GitHub | karthikthinkclear | 1 year ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Appium unable to detect static textfield through xpath

    GitHub | 1 year ago | karthikthinkclear
    org.openqa.selenium.NoSuchElementException: Cann't locate an element by this strategy: By.xpath: //UIAApplication[1]/UIAWindow[1]/UIATableView[2]/UIATableCell[1]/UIATextField[1]/UIATextField[1] For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html Build info: version: '2.43.1', revision: '5163bceef1bc36d43f3dc0b83c88998168a363a0', time: '2014-09-10 09:43:55' System info: host: 'Adityas-Mac-mini.local', ip: '192.168.0.2', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.11.3', java.version: '1.7.0_79' Driver info: driver.version: unknown
  2. 0

    Tests fails if in method with yandex.allure annotaion @Step was thrown exception

    Stack Overflow | 5 months ago | vitekes
    org.openqa.selenium.NoSuchElementException: Can't locate an element by this strategy: Locator map: - native content: "By.xpath: //*[@resource-id='ru.tfw_mob.devtest:id/menu_overflow']" - html content: "by id or name "mainMenuBtn"" For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html Build info: version: '2.53.1', revision: 'a36b8b1cd5757287168e54b817830adce9b0158d', time: '2016-06-30 19:26:09' System info: host: 'vitekes', ip: '192.168.200.1', os.name: 'Windows 10', os.arch: 'x86', os.version: '10.0', java.version: '1.8.0_102' Driver info: driver.version: unknown
  3. 0

    FluentWait prints a lot of warning stack traces for ignored exception in the console when I upgrade Selenium from 3.0.1 to 3.1.0

    Stack Overflow | 4 weeks ago | Alexander Arendar
    org.openqa.selenium.NoSuchElementException: Cannot locate an element using By.xpath: //a[text()='Log out'] For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html Build info: version: '3.1.0', revision: 'b94c902', time: '2017-02-16 12:21:31 -0800' System info: host: 'POSITRON', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.4.0-66-generic', java.version: '1.8.0_121' Driver info: driver.version: unknown
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Facing problem while switching from Native to WebView in appium

    GitHub | 3 months ago | ankitgupta0304
    org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@class='address-section']//p[contains(text(),'blastandroid')]"} (Session info: chrome=55.0.2883.91) (Driver info: chromedriver=2.25.426935 (820a95b0b81d33e42712f9198c215f703412e1a1),platform=Mac OS X 10.11.3 x86_64) (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 349 milliseconds For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html Build info: version: '2.52.0', revision: '4c2593cfc3689a7fcd7be52549167e5ccc93ad28', time: '2016-02-11 11:22:43' System info: host: 'AnkitGupta04.local', ip: '10.20.86.78', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.11.3', java.version: '1.8.0_101' Driver info: io.appium.java_client.android.AndroidDriver Capabilities [{appPackage=com.xxx.main, app=/Users/ankit.gupta04/Documents/Automation/xxx-ios-automation/TestSnapdealAutomation/app/xxx-universal-debug6.2.5.apk, networkConnectionEnabled=true, warnings={}, databaseEnabled=false, deviceName=fb04e45f, platform=LINUX, deviceUDID=fb04e45f, appActivity=com.xxx.ui.material.activity.MaterialMainActivity, desired={appPackage=com.xxx.main, app=/Users/ankit.gupta04/Documents/Automation/xxx-ios-automation/TestxxxAutomation/app/Snapdeal-universal-debug6.2.5.apk, appActivity=com.xxx.ui.material.activity.MaterialMainActivity, newCommandTimeout=60000, platformVersion=5.1.5, browserName=, platformName=Android, udid=fb04e45f, deviceName=MI}, newCommandTimeout=60000, platformVersion=5.0.2, webStorageEnabled=false, locationContextEnabled=false, takesScreenshot=true, browserName=, javascriptEnabled=true, platformName=Android, udid=fb04e45f}] Session ID: dc49fb82-611b-4a61-95dc-e1231815c1f5 *** Element info: {Using=xpath, value=//div[@class='address-section']//p[contains(text(),'blastandroid')]}
  6. 0

    issuehub.io

    issuehub.io | 11 months ago
    driver.version: unknown

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.openqa.selenium.NoSuchElementException

      Cann't locate an element by this strategy: By.xpath: //UIAApplication[1]/UIAWindow[1]/UIATableView[2]/UIATableCell[1]/UIATextField[1]/UIATextField[1] For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html Build info: version: '2.43.1', revision: '5163bceef1bc36d43f3dc0b83c88998168a363a0', time: '2014-09-10 09:43:55' System info: host: 'Adityas-Mac-mini.local', ip: '192.168.0.2', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.11.3', java.version: '1.7.0_79' Driver info: driver.version: unknown

      at io.appium.java_client.pagefactory.AppiumElementLocator.findElement()
    2. java-client
      MobileElement$$EnhancerByCGLIB$$6abeadfd.getAttribute
      1. io.appium.java_client.pagefactory.AppiumElementLocator.findElement(AppiumElementLocator.java:132)
      2. io.appium.java_client.pagefactory.ElementInterceptor.intercept(ElementInterceptor.java:26)
      3. io.appium.java_client.MobileElement$$EnhancerByCGLIB$$6abeadfd.getAttribute(<generated>)
      3 frames
    3. com.appium.screens
      FriendsAndFamily.addFriendAndFamily
      1. com.appium.screens.settings.FriendsAndFamily.addFriendAndFamily(FriendsAndFamily.java:44)
      1 frame
    4. com.appium.settingstestcases
      FriendsAndFamilyTest.AddFriendsFamily
      1. com.appium.settingstestcases.FriendsAndFamilyTest.AddFriendsFamily(FriendsAndFamilyTest.java:39)
      1 frame
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    6. TestNG
      RemoteTestNG.main
      1. org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
      2. org.testng.internal.Invoker.invokeMethod(Invoker.java:702)
      3. org.testng.internal.Invoker.invokeTestMethod(Invoker.java:894)
      4. org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1219)
      5. org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
      6. org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
      7. org.testng.TestRunner.privateRun(TestRunner.java:768)
      8. org.testng.TestRunner.run(TestRunner.java:617)
      9. org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
      10. org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
      11. org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
      12. org.testng.SuiteRunner.run(SuiteRunner.java:240)
      13. org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53)
      14. org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:87)
      15. org.testng.TestNG.runSuitesSequentially(TestNG.java:1188)
      16. org.testng.TestNG.runSuitesLocally(TestNG.java:1113)
      17. org.testng.TestNG.run(TestNG.java:1025)
      18. org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:115)
      19. org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:207)
      20. org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:178)
      20 frames