Unable to find an Element using Xpath in IOS Appium1.6.4 Desktop


#1

Tried with both below steps but getting same error as unable to find an element.

dr.findElement(By.xpath("//XCUIElementTypeApplication[@name=‘SWOO’]/XCUIElementTypeWindow[1]/XCUIElementTypeOther/XCUIElementTypeOther/XCUIElementTypeOther/XCUIElementTypeOther/XCUIElementTypeOther/XCUIElementTypeOther/XCUIElementTypeOther/XCUIElementTypeTable/XCUIElementTypeCell[1]")).click();

dr.findElement(By.xpath("//*[@id=‘root’]/div/div[2]/div[1]/div[3]/div/ul/li/ul/li[1]/ul/li/ul/li[2]/ul/li/ul/li/ul/li/ul/li/ul/li/ul/li[2]/ul/li[1]/a/span/span/b")).click();

Is there any problem with Appium Desktop to locate element using Xpath ? I have updated version with the latest release of its beta verison.


#2

Did you solve this? I am facing same problem!


#3

I am also facing this issue. Appium version used 1.10.1. & 1.9.1…

Did you find any solution?