Hi All,
I have started my first automation project using Cucumber/Selenium 3.4 with Appium 1.6.5 and iOS version 10.2.
I am able to launch the iOS app perfectly, but I am unable to interact with any elements.
for example, when the app launches, there a table with multiple values on the app page.
the Element is identified as
I have tried
driver.findElement(By.xpath("//XCUIElementTypeStaticText[@name=‘City’]"))
Didnt work
I tried with table head
and its xpath is
//XCUIElementTypeApplication[@name=“CityNames”]/XCUIElementTypeWindow[1]/XCUIElementTypeOther/XCUIElementTypeOther/XCUIElementTypeOther/XCUIElementTypeOther/XCUIElementTypeTable
driver.findElements(By.xpath("//XCUIElementTypeStaticText[@name=‘CityNames’]"))
to get all the elements of the table.
However i get the error
NoSuchSessionExeption
And the message is
A session is either terminated or not started