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 | 10 months 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 | 10 months 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 | 3 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

    Facing problem while switching from Native to WebView in appium

    GitHub | 1 month 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')]}
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    issuehub.io

    issuehub.io | 9 months ago
    driver.version: unknown
  6. 0

    Porting Selenium test from Firefox driver to HTMLUnit driver

    Software Quality Assurance & Testing | 1 year ago | user16037
    org.openqa.selenium.NoSuchElementException: Unable to locate a node using .//*[@id='tsf']/div[2]/div[3]/center/input[1] For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html Build info: version: '2.48.2', revision: '41bccdd', time: '2015-10-09 19:55:52' System info: host: 'WL309476', ip: '10.83.16.25', os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.8.0_66' Driver info: driver.version: HtmlUnitDriver at org.openqa.selenium.htmlunit.HtmlUnitDriver.findElementByXPath (HtmlUnitDriver.java:1161)

    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